diff --git a/itests/src/test/resources/testconfiguration.properties b/itests/src/test/resources/testconfiguration.properties index 2918a6852c..e3eaf28bd0 100644 --- a/itests/src/test/resources/testconfiguration.properties +++ b/itests/src/test/resources/testconfiguration.properties @@ -412,6 +412,7 @@ minillap.query.files=acid_bucket_pruning.q,\ schemeAuthority.q,\ schemeAuthority2.q,\ temp_table_external.q,\ + temp_table_add_partition_with_location.q,\ table_nonprintable.q,\ llap_nullscan.q,\ rcfile_merge2.q,\ @@ -430,7 +431,9 @@ minillap.query.files=acid_bucket_pruning.q,\ llap_stats.q,\ multi_count_distinct_null.q,\ cttl.q,\ - vector_offset_limit.q + vector_offset_limit.q,\ + temp_table_add_part_with_loc.q,\ + temp_table_drop_partitions_filter4.q minillaplocal.query.files=\ bucket_num_reducers_acid.q,\ @@ -772,6 +775,7 @@ minillaplocal.query.files=\ sysdb.q,\ sysdb_schq.q,\ table_access_keys_stats.q,\ + temp_table_llap_partitioned.q,\ tez_bmj_schema_evolution.q,\ tez_dml.q,\ tez_dynpart_hashjoin_1.q,\ diff --git a/ql/src/test/queries/clientnegative/temp_table_addpart1.q b/ql/src/test/queries/clientnegative/temp_table_addpart1.q new file mode 100644 index 0000000000..d0afeb9f81 --- /dev/null +++ b/ql/src/test/queries/clientnegative/temp_table_addpart1.q @@ -0,0 +1,11 @@ + +create temporary table addpart1_temp (a int) partitioned by (b string, c string); + +alter table addpart1_temp add partition (b='f', c='s'); + +show partitions addpart1_temp; + +alter table addpart1_temp add partition (b='f', c=''); + +show prtitions addpart1_temp; + diff --git a/ql/src/test/queries/clientnegative/temp_table_alter_rename_partition_failure.q b/ql/src/test/queries/clientnegative/temp_table_alter_rename_partition_failure.q new file mode 100644 index 0000000000..a810ba6d69 --- /dev/null +++ b/ql/src/test/queries/clientnegative/temp_table_alter_rename_partition_failure.q @@ -0,0 +1,6 @@ +create temporary table alter_rename_partition_src_temp ( col1 string ) stored as textfile ; +load data local inpath '../../data/files/test.dat' overwrite into table alter_rename_partition_src_temp ; +create temporary table alter_rename_partition_temp ( col1 string ) partitioned by (pcol1 string , pcol2 string) stored as sequencefile; +insert overwrite table alter_rename_partition_temp partition (pCol1='old_part1', pcol2='old_part2') select col1 from alter_rename_partition_src_temp ; + +alter table alter_rename_partition_temp partition (pCol1='nonexist_part1', pcol2='nonexist_part2') rename to partition (pCol1='new_part1', pcol2='new_part2'); diff --git a/ql/src/test/queries/clientnegative/temp_table_alter_rename_partition_failure2.q b/ql/src/test/queries/clientnegative/temp_table_alter_rename_partition_failure2.q new file mode 100644 index 0000000000..716458ac1b --- /dev/null +++ b/ql/src/test/queries/clientnegative/temp_table_alter_rename_partition_failure2.q @@ -0,0 +1,7 @@ +create temporary table alter_rename_partition_src_temp ( col1 string ) stored as textfile ; +load data local inpath '../../data/files/test.dat' overwrite into table alter_rename_partition_src_temp ; +create temporary table alter_rename_partition_temp ( col1 string ) partitioned by (pcol1 string , pcol2 string) stored as sequencefile; +insert overwrite table alter_rename_partition_temp partition (pcol1='old_part1:', pcol2='old_part2:') select col1 from alter_rename_partition_src_temp ; +alter table alter_rename_partition_temp add partition(pcol1='new_part1:', pcol2='new_part2:'); + +alter table alter_rename_partition_temp partition (pcol1='old_part1:', pcol2='old_part2:') rename to partition (pcol1='new_part1:', pcol2='new_part2:'); diff --git a/ql/src/test/queries/clientnegative/temp_table_alter_rename_partition_failure3.q b/ql/src/test/queries/clientnegative/temp_table_alter_rename_partition_failure3.q new file mode 100644 index 0000000000..407044f3ec --- /dev/null +++ b/ql/src/test/queries/clientnegative/temp_table_alter_rename_partition_failure3.q @@ -0,0 +1,6 @@ +create temporary table alter_rename_partition_src_temp ( col1 string ) stored as textfile ; +load data local inpath '../../data/files/test.dat' overwrite into table alter_rename_partition_src_temp ; +create temporary table alter_rename_partition_temp ( col1 string ) partitioned by (pcol1 string , pcol2 string) stored as sequencefile; +insert overwrite table alter_rename_partition_temp partition (pCol1='old_part1:', pcol2='old_part2:') select col1 from alter_rename_partition_src_temp ; + +alter table alter_rename_partition_temp partition (pCol1='old_part1:', pcol2='old_part2:') rename to partition (pCol1='old_part1:', pcol2='old_part2:', pcol3='old_part3:'); \ No newline at end of file diff --git a/ql/src/test/queries/clientnegative/temp_table_drop_partition_failure.q b/ql/src/test/queries/clientnegative/temp_table_drop_partition_failure.q new file mode 100644 index 0000000000..97715251b3 --- /dev/null +++ b/ql/src/test/queries/clientnegative/temp_table_drop_partition_failure.q @@ -0,0 +1,11 @@ +create temporary table mp (a string) partitioned by (b string, c string); + +alter table mp add partition (b='1', c='1'); +alter table mp add partition (b='1', c='2'); +alter table mp add partition (b='2', c='2'); + +show partitions mp; + +set hive.exec.drop.ignorenonexistent=false; +-- Can't use DROP PARTITION if the partition doesn't exist and IF EXISTS isn't specified +alter table mp drop partition (b='3'); diff --git a/ql/src/test/queries/clientnegative/temp_table_drop_partition_filter_failure.q b/ql/src/test/queries/clientnegative/temp_table_drop_partition_filter_failure.q new file mode 100644 index 0000000000..8306f01b5b --- /dev/null +++ b/ql/src/test/queries/clientnegative/temp_table_drop_partition_filter_failure.q @@ -0,0 +1,8 @@ +create temporary table ptestfilter1 (a string, b int) partitioned by (c string, d string); + +alter table ptestfilter1 add partition (c='US', d=1); +show partitions ptestfilter1; + +set hive.exec.drop.ignorenonexistent=false; +alter table ptestfilter1 drop partition (c='US', d<1); + diff --git a/ql/src/test/queries/clientnegative/temp_table_exchange_partitions.q b/ql/src/test/queries/clientnegative/temp_table_exchange_partitions.q new file mode 100644 index 0000000000..2f40a026b0 --- /dev/null +++ b/ql/src/test/queries/clientnegative/temp_table_exchange_partitions.q @@ -0,0 +1,15 @@ +create database ex1; +create database ex2; + +CREATE TEMPORARY TABLE ex1.exchange_part_test1 (f1 string) PARTITIONED BY (ds STRING); +CREATE TABLE ex2.exchange_part_test2 (f1 string) PARTITIONED BY (ds STRING); +SHOW PARTITIONS ex1.exchange_part_test1; +SHOW PARTITIONS ex2.exchange_part_test2; + +ALTER TABLE ex2.exchange_part_test2 ADD PARTITION (ds='2013-04-05'); +SHOW PARTITIONS ex1.exchange_part_test1; +SHOW PARTITIONS ex2.exchange_part_test2; + +ALTER TABLE ex1.exchange_part_test1 EXCHANGE PARTITION (ds='2013-04-05') WITH TABLE ex2.exchange_part_test2; +SHOW PARTITIONS ex1.exchange_part_test1; +SHOW PARTITIONS ex2.exchange_part_test2; \ No newline at end of file diff --git a/ql/src/test/queries/clientpositive/temp_table_add_part_exist.q b/ql/src/test/queries/clientpositive/temp_table_add_part_exist.q new file mode 100644 index 0000000000..0f81424460 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_add_part_exist.q @@ -0,0 +1,37 @@ +CREATE TEMPORARY TABLE add_part_test (key STRING, value STRING) PARTITIONED BY (ds STRING); +SHOW PARTITIONS add_part_test; + +ALTER TABLE add_part_test ADD PARTITION (ds='2010-01-01'); +SHOW PARTITIONS add_part_test; + +ALTER TABLE add_part_test ADD IF NOT EXISTS PARTITION (ds='2010-01-01'); +SHOW PARTITIONS add_part_test; + +ALTER TABLE add_part_test ADD IF NOT EXISTS PARTITION (ds='2010-01-02'); +SHOW PARTITIONS add_part_test; + +ALTER TABLE add_part_test ADD IF NOT EXISTS PARTITION (ds='2010-01-01') PARTITION (ds='2010-01-02') PARTITION (ds='2010-01-03'); +SHOW PARTITIONS add_part_test; + +DROP TABLE add_part_test; + +-- Test ALTER TABLE ADD PARTITION in non-default Database +CREATE DATABASE add_part_test_db; + +CREATE TEMPORARY TABLE add_part_test_db.add_part_test (key STRING, value STRING) PARTITIONED BY (ds STRING); +SHOW PARTITIONS add_part_test_db.add_part_test; + +ALTER TABLE add_part_test_db.add_part_test ADD PARTITION (ds='2010-01-01'); +SHOW PARTITIONS add_part_test_db.add_part_test; + +ALTER TABLE add_part_test_db.add_part_test ADD IF NOT EXISTS PARTITION (ds='2010-01-01'); +SHOW PARTITIONS add_part_test_db.add_part_test; + +ALTER TABLE add_part_test_db.add_part_test ADD IF NOT EXISTS PARTITION (ds='2010-01-02'); +SHOW PARTITIONS add_part_test_db.add_part_test; + +ALTER TABLE add_part_test_db.add_part_test ADD IF NOT EXISTS PARTITION (ds='2010-01-01') PARTITION (ds='2010-01-02') PARTITION (ds='2010-01-03'); +SHOW PARTITIONS add_part_test_db.add_part_test; + +DROP TABLE add_part_test_db.add_part_test; +DROP DATABASE add_part_test_db; diff --git a/ql/src/test/queries/clientpositive/temp_table_add_part_multiple.q b/ql/src/test/queries/clientpositive/temp_table_add_part_multiple.q new file mode 100644 index 0000000000..db8e517557 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_add_part_multiple.q @@ -0,0 +1,26 @@ +--! qt:dataset:src +set hive.mapred.mode=nonstrict; +-- HIVE-5122 locations for 2nd, 3rd... partition are ignored + +CREATE TEMPORARY TABLE add_part_test_n1_temp (key STRING, value STRING) PARTITIONED BY (ds STRING); + +explain +ALTER TABLE add_part_test_n1_temp ADD IF NOT EXISTS +PARTITION (ds='2010-01-01') location 'A' +PARTITION (ds='2010-02-01') location 'B' +PARTITION (ds='2010-03-01') +PARTITION (ds='2010-04-01') location 'C'; + +ALTER TABLE add_part_test_n1_temp ADD IF NOT EXISTS +PARTITION (ds='2010-01-01') location 'A' +PARTITION (ds='2010-02-01') location 'B' +PARTITION (ds='2010-03-01') +PARTITION (ds='2010-04-01') location 'C'; + +from src TABLESAMPLE (1 ROWS) +insert into table add_part_test_n1_temp PARTITION (ds='2010-01-01') select 100,100 +insert into table add_part_test_n1_temp PARTITION (ds='2010-02-01') select 200,200 +insert into table add_part_test_n1_temp PARTITION (ds='2010-03-01') select 400,300 +insert into table add_part_test_n1_temp PARTITION (ds='2010-04-01') select 500,400; + +select * from add_part_test_n1_temp; \ No newline at end of file diff --git a/ql/src/test/queries/clientpositive/temp_table_add_part_with_loc.q b/ql/src/test/queries/clientpositive/temp_table_add_part_with_loc.q new file mode 100644 index 0000000000..8f84efc6a3 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_add_part_with_loc.q @@ -0,0 +1,16 @@ +set hive.fileformat.check=true; + +create temporary table supply_temp (id int, part string, quantity int) partitioned by (day int) +stored as orc +location 'hdfs:///tmp/a1' +; + +explain alter table supply_temp add partition (day=20110102) location +'hdfs:///tmp/a2'; + +alter table supply_temp add partition (day=20110103) location +'hdfs:///tmp/a3'; + +show partitions supply_temp; + +drop table supply_temp; \ No newline at end of file diff --git a/ql/src/test/queries/clientpositive/temp_table_alter_partition_change_col.q b/ql/src/test/queries/clientpositive/temp_table_alter_partition_change_col.q new file mode 100644 index 0000000000..be50f84346 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_alter_partition_change_col.q @@ -0,0 +1,251 @@ +set hive.metastore.disallow.incompatible.col.type.changes=false; +SET hive.exec.dynamic.partition = true; +SET hive.exec.dynamic.partition.mode = nonstrict; + +-- SORT_QUERY_RESULTS + +create temporary table alter_partition_change_col0 (c1 string, c2 string); +load data local inpath '../../data/files/dec.txt' overwrite into table alter_partition_change_col0; + +create temporary table alter_partition_change_col1 (c1 string, c2 string) partitioned by (p1 string comment 'Column p1', p2 string comment 'Column p2'); + +insert overwrite table alter_partition_change_col1 partition (p1, p2) + select c1, c2, 'abc', '123' from alter_partition_change_col0 + union all + select c1, c2, cast(null as string), '123' from alter_partition_change_col0; + +show partitions alter_partition_change_col1; +select * from alter_partition_change_col1 where p1='abc'; +select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__'; +select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__' or lower(p1)='a'; + +-- Change c2 to decimal(10,0) +alter table alter_partition_change_col1 change c2 c2 decimal(10,0); +alter table alter_partition_change_col1 partition (p1='abc', p2='123') change c2 c2 decimal(10,0); +alter table alter_partition_change_col1 partition (p1='__HIVE_DEFAULT_PARTITION__', p2='123') change c2 c2 decimal(10,0); +select * from alter_partition_change_col1 where p1='abc'; +select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__'; + +-- Change the column type at the table level. Table-level describe shows the new type, but the existing partition does not. +alter table alter_partition_change_col1 change c2 c2 decimal(14,4); +describe alter_partition_change_col1; +describe alter_partition_change_col1 partition (p1='abc', p2='123'); +select * from alter_partition_change_col1 where p1='abc'; +select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__'; + +-- change the comment on a partition column without changing type or renaming it +explain alter table alter_partition_change_col1 partition column (p1 string comment 'Changed comment for p1'); +alter table alter_partition_change_col1 partition column (p1 string comment 'Changed comment for p1'); +describe alter_partition_change_col1; + +-- now change the column type of the existing partition +alter table alter_partition_change_col1 partition (p1='abc', p2='123') change c2 c2 decimal(14,4); +describe alter_partition_change_col1 partition (p1='abc', p2='123'); +select * from alter_partition_change_col1 where p1='abc'; +select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__'; + +-- change column for default partition value +alter table alter_partition_change_col1 partition (p1='__HIVE_DEFAULT_PARTITION__', p2='123') change c2 c2 decimal(14,4); +describe alter_partition_change_col1 partition (p1='__HIVE_DEFAULT_PARTITION__', p2='123'); +select * from alter_partition_change_col1 where p1='abc'; +select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__'; + +-- Try out replace columns +alter table alter_partition_change_col1 partition (p1='abc', p2='123') replace columns (c1 string); +describe alter_partition_change_col1; +describe alter_partition_change_col1 partition (p1='abc', p2='123'); +select * from alter_partition_change_col1 where p1='abc'; +select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__'; + +alter table alter_partition_change_col1 replace columns (c1 string); +describe alter_partition_change_col1; +select * from alter_partition_change_col1 where p1='abc'; +select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__'; + +-- Try add columns +alter table alter_partition_change_col1 add columns (c2 decimal(14,4)); +describe alter_partition_change_col1; +describe alter_partition_change_col1 partition (p1='abc', p2='123'); +select * from alter_partition_change_col1 where p1='abc'; +select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__'; + +alter table alter_partition_change_col1 partition (p1='abc', p2='123') add columns (c2 decimal(14,4)); +describe alter_partition_change_col1 partition (p1='abc', p2='123'); +select * from alter_partition_change_col1 where p1='abc'; +select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__'; + +-- Try changing column for all partitions at once +alter table alter_partition_change_col1 partition (p1, p2='123') change column c2 c2 decimal(10,0); +describe alter_partition_change_col1 partition (p1='abc', p2='123'); +describe alter_partition_change_col1 partition (p1='__HIVE_DEFAULT_PARTITION__', p2='123'); +select * from alter_partition_change_col1 where p1='abc'; +select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__'; + +CREATE temporary TABLE `alterPartTbl`( + col_1col_1col_1col_1col_1col_11 string, + col_1col_1col_1col_1col_1col_12 string, + col_1col_1col_1col_1col_1col_13 string, + col_1col_1col_1col_1col_1col_14 string, + col_1col_1col_1col_1col_1col_15 string, + col_1col_1col_1col_1col_1col_16 string, + col_1col_1col_1col_1col_1col_17 string, + col_1col_1col_1col_1col_1col_18 string, + col_1col_1col_1col_1col_1col_19 string, + col_1col_1col_1col_1col_1col_110 string, + col_1col_1col_1col_1col_1col_111 string, + col_1col_1col_1col_1col_1col_112 string, + col_1col_1col_1col_1col_1col_113 string, + col_1col_1col_1col_1col_1col_114 string, + col_1col_1col_1col_1col_1col_115 string, + col_1col_1col_1col_1col_1col_116 string, + col_1col_1col_1col_1col_1col_117 string, + col_1col_1col_1col_1col_1col_118 string, + col_1col_1col_1col_1col_1col_119 string, + col_1col_1col_1col_1col_1col_120 string, + col_1col_1col_1col_1col_1col_121 string, + col_1col_1col_1col_1col_1col_122 string, + col_1col_1col_1col_1col_1col_123 string, + col_1col_1col_1col_1col_1col_124 string, + col_1col_1col_1col_1col_1col_125 string, + col_1col_1col_1col_1col_1col_126 string, + col_1col_1col_1col_1col_1col_127 string, + col_1col_1col_1col_1col_1col_128 string, + col_1col_1col_1col_1col_1col_129 string, + col_1col_1col_1col_1col_1col_130 string, + col_1col_1col_1col_1col_1col_131 string, + col_1col_1col_1col_1col_1col_132 string, + col_1col_1col_1col_1col_1col_133 string, + col_1col_1col_1col_1col_1col_134 string, + col_1col_1col_1col_1col_1col_135 string, + col_1col_1col_1col_1col_1col_136 string, + col_1col_1col_1col_1col_1col_137 string, + col_1col_1col_1col_1col_1col_138 string, + col_1col_1col_1col_1col_1col_139 string, + col_1col_1col_1col_1col_1col_140 string, + col_1col_1col_1col_1col_1col_141 string, + col_1col_1col_1col_1col_1col_142 string, + col_1col_1col_1col_1col_1col_143 string, + col_1col_1col_1col_1col_1col_144 string, + col_1col_1col_1col_1col_1col_145 string, + col_1col_1col_1col_1col_1col_146 string, + col_1col_1col_1col_1col_1col_147 string, + col_1col_1col_1col_1col_1col_148 string, + col_1col_1col_1col_1col_1col_149 string, + col_1col_1col_1col_1col_1col_150 string, + col_1col_1col_1col_1col_1col_151 string, + col_1col_1col_1col_1col_1col_152 string, + col_1col_1col_1col_1col_1col_153 string, + col_1col_1col_1col_1col_1col_154 string, + col_1col_1col_1col_1col_1col_155 string, + col_1col_1col_1col_1col_1col_156 string, + col_1col_1col_1col_1col_1col_157 string, + col_1col_1col_1col_1col_1col_158 string, + col_1col_1col_1col_1col_1col_159 string, + col_1col_1col_1col_1col_1col_160 string, + col_1col_1col_1col_1col_1col_161 string, + col_1col_1col_1col_1col_1col_162 string, + col_1col_1col_1col_1col_1col_163 string, + col_1col_1col_1col_1col_1col_164 string, + col_1col_1col_1col_1col_1col_165 string, + col_1col_1col_1col_1col_1col_166 string, + col_1col_1col_1col_1col_1col_167 string, + col_1col_1col_1col_1col_1col_168 string, + col_1col_1col_1col_1col_1col_169 string, + col_1col_1col_1col_1col_1col_170 string, + col_1col_1col_1col_1col_1col_171 string, + col_1col_1col_1col_1col_1col_172 string, + col_1col_1col_1col_1col_1col_173 string, + col_1col_1col_1col_1col_1col_174 string, + col_1col_1col_1col_1col_1col_175 string, + col_1col_1col_1col_1col_1col_176 string, + col_1col_1col_1col_1col_1col_177 string, + col_1col_1col_1col_1col_1col_178 string, + col_1col_1col_1col_1col_1col_179 string, + col_1col_1col_1col_1col_1col_180 string, + col_1col_1col_1col_1col_1col_181 string, + col_1col_1col_1col_1col_1col_182 string, + col_1col_1col_1col_1col_1col_183 string, + col_1col_1col_1col_1col_1col_184 string, + col_1col_1col_1col_1col_1col_185 string, + col_1col_1col_1col_1col_1col_186 string, + col_1col_1col_1col_1col_1col_187 string, + col_1col_1col_1col_1col_1col_188 string, + col_1col_1col_1col_1col_1col_189 string, + col_1col_1col_1col_1col_1col_190 string, + col_1col_1col_1col_1col_1col_191 string, + col_1col_1col_1col_1col_1col_192 string, + col_1col_1col_1col_1col_1col_193 string, + col_1col_1col_1col_1col_1col_194 string, + col_1col_1col_1col_1col_1col_195 string, + col_1col_1col_1col_1col_1col_196 string, + col_1col_1col_1col_1col_1col_197 string, + col_1col_1col_1col_1col_1col_198 string, + col_1col_1col_1col_1col_1col_199 string, + col_1col_1col_1col_1col_1col_1100 string, + col_1col_1col_1col_1col_1col_1101 string, + col_1col_1col_1col_1col_1col_1102 string, + col_1col_1col_1col_1col_1col_1103 string, + col_1col_1col_1col_1col_1col_1104 string, + col_1col_1col_1col_1col_1col_1105 string, + col_1col_1col_1col_1col_1col_1106 string, + col_1col_1col_1col_1col_1col_1107 string, + col_1col_1col_1col_1col_1col_1108 string, + col_1col_1col_1col_1col_1col_1109 string, + col_1col_1col_1col_1col_1col_1110 string, + col_1col_1col_1col_1col_1col_1111 string, + col_1col_1col_1col_1col_1col_1112 string, + col_1col_1col_1col_1col_1col_1113 string, + col_1col_1col_1col_1col_1col_1114 string, + col_1col_1col_1col_1col_1col_1115 string, + col_1col_1col_1col_1col_1col_1116 string, + col_1col_1col_1col_1col_1col_1117 string, + col_1col_1col_1col_1col_1col_1118 string, + col_1col_1col_1col_1col_1col_1119 string, + col_1col_1col_1col_1col_1col_1120 string, + col_1col_1col_1col_1col_1col_1121 string, + col_1col_1col_1col_1col_1col_1122 string, + col_1col_1col_1col_1col_1col_1123 string, + col_1col_1col_1col_1col_1col_1124 string, + col_1col_1col_1col_1col_1col_1125 string, + col_1col_1col_1col_1col_1col_1126 string, + col_1col_1col_1col_1col_1col_1127 string, + col_1col_1col_1col_1col_1col_1128 string, + col_1col_1col_1col_1col_1col_1129 string, + col_1col_1col_1col_1col_1col_1130 string, + col_1col_1col_1col_1col_1col_1131 string, + col_1col_1col_1col_1col_1col_1132 string, + col_1col_1col_1col_1col_1col_1133 string, + col_1col_1col_1col_1col_1col_1134 string, + col_1col_1col_1col_1col_1col_1135 string, + col_1col_1col_1col_1col_1col_1136 string, + col_1col_1col_1col_1col_1col_1137 string, + col_1col_1col_1col_1col_1col_1138 string, + col_1col_1col_1col_1col_1col_1139 string, + col_1col_1col_1col_1col_1col_1140 string, + col_1col_1col_1col_1col_1col_1141 string, + col_1col_1col_1col_1col_1col_1142 string, + col_1col_1col_1col_1col_1col_1143 string, + col_1col_1col_1col_1col_1col_1144 string, + col_1col_1col_1col_1col_1col_1145 string, + col_1col_1col_1col_1col_1col_1146 string, + col_1col_1col_1col_1col_1col_1147 string, + col_1col_1col_1col_1col_1col_1148 string, + col_1col_1col_1col_1col_1col_1149 string, + col_1col_1col_1col_1col_1col_1150 string, + col_1col_1col_1col_1col_1col_1151 string, + col_1col_1col_1col_1col_1col_1152 string, + col_1col_1col_1col_1col_1col_1153 string, + col_1col_1col_1col_1col_1col_1154 string, + col_1col_1col_1col_1col_1col_1155 string, + col_1col_1col_1col_1col_1col_1156 string, + col_1col_1col_1col_1col_1col_1157 string, + col_1col_1col_1col_1col_1col_1158 string) +PARTITIONED BY ( + `partition_col` string); + +alter table alterPartTbl add partition(partition_col='CCL'); + +drop table alterPartTbl; + + + diff --git a/ql/src/test/queries/clientpositive/temp_table_alter_partition_clusterby_sortby.q b/ql/src/test/queries/clientpositive/temp_table_alter_partition_clusterby_sortby.q new file mode 100644 index 0000000000..0bb0a84840 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_alter_partition_clusterby_sortby.q @@ -0,0 +1,23 @@ +create temporary table alter_table_partition_clusterby_sortby_temp (a int, b int) partitioned by (c string) clustered by (a, b) sorted by (a desc, b asc) into 4 buckets; +alter table alter_table_partition_clusterby_sortby_temp add partition(c='abc'); + +-- Turn off sorting for a partition + +alter table alter_table_partition_clusterby_sortby_temp partition(c='abc') not sorted; +desc formatted alter_table_partition_clusterby_sortby_temp partition(c='abc'); + +-- Modify clustering for a partition + +alter table alter_table_partition_clusterby_sortby_temp partition(c='abc') clustered by (b) sorted by (b desc) into 4 buckets; +desc formatted alter_table_partition_clusterby_sortby_temp partition(c='abc'); + +-- Turn off clustering for a partition + +alter table alter_table_partition_clusterby_sortby_temp partition(c='abc') not clustered; +desc formatted alter_table_partition_clusterby_sortby_temp partition(c='abc'); + +-- Table properties should be unchanged + +desc formatted alter_table_partition_clusterby_sortby_temp; + +drop table alter_table_partition_clusterby_sortby_temp; diff --git a/ql/src/test/queries/clientpositive/temp_table_alter_partition_coltype.q b/ql/src/test/queries/clientpositive/temp_table_alter_partition_coltype.q new file mode 100644 index 0000000000..1f071a70b1 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_alter_partition_coltype.q @@ -0,0 +1,78 @@ +--! qt:dataset:src1 +--! qt:dataset:src + +set metastore.integral.jdo.pushdown=true; +-- create testing table. +create temporary table alter_coltype_temp(key string, value string) partitioned by (dt string, ts string); + +-- insert and create a partition. +insert overwrite table alter_coltype_temp partition(dt='100', ts='6.30') select * from src1; + +desc alter_coltype_temp; + +-- select with paritition predicate. +select count(*) from alter_coltype_temp where dt = '100'; + +-- alter partition key column data type for dt column. +alter table alter_coltype_temp partition column (dt int); + +-- load a new partition using new data type. +insert overwrite table alter_coltype_temp partition(dt=100, ts='3.0') select * from src1; + +-- make sure the partition predicate still works. +select count(*) from alter_coltype_temp where dt = '100'; +explain extended select count(*) from alter_coltype_temp where dt = '100'; + +-- alter partition key column data type for ts column. +alter table alter_coltype_temp partition column (ts double); + +alter table alter_coltype_temp partition column (dt string); + +-- load a new partition using new data type. +insert overwrite table alter_coltype_temp partition(dt='100', ts=3.0) select * from src1; + +-- validate partition key column predicate can still work. +select count(*) from alter_coltype_temp where ts = '6.30'; +explain extended select count(*) from alter_coltype_temp where ts = '6.30'; + +-- validate partition key column predicate on two different partition column data type +-- can still work. +select count(*) from alter_coltype_temp where ts = 3.0 and dt=100; +explain extended select count(*) from alter_coltype_temp where ts = 3.0 and dt=100; + +-- query where multiple partition values (of different datatypes) are being selected +select key, value, dt, ts from alter_coltype_temp where dt is not null; +explain extended select key, value, dt, ts from alter_coltype_temp where dt is not null; + +select count(*) from alter_coltype_temp where ts = 3.0; + +-- make sure the partition predicate still works. +select count(*) from alter_coltype_temp where dt = '100'; + +desc alter_coltype_temp; +set hive.typecheck.on.insert=false; +desc alter_coltype_temp partition (dt='100', ts='6.30'); +desc alter_coltype_temp partition (dt='100', ts=3.0); + +drop table alter_coltype_temp; + +create database pt; + +create temporary table pt.alterdynamic_part_table_temp(intcol string) partitioned by (partcol1 string, partcol2 string); + +set hive.exec.dynamic.partition.mode=nonstrict; + +insert into table pt.alterdynamic_part_table_temp partition(partcol1, partcol2) select '1', '1', '1' from src where key=150 limit 5; + +insert into table pt.alterdynamic_part_table_temp partition(partcol1, partcol2) select '1', '2', '1' from src where key=150 limit 5; +insert into table pt.alterdynamic_part_table_temp partition(partcol1, partcol2) select NULL, '1', '1' from src where key=150 limit 5; + +alter table pt.alterdynamic_part_table_temp partition column (partcol1 int); + +explain extended select intcol from pt.alterdynamic_part_table_temp where partcol1='1' and partcol2='1'; + +explain extended select intcol from pt.alterdynamic_part_table_temp where (partcol1='2' and partcol2='1')or (partcol1='1' and partcol2='__HIVE_DEFAULT_PARTITION__'); +select intcol from pt.alterdynamic_part_table_temp where (partcol1='2' and partcol2='1')or (partcol1='1' and partcol2='__HIVE_DEFAULT_PARTITION__'); + +drop table pt.alterdynamic_part_table_temp; +drop database pt; diff --git a/ql/src/test/queries/clientpositive/temp_table_alter_partition_onto_nocurrent_db.q b/ql/src/test/queries/clientpositive/temp_table_alter_partition_onto_nocurrent_db.q new file mode 100644 index 0000000000..0fc52b8e90 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_alter_partition_onto_nocurrent_db.q @@ -0,0 +1,17 @@ +CREATE DATABASE test_db_nocurr; + +CREATE TEMPORARY TABLE test_db_nocurr.test_table_for_alter_partition_nocurrentdb_temp (a INT) PARTITIONED BY (ds STRING) STORED AS SEQUENCEFILE; + +ALTER TABLE test_db_nocurr.test_table_for_alter_partition_nocurrentdb_temp Add PARTITION(ds='eleme_haihua'); + +INSERT OVERWRITE TABLE test_db_nocurr.test_table_for_alter_partition_nocurrentdb_temp PARTITION(ds='eleme_haihua') SELECT 1; + +desc extended test_db_nocurr.test_table_for_alter_partition_nocurrentdb_temp partition(ds='eleme_haihua'); + +ALTER TABLE test_db_nocurr.test_table_for_alter_partition_nocurrentdb_temp partition(ds='eleme_haihua') CHANGE COLUMN a a_new BOOLEAN; + +desc extended test_db_nocurr.test_table_for_alter_partition_nocurrentdb_temp partition(ds='eleme_haihua'); + +DROP TABLE test_db_nocurr.test_table_for_alter_partition_nocurrentdb_temp; + +DROP DATABASE test_db_nocurr; diff --git a/ql/src/test/queries/clientpositive/temp_table_alter_rename_partition.q b/ql/src/test/queries/clientpositive/temp_table_alter_rename_partition.q new file mode 100644 index 0000000000..99a84c8ce2 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_alter_rename_partition.q @@ -0,0 +1,40 @@ +-- Cleanup +DROP TABLE alter_rename_partition_src_temp; +DROP TABLE alter_rename_partition_temp; + +create temporary table alter_rename_partition_src_temp ( col1 string ) stored as textfile ; +load data local inpath '../../data/files/test.dat' overwrite into table alter_rename_partition_src_temp ; + +create temporary table alter_rename_partition_temp ( col1 string ) partitioned by (pcol1 string , pcol2 string) stored as sequencefile; + +insert overwrite table alter_rename_partition_temp partition (pCol1='old_part1:', pcol2='old_part2:') select col1 from alter_rename_partition_src_temp ; +select * from alter_rename_partition_temp where pcol1='old_part1:' and pcol2='old_part2:'; + +alter table alter_rename_partition_temp partition (pCol1='old_part1:', pcol2='old_part2:') rename to partition (pCol1='new_part1:', pcol2='new_part2:'); +SHOW PARTITIONS alter_rename_partition_temp; +select * from alter_rename_partition_temp where pcol1='old_part1:' and pcol2='old_part2:'; +select * from alter_rename_partition_temp where pcol1='new_part1:' and pcol2='new_part2:'; + +-- Cleanup +DROP TABLE alter_rename_partition_src_temp; +DROP TABLE alter_rename_partition_temp; + +-- With non-default Database + +CREATE DATABASE alter_rename_partition_db; +USE alter_rename_partition_db; +SHOW TABLES; + +CREATE TEMPORARY TABLE alter_rename_partition_src_temp (col1 STRING) STORED AS TEXTFILE ; +LOAD DATA LOCAL INPATH '../../data/files/test.dat' OVERWRITE INTO TABLE alter_rename_partition_src_temp ; + +CREATE TEMPORARY TABLE alter_rename_partition_temp (col1 STRING) PARTITIONED BY (pcol1 STRING, pcol2 STRING) STORED AS SEQUENCEFILE; + +INSERT OVERWRITE TABLE alter_rename_partition_temp PARTITION (pCol1='old_part1:', pcol2='old_part2:') SELECT col1 FROM alter_rename_partition_src_temp ; +SELECT * FROM alter_rename_partition_temp WHERE pcol1='old_part1:' AND pcol2='old_part2:'; + +EXPLAIN ALTER TABLE alter_rename_partition_temp PARTITION (pCol1='old_part1:', pcol2='old_part2:') RENAME TO PARTITION (pCol1='new_part1:', pcol2='new_part2:'); +ALTER TABLE alter_rename_partition_temp PARTITION (pCol1='old_part1:', pcol2='old_part2:') RENAME TO PARTITION (pCol1='new_part1:', pcol2='new_part2:'); +SHOW PARTITIONS alter_rename_partition_temp; +SELECT * FROM alter_rename_partition_temp WHERE pcol1='old_part1:' and pcol2='old_part2:'; +SELECT * FROM alter_rename_partition_temp WHERE pcol1='new_part1:' and pcol2='new_part2:'; diff --git a/ql/src/test/queries/clientpositive/temp_table_avro_partitioned.q b/ql/src/test/queries/clientpositive/temp_table_avro_partitioned.q new file mode 100644 index 0000000000..fc5cceec36 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_avro_partitioned.q @@ -0,0 +1,149 @@ +set hive.mapred.mode=nonstrict; +set metastore.integral.jdo.pushdown=true; +-- SORT_QUERY_RESULTS +-- Verify that table scans work with partitioned Avro tables +CREATE TEMPORARY TABLE episodes_n2_temp +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_n2_temp", + "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" + } + ] +}'); + +LOAD DATA LOCAL INPATH '../../data/files/episodes.avro' INTO TABLE episodes_n2_temp; + +CREATE TEMPORARY TABLE episodes_partitioned_n1_temp +PARTITIONED BY (doctor_pt INT) +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_n2_temp", + "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" + } + ] +}'); + +SET hive.exec.dynamic.partition.mode=nonstrict; +INSERT OVERWRITE TABLE episodes_partitioned_n1_temp PARTITION (doctor_pt) SELECT title, air_date, doctor, doctor as doctor_pt FROM episodes_n2_temp; + +-- Verify that Fetch works in addition to Map +SELECT * FROM episodes_partitioned_n1_temp ORDER BY air_date LIMIT 5; +-- Fetch w/filter to specific partition +SELECT * FROM episodes_partitioned_n1_temp WHERE doctor_pt = 6; +-- Fetch w/non-existent partition +SELECT * FROM episodes_partitioned_n1_temp WHERE doctor_pt = 7 LIMIT 5; +-- Alter table add an empty partition +ALTER TABLE episodes_partitioned_n1_temp ADD PARTITION (doctor_pt=7); +SELECT COUNT(*) FROM episodes_partitioned_n1_temp; + +-- Verify that reading from an Avro partition works +-- even if it has an old schema relative to the current table level schema + +-- Create table and store schema in SERDEPROPERTIES +CREATE TEMPORARY TABLE episodes_partitioned_serdeproperties_temp +PARTITIONED BY (doctor_pt INT) +ROW FORMAT +SERDE 'org.apache.hadoop.hive.serde2.avro.AvroSerDe' +WITH SERDEPROPERTIES ('avro.schema.literal'='{ + "namespace": "testing.hive.avro.serde", + "name": "episodes_n2_temp", + "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" + } + ] +}') +STORED AS +INPUTFORMAT 'org.apache.hadoop.hive.ql.io.avro.AvroContainerInputFormat' +OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.avro.AvroContainerOutputFormat'; + +-- Insert data into a partition +INSERT INTO TABLE episodes_partitioned_serdeproperties_temp PARTITION (doctor_pt) SELECT title, air_date, doctor, doctor as doctor_pt FROM episodes_n2_temp; +set hive.metastore.disallow.incompatible.col.type.changes=false; +-- Evolve the table schema by adding new array field "cast_and_crew" +ALTER TABLE episodes_partitioned_serdeproperties_temp +SET SERDE 'org.apache.hadoop.hive.serde2.avro.AvroSerDe' +WITH SERDEPROPERTIES ('avro.schema.literal'='{ + "namespace": "testing.hive.avro.serde", + "name": "episodes_n2_temp", + "type": "record", + "fields": [ + { + "name":"cast_and_crew", + "type":{"type":"array","items":"string"}, + "default":[] + }, + { + "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" + } + ] +}'); + +-- Try selecting from the evolved table +SELECT * FROM episodes_partitioned_serdeproperties_temp; +reset hive.metastore.disallow.incompatible.col.type.changes; diff --git a/ql/src/test/queries/clientpositive/temp_table_avro_partitioned_native.q b/ql/src/test/queries/clientpositive/temp_table_avro_partitioned_native.q new file mode 100644 index 0000000000..1d2dad1406 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_avro_partitioned_native.q @@ -0,0 +1,30 @@ +set hive.mapred.mode=nonstrict; +set metastore.integral.jdo.pushdown=true; +-- SORT_QUERY_RESULTS +-- Verify that table scans work with partitioned Avro tables +CREATE TABLE episodes ( + title string COMMENT "episode title", + air_date string COMMENT "initial date", + doctor int COMMENT "main actor playing the Doctor in episode") +STORED AS AVRO; + +LOAD DATA LOCAL INPATH '../../data/files/episodes.avro' INTO TABLE episodes; + +CREATE TABLE episodes_partitioned ( + title string COMMENT "episode title", + air_date string COMMENT "initial date", + doctor int COMMENT "main actor playing the Doctor in episode") +PARTITIONED BY (doctor_pt INT) +STORED AS AVRO; + +SET hive.exec.dynamic.partition.mode=nonstrict; +INSERT OVERWRITE TABLE episodes_partitioned PARTITION (doctor_pt) + SELECT title, air_date, doctor, doctor as doctor_pt FROM episodes; + + +-- Verify that Fetch works in addition to Map +SELECT * FROM episodes_partitioned ORDER BY air_date LIMIT 5; +-- Fetch w/filter to specific partition +SELECT * FROM episodes_partitioned WHERE doctor_pt = 6; +-- Fetch w/non-existent partition +SELECT * FROM episodes_partitioned WHERE doctor_pt = 7 LIMIT 5; \ No newline at end of file diff --git a/ql/src/test/queries/clientpositive/temp_table_default_partition_name.q b/ql/src/test/queries/clientpositive/temp_table_default_partition_name.q new file mode 100644 index 0000000000..cd78dcd77c --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_default_partition_name.q @@ -0,0 +1,7 @@ +create temporary table default_partition_name_temp (key int, value string) partitioned by (ds string); + +set hive.exec.default.partition.name='some_other_default_partition_name_temp'; + +alter table default_partition_name_temp add partition(ds='__HIVE_DEFAULT_PARTITION__'); + +show partitions default_partition_name_temp; diff --git a/ql/src/test/queries/clientpositive/temp_table_drop_multi_partitions.q b/ql/src/test/queries/clientpositive/temp_table_drop_multi_partitions.q new file mode 100644 index 0000000000..66798b3eae --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_drop_multi_partitions.q @@ -0,0 +1,14 @@ +create temporary table mp_n0_temp (a string) partitioned by (b string, c string); + +alter table mp_n0_temp add partition (b='1', c='1'); +alter table mp_n0_temp add partition (b='1', c='2'); +alter table mp_n0_temp add partition (b='2', c='2'); + +show partitions mp_n0_temp; + +--explain extended alter table dmp.mp_n0_temp drop partition (b='1'); +alter table mp_n0_temp drop partition (b='1'); + +show partitions mp_n0_temp; + +drop table mp_n0_temp; diff --git a/ql/src/test/queries/clientpositive/temp_table_drop_partitions_filter.q b/ql/src/test/queries/clientpositive/temp_table_drop_partitions_filter.q new file mode 100644 index 0000000000..63e313ef97 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_drop_partitions_filter.q @@ -0,0 +1,38 @@ +create temporary table ptestfilter_n1_temp (a string, b int) partitioned by (c string, d string); +describe ptestfilter_n1_temp; + +explain alter table ptestfilter_n1_temp add partition (c='US', d=1); +alter table ptestfilter_n1_temp add partition (c='US', d=1); +alter table ptestfilter_n1_temp add partition (c='US', d=2); +alter table ptestfilter_n1_temp add partition (c='Uganda', d=2); +alter table ptestfilter_n1_temp add partition (c='Germany', d=2); +alter table ptestfilter_n1_temp add partition (c='Canada', d=3); +alter table ptestfilter_n1_temp add partition (c='Russia', d=3); +alter table ptestfilter_n1_temp add partition (c='Greece', d=2); +alter table ptestfilter_n1_temp add partition (c='India', d=3); +alter table ptestfilter_n1_temp add partition (c='France', d=4); +show partitions ptestfilter_n1_temp; + +explain alter table ptestfilter_n1_temp drop partition (c='US', d<'2'); +alter table ptestfilter_n1_temp drop partition (c='US', d<'2'); +explain show partitions ptestfilter_n1_temp; +show partitions ptestfilter_n1_temp; + +alter table ptestfilter_n1_temp drop partition (c>='US', d<='2'); +show partitions ptestfilter_n1_temp; + +alter table ptestfilter_n1_temp drop partition (c >'India'); +show partitions ptestfilter_n1_temp; + +explain alter table ptestfilter_n1_temp drop partition (c >='India'), +partition (c='Greece', d='2'); +alter table ptestfilter_n1_temp drop partition (c >='India'), +partition (c='Greece', d='2'); +show partitions ptestfilter_n1_temp; + +alter table ptestfilter_n1_temp drop partition (c != 'France'); +show partitions ptestfilter_n1_temp; + +drop table ptestfilter_n1_temp; + + diff --git a/ql/src/test/queries/clientpositive/temp_table_drop_partitions_filter2.q b/ql/src/test/queries/clientpositive/temp_table_drop_partitions_filter2.q new file mode 100644 index 0000000000..dcc2daf22b --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_drop_partitions_filter2.q @@ -0,0 +1,21 @@ +set metastore.integral.jdo.pushdown=true; +create temporary table ptestfilter_n0_temp (a string, b int) partitioned by (c int, d int); +describe ptestfilter_n0_temp; + +alter table ptestfilter_n0_temp add partition (c=1, d=1); +alter table ptestfilter_n0_temp add partition (c=1, d=2); +alter table ptestfilter_n0_temp add partition (c=2, d=1); +alter table ptestfilter_n0_temp add partition (c=2, d=2); +alter table ptestfilter_n0_temp add partition (c=3, d=1); +alter table ptestfilter_n0_temp add partition (c=30, d=2); +show partitions ptestfilter_n0_temp; + +alter table ptestfilter_n0_temp drop partition (c=1, d=1); +show partitions ptestfilter_n0_temp; + +alter table ptestfilter_n0_temp drop partition (c=2); +show partitions ptestfilter_n0_temp; + +drop table ptestfilter_n0_temp; + + diff --git a/ql/src/test/queries/clientpositive/temp_table_drop_partitions_filter3.q b/ql/src/test/queries/clientpositive/temp_table_drop_partitions_filter3.q new file mode 100644 index 0000000000..924e22383b --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_drop_partitions_filter3.q @@ -0,0 +1,21 @@ +set metastore.integral.jdo.pushdown=true; +create temporary table ptestfilter_n3_temp (a string, b int) partitioned by (c string, d int); +describe ptestfilter_n3_temp; + +alter table ptestfilter_n3_temp add partition (c='1', d=1); +alter table ptestfilter_n3_temp add partition (c='1', d=2); +alter table ptestfilter_n3_temp add partition (c='2', d=1); +alter table ptestfilter_n3_temp add partition (c='2', d=2); +alter table ptestfilter_n3_temp add partition (c='3', d=1); +alter table ptestfilter_n3_temp add partition (c='3', d=2); +show partitions ptestfilter_n3_temp; + +alter table ptestfilter_n3_temp drop partition (c='1', d=1); +show partitions ptestfilter_n3_temp; + +alter table ptestfilter_n3_temp drop partition (c='2'); +show partitions ptestfilter_n3_temp; + +drop table ptestfilter_n3_temp; + + diff --git a/ql/src/test/queries/clientpositive/temp_table_drop_partitions_filter4.q b/ql/src/test/queries/clientpositive/temp_table_drop_partitions_filter4.q new file mode 100644 index 0000000000..1076570c64 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_drop_partitions_filter4.q @@ -0,0 +1,40 @@ +SET hive.exec.dynamic.partition.mode=nonstrict; +set metastore.integral.jdo.pushdown=true; + +create temporary table ptestfilter_n2_temp (a string, b int) partitioned by (c string); +INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c) select 'Col1', 1, null; +alter table ptestfilter_n2_temp add partition (c=3); +alter table ptestfilter_n2_temp add partition (c=5); +show partitions ptestfilter_n2_temp; + +--alter table ptestfilter_n2_temp drop partition(c = '__HIVE_DEFAULT_PARTITION__'); +alter table ptestfilter_n2_temp drop partition(c = 3); +show partitions ptestfilter_n2_temp; + +INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c) select 'Col1', 1, null; +alter table ptestfilter_n2_temp drop partition(c != '__HIVE_DEFAULT_PARTITION__'); +show partitions ptestfilter_n2_temp; + +drop table ptestfilter_n2_temp; + +create temporary table ptestfilter_n2_temp (a string, b int) partitioned by (c string, d int); +INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c,d) select 'Col1', 1, null, null; +INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c,d) select 'Col2', 2, null, 2; +INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c,d) select 'Col3', 3, 'Uganda', null; +alter table ptestfilter_n2_temp add partition (c='Germany', d=2); +show partitions ptestfilter_n2_temp; + +alter table ptestfilter_n2_temp drop partition (c='__HIVE_DEFAULT_PARTITION__'); +alter table ptestfilter_n2_temp drop partition (c='Uganda', d='__HIVE_DEFAULT_PARTITION__'); +alter table ptestfilter_n2_temp drop partition (c='Germany', d=2); +show partitions ptestfilter_n2_temp; + +INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c,d) select 'Col2', 2, null, 2; +INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c,d) select 'Col2', 2, null, 3; +INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c,d) select 'Col3', 3, 'Uganda', null; +alter table ptestfilter_n2_temp drop partition (d != 3); +show partitions ptestfilter_n2_temp; + +drop table ptestfilter_n2_temp; + + diff --git a/ql/src/test/queries/clientpositive/temp_table_exchange_partition.q b/ql/src/test/queries/clientpositive/temp_table_exchange_partition.q new file mode 100644 index 0000000000..bb14a95117 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_exchange_partition.q @@ -0,0 +1,15 @@ +create database ex1; +create database ex2; + +CREATE TEMPORARY TABLE ex1.exchange_part_test1 (f1 string) PARTITIONED BY (ds STRING); +CREATE TEMPORARY TABLE ex2.exchange_part_test2 (f1 string) PARTITIONED BY (ds STRING); +SHOW PARTITIONS ex1.exchange_part_test1; +SHOW PARTITIONS ex2.exchange_part_test2; + +ALTER TABLE ex2.exchange_part_test2 ADD PARTITION (ds='2013-04-05'); +SHOW PARTITIONS ex1.exchange_part_test1; +SHOW PARTITIONS ex2.exchange_part_test2; + +ALTER TABLE ex1.exchange_part_test1 EXCHANGE PARTITION (ds='2013-04-05') WITH TABLE ex2.exchange_part_test2; +SHOW PARTITIONS ex1.exchange_part_test1; +SHOW PARTITIONS ex2.exchange_part_test2; diff --git a/ql/src/test/queries/clientpositive/temp_table_exchange_partition2.q b/ql/src/test/queries/clientpositive/temp_table_exchange_partition2.q new file mode 100644 index 0000000000..0458f75269 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_exchange_partition2.q @@ -0,0 +1,12 @@ +CREATE TEMPORARY TABLE exchange_part_test1 (f1 string) PARTITIONED BY (ds STRING, hr STRING); +CREATE TEMPORARY TABLE exchange_part_test2 (f1 string) PARTITIONED BY (ds STRING, hr STRING); +SHOW PARTITIONS exchange_part_test1; +SHOW PARTITIONS exchange_part_test2; + +ALTER TABLE exchange_part_test2 ADD PARTITION (ds='2013-04-05', hr='1'); +SHOW PARTITIONS exchange_part_test1; +SHOW PARTITIONS exchange_part_test2; + +ALTER TABLE exchange_part_test1 EXCHANGE PARTITION (ds='2013-04-05', hr='1') WITH TABLE exchange_part_test2; +SHOW PARTITIONS exchange_part_test1; +SHOW PARTITIONS exchange_part_test2; diff --git a/ql/src/test/queries/clientpositive/temp_table_exchange_partition3.q b/ql/src/test/queries/clientpositive/temp_table_exchange_partition3.q new file mode 100644 index 0000000000..1c2b4c5b58 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_exchange_partition3.q @@ -0,0 +1,15 @@ +CREATE TEMPORARY TABLE exchange_part_test1_n0 (f1 string) PARTITIONED BY (ds STRING, hr STRING); +CREATE TEMPORARY TABLE exchange_part_test2_n0 (f1 string) PARTITIONED BY (ds STRING, hr STRING); +SHOW PARTITIONS exchange_part_test1_n0; +SHOW PARTITIONS exchange_part_test2_n0; + +ALTER TABLE exchange_part_test1_n0 ADD PARTITION (ds='2014-01-03', hr='1'); +ALTER TABLE exchange_part_test2_n0 ADD PARTITION (ds='2013-04-05', hr='1'); +ALTER TABLE exchange_part_test2_n0 ADD PARTITION (ds='2013-04-05', hr='2'); +SHOW PARTITIONS exchange_part_test1_n0; +SHOW PARTITIONS exchange_part_test2_n0; + +-- This will exchange both partitions hr=1 and hr=2 +ALTER TABLE exchange_part_test1_n0 EXCHANGE PARTITION (ds='2013-04-05') WITH TABLE exchange_part_test2_n0; +SHOW PARTITIONS exchange_part_test1_n0; +SHOW PARTITIONS exchange_part_test2_n0; diff --git a/ql/src/test/queries/clientpositive/temp_table_exchgpartition2lel.q b/ql/src/test/queries/clientpositive/temp_table_exchgpartition2lel.q new file mode 100644 index 0000000000..d15fd2037c --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_exchgpartition2lel.q @@ -0,0 +1,34 @@ +--! qt:dataset:src +DROP TABLE IF EXISTS t1_n72_temp; +DROP TABLE IF EXISTS t2_n44_temp; +DROP TABLE IF EXISTS t3_n15_temp; +DROP TABLE IF EXISTS t4_n7_temp; + +CREATE TEMPORARY TABLE t1_n72_temp (a int) PARTITIONED BY (d1 int); +CREATE TEMPORARY TABLE t2_n44_temp (a int) PARTITIONED BY (d1 int); +CREATE TEMPORARY TABLE t3_n15_temp (a int) PARTITIONED BY (d1 int, d2 int); +CREATE TEMPORARY TABLE t4_n7_temp (a int) PARTITIONED BY (d1 int, d2 int); +CREATE TEMPORARY TABLE t5_n3_temp (a int) PARTITIONED BY (d1 int, d2 int, d3 int); +CREATE TEMPORARY TABLE t6_n2_temp (a int) PARTITIONED BY (d1 int, d2 int, d3 int); +set hive.mapred.mode=nonstrict; +INSERT OVERWRITE TABLE t1_n72_temp PARTITION (d1 = 1) SELECT key FROM src where key = 100 limit 1; +INSERT OVERWRITE TABLE t3_n15_temp PARTITION (d1 = 1, d2 = 1) SELECT key FROM src where key = 100 limit 1; +INSERT OVERWRITE TABLE t5_n3_temp PARTITION (d1 = 1, d2 = 1, d3=1) SELECT key FROM src where key = 100 limit 1; + +SELECT * FROM t1_n72_temp; + +SELECT * FROM t3_n15_temp; + +ALTER TABLE t2_n44_temp EXCHANGE PARTITION (d1 = 1) WITH TABLE t1_n72_temp; +SELECT * FROM t1_n72_temp; +SELECT * FROM t2_n44_temp; + +ALTER TABLE t4_n7_temp EXCHANGE PARTITION (d1 = 1, d2 = 1) WITH TABLE t3_n15_temp; +SELECT * FROM t3_n15_temp; +SELECT * FROM t4_n7_temp; + +EXPLAIN ALTER TABLE t6_n2_temp EXCHANGE PARTITION (d1 = 1, d2 = 1, d3 = 1) WITH TABLE t5_n3_temp; +ALTER TABLE t6_n2_temp EXCHANGE PARTITION (d1 = 1, d2 = 1, d3 = 1) WITH TABLE t5_n3_temp; +SELECT * FROM t5_n3_temp; +SELECT * FROM t6_n2_temp; + diff --git a/ql/src/test/queries/clientpositive/temp_table_insert1_overwrite_partitions.q b/ql/src/test/queries/clientpositive/temp_table_insert1_overwrite_partitions.q new file mode 100644 index 0000000000..71bd771fea --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_insert1_overwrite_partitions.q @@ -0,0 +1,52 @@ +set hive.mapred.mode=nonstrict; +CREATE TEMPORARY TABLE sourceTable_temp (one string,two string) PARTITIONED BY (ds string,hr string); + +load data local inpath '../../data/files/kv1.txt' INTO TABLE sourceTable_temp partition(ds='2011-11-11', hr='11'); + +load data local inpath '../../data/files/kv3.txt' INTO TABLE sourceTable_temp partition(ds='2011-11-11', hr='12'); + +CREATE TEMPORARY TABLE destinTable_temp (one string,two string) PARTITIONED BY (ds string,hr string); + +EXPLAIN INSERT OVERWRITE TABLE destinTable_temp PARTITION (ds='2011-11-11', hr='11') if not exists + SELECT one,two FROM sourceTable_temp WHERE ds='2011-11-11' AND hr='11' order by one desc, two desc limit 5; + +INSERT OVERWRITE TABLE destinTable_temp PARTITION (ds='2011-11-11', hr='11') if not exists + SELECT one,two FROM sourceTable_temp WHERE ds='2011-11-11' AND hr='11' order by one desc, two desc limit 5; + +select one,two from destinTable_temp order by one desc, two desc; + +EXPLAIN INSERT OVERWRITE TABLE destinTable_temp PARTITION (ds='2011-11-11', hr='11') if not exists + SELECT one,two FROM sourceTable_temp WHERE ds='2011-11-11' AND hr='12' order by one desc, two desc limit 5; + +INSERT OVERWRITE TABLE destinTable_temp PARTITION (ds='2011-11-11', hr='11') if not exists + SELECT one,two FROM sourceTable_temp WHERE ds='2011-11-11' AND hr='12' order by one desc, two desc limit 5; + +select one,two from destinTable_temp order by one desc, two desc; + +drop table destinTable_temp; + +CREATE TEMPORARY TABLE destinTable_temp (one string,two string); + +EXPLAIN INSERT OVERWRITE TABLE destinTable_temp SELECT one,two FROM sourceTable_temp WHERE ds='2011-11-11' AND hr='11' order by one desc, two desc limit 5; + +INSERT OVERWRITE TABLE destinTable_temp SELECT one,two FROM sourceTable_temp WHERE ds='2011-11-11' AND hr='11' order by one desc, two desc limit 5; + +drop table destinTable_temp; + +drop table sourceTable_temp; + +CREATE TEMPORARY TABLE sourceTable_temp (one string,two string) PARTITIONED BY (ds string,hr string); + +load data local inpath '../../data/files/kv1.txt' INTO TABLE sourceTable_temp partition(ds='2011-11-11', hr='11'); + +CREATE TEMPORARY TABLE destinTable_temp (one string,two string) PARTITIONED BY (ds string,hr string); + +EXPLAIN INSERT OVERWRITE TABLE destinTable_temp PARTITION (ds='2011-11-11', hr='11') if not exists + SELECT one,two FROM sourceTable_temp WHERE ds='2011-11-11' AND hr='11' order by one desc, two desc limit 5; + +INSERT OVERWRITE TABLE destinTable_temp PARTITION (ds='2011-11-11', hr='11') if not exists + SELECT one,two FROM sourceTable_temp WHERE ds='2011-11-11' AND hr='11' order by one desc, two desc limit 5; + +drop table destinTable_temp; + +drop table sourceTable_temp; \ No newline at end of file diff --git a/ql/src/test/queries/clientpositive/temp_table_insert2_overwrite_partitions.q b/ql/src/test/queries/clientpositive/temp_table_insert2_overwrite_partitions.q new file mode 100644 index 0000000000..d2ffd745c0 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_insert2_overwrite_partitions.q @@ -0,0 +1,36 @@ +set hive.mapred.mode=nonstrict; +CREATE DATABASE db1; + +CREATE DATABASE db2; + +CREATE TEMPORARY TABLE db1.sourceTable_temp (one string,two string) PARTITIONED BY (ds string); + +load data local inpath '../../data/files/kv1.txt' INTO TABLE db1.sourceTable_temp partition(ds='2011-11-11'); + +load data local inpath '../../data/files/kv3.txt' INTO TABLE db1.sourceTable_temp partition(ds='2011-11-11'); + +CREATE TEMPORARY TABLE db2.destinTable_temp (one string,two string) PARTITIONED BY (ds string); + +EXPLAIN INSERT OVERWRITE TABLE db2.destinTable_temp PARTITION (ds='2011-11-11') + SELECT one,two FROM db1.sourceTable_temp WHERE ds='2011-11-11' order by one desc, two desc limit 5; + +INSERT OVERWRITE TABLE db2.destinTable_temp PARTITION (ds='2011-11-11') + SELECT one,two FROM db1.sourceTable_temp WHERE ds='2011-11-11' order by one desc, two desc limit 5; + +select one,two from db2.destinTable_temp order by one desc, two desc; + +EXPLAIN INSERT OVERWRITE TABLE db2.destinTable_temp PARTITION (ds='2011-11-11') + SELECT one,two FROM db1.sourceTable_temp WHERE ds='2011-11-11' order by one desc, two desc limit 5; + +INSERT OVERWRITE TABLE db2.destinTable_temp PARTITION (ds='2011-11-11') + SELECT one,two FROM db1.sourceTable_temp WHERE ds='2011-11-11' order by one desc, two desc limit 5; + +select one,two from db2.destinTable_temp order by one desc, two desc; + +drop table db2.destinTable_temp; + +drop table db1.sourceTable_temp; + +DROP DATABASE db1; + +DROP DATABASE db2; diff --git a/ql/src/test/queries/clientpositive/temp_table_insert_values_dynamic_partitioned.q b/ql/src/test/queries/clientpositive/temp_table_insert_values_dynamic_partitioned.q new file mode 100644 index 0000000000..cc8e8517c9 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_insert_values_dynamic_partitioned.q @@ -0,0 +1,16 @@ +SET hive.vectorized.execution.enabled=false; +set hive.mapred.mode=nonstrict; +set hive.exec.dynamic.partition.mode=nonstrict; +set hive.support.concurrency=true; +set hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager; + + +create temporary table ivdp_temp(i int, + de decimal(5,2), + vc varchar(128)) partitioned by (ds string) clustered by (i) into 2 buckets stored as orc TBLPROPERTIES ('transactional'='true'); + +insert into table ivdp_temp partition (ds) values +(1, 109.23, 'and everywhere that mary went', 'today'), +(6553, 923.19, 'the lamb was sure to go', 'tomorrow'); + +select * from ivdp_temp order by ds; diff --git a/ql/src/test/queries/clientpositive/temp_table_insert_values_partitioned.q b/ql/src/test/queries/clientpositive/temp_table_insert_values_partitioned.q new file mode 100644 index 0000000000..d23f50a2c7 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_insert_values_partitioned.q @@ -0,0 +1,25 @@ +set hive.mapred.mode=nonstrict; +set hive.support.concurrency=true; +set hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager; + + +create temporary table acid_ivp_temp(ti tinyint, + si smallint, + i int, + bi bigint, + f float, + d double, + de decimal(5,2), + t timestamp, + dt date, + s string, + vc varchar(128), + ch char(12)) partitioned by (ds string) clustered by (i) into 2 buckets stored as orc TBLPROPERTIES ('transactional'='true'); + +alter table acid_ivp_temp add partition (ds='today'); + +insert into table acid_ivp_temp partition (ds='today') values +(1, 257, 65537, 4294967297, 3.14, 3.141592654, 109.23, '2014-08-25 17:21:30.0', '2014-08-25', 'mary had a little lamb', 'ring around the rosie', 'red'), +(3, 25, 6553, 429496729, 0.14, 1923.141592654, 1.2301, '2014-08-24 17:21:30.0', '2014-08-26', 'its fleece was white as snow', 'a pocket full of posies', 'blue'); + +select * from acid_ivp_temp order by i; diff --git a/ql/src/test/queries/clientpositive/temp_table_insert_with_move_files_from_source_dir.q b/ql/src/test/queries/clientpositive/temp_table_insert_with_move_files_from_source_dir.q new file mode 100644 index 0000000000..e43962ce4b --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_insert_with_move_files_from_source_dir.q @@ -0,0 +1,21 @@ + +set hive.enforce.bucketing=true; +set hive.exec.dynamic.partition=true; +set hive.exec.dynamic.partition.mode=nonstrict; + +create temporary table emp1_temp (id int, name string, dept int, country string) row format delimited fields terminated by '|' stored as textfile; +load data local inpath '../../data/files/employee_part.txt' overwrite into table emp1_temp; +select * from emp1_temp order by id; + +set hive.blobstore.supported.schemes=pfile; +-- Setting pfile to be treated as blobstore to test mvFileToFinalPath() behavior for blobstore case +-- inserts into non-partitioned/non-bucketed table +create temporary table emp2_temp (id int, name string, dept int, country string) stored as textfile; +insert overwrite table emp2_temp select * from emp1_temp; +select * from emp2_temp order by id; + +-- inserts into partitioned/bucketed table +create temporary table emp1_temp_part_bucket_temp (id int, name string) partitioned by (dept int, country string) clustered by (id) into 4 buckets; +insert overwrite table emp1_temp_part_bucket_temp partition (dept, country) select * from emp1_temp; +show partitions emp1_temp_part_bucket_temp; +select * from emp1_temp_part_bucket_temp order by id; diff --git a/ql/src/test/queries/clientpositive/temp_table_llap_partitioned.q b/ql/src/test/queries/clientpositive/temp_table_llap_partitioned.q new file mode 100644 index 0000000000..e496bf7892 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_llap_partitioned.q @@ -0,0 +1,71 @@ +--! qt:dataset:alltypesorc +set hive.mapred.mode=nonstrict; +SET hive.vectorized.execution.enabled=true; + +SET hive.llap.io.enabled=false; + +SET hive.exec.orc.default.buffer.size=32768; +SET hive.exec.orc.default.row.index.stride=1000; +SET hive.optimize.index.filter=true; + +set hive.auto.convert.join=true; +set hive.exec.dynamic.partition=true; +set hive.exec.dynamic.partition.mode=nonstrict; +set hive.exec.max.dynamic.partitions.pernode=255; + +DROP TABLE orc_llap_part_temp; +DROP TABLE orc_llap_dim_part_temp; + +CREATE TEMPORARY TABLE orc_llap_part_temp( + csmallint SMALLINT, + cint INT, + cbigint BIGINT, + cfloat FLOAT, + cdouble DOUBLE, + cstring1 STRING, + cchar1 CHAR(255), + cvchar1 VARCHAR(255), + cboolean1 BOOLEAN, + cboolean2 BOOLEAN +) PARTITIONED BY (ctinyint TINYINT) STORED AS ORC; + +CREATE TEMPORARY TABLE orc_llap_dim_part_temp( + csmallint SMALLINT, + cint INT, + cbigint BIGINT, + cfloat FLOAT, + cdouble DOUBLE, + cstring1 STRING, + cchar1 CHAR(255), + cvchar1 VARCHAR(255), + cboolean1 BOOLEAN, + cboolean2 BOOLEAN +) PARTITIONED BY (ctinyint TINYINT) STORED AS ORC; + +INSERT OVERWRITE TABLE orc_llap_part_temp PARTITION (ctinyint) + SELECT csmallint, cint, cbigint, cfloat, cdouble, cstring1, cstring1, cstring1, cboolean1, cboolean2, ctinyint FROM alltypesorc; + +INSERT OVERWRITE TABLE orc_llap_dim_part_temp PARTITION (ctinyint) + SELECT null, null, sum(cbigint) as cbigint, null, null, null, null, null, null, null, ctinyint FROM alltypesorc WHERE ctinyint > 10 AND ctinyint < 21 GROUP BY ctinyint; + +drop table llap_temp_table_n0_temp; + +set hive.cbo.enable=false; +SET hive.llap.io.enabled=true; +SET hive.vectorized.execution.enabled=true; + +explain vectorization detail +SELECT oft.ctinyint, oft.cint, oft.cchar1, oft.cvchar1 FROM orc_llap_part_temp oft + INNER JOIN orc_llap_dim_part_temp od ON oft.ctinyint = od.ctinyint; +create temporary table llap_temp_table_n0_temp as + SELECT oft.ctinyint, oft.cint, oft.cchar1, oft.cvchar1 FROM orc_llap_part_temp oft + INNER JOIN orc_llap_dim_part_temp od ON oft.ctinyint = od.ctinyint; + +explain vectorization detail +select sum(hash(*)) from llap_temp_table_n0_temp; +select sum(hash(*)) from llap_temp_table_n0_temp; +drop table llap_temp_table_n0_temp; + + +DROP TABLE orc_llap_part_temp; +DROP TABLE orc_llap_dim_part_temp; diff --git a/ql/src/test/queries/clientpositive/temp_table_load_dyn_part1.q b/ql/src/test/queries/clientpositive/temp_table_load_dyn_part1.q new file mode 100644 index 0000000000..578edaa130 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_load_dyn_part1.q @@ -0,0 +1,34 @@ +--! qt:dataset:srcpart +set hive.explain.user=false; +-- SORT_QUERY_RESULTS + +show partitions srcpart; + + + + +create temporary table if not exists temp_part1_n0 like srcpart; +create temporary table if not exists temp_part2_n0 like srcpart; +describe extended temp_part1_n0; + +set hive.exec.dynamic.partition.mode=nonstrict; +set hive.exec.dynamic.partition=true; + +explain +from srcpart +insert overwrite table temp_part1_n0 partition (ds, hr) select key, value, ds, hr where ds <= '2008-04-08' +insert overwrite table temp_part2_n0 partition(ds='2008-12-31', hr) select key, value, hr where ds > '2008-04-08'; + +from srcpart +insert overwrite table temp_part1_n0 partition (ds, hr) select key, value, ds, hr where ds <= '2008-04-08' +insert overwrite table temp_part2_n0 partition(ds='2008-12-31', hr) select key, value, hr where ds > '2008-04-08'; + + +show partitions temp_part1_n0; +show partitions temp_part2_n0; + +select * from temp_part1_n0 where ds is not null and hr is not null; +select * from temp_part2_n0 where ds is not null and hr is not null; + + + diff --git a/ql/src/test/queries/clientpositive/temp_table_loadpart1.q b/ql/src/test/queries/clientpositive/temp_table_loadpart1.q new file mode 100644 index 0000000000..ef05109b45 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_loadpart1.q @@ -0,0 +1,19 @@ + + + +create temporary table hive_test_src_n2_temp ( col1 string ) stored as textfile ; +load data local inpath '../../data/files/test.dat' overwrite into table hive_test_src_n2_temp ; + +create temporary table hive_test_dst_temp ( col1 string ) partitioned by ( pcol1 string , pcol2 string) stored as sequencefile; +insert overwrite table hive_test_dst_temp partition ( pcol1='test_part', pCol2='test_Part') select col1 from hive_test_src_n2_temp ; +select * from hive_test_dst_temp where pcol1='test_part' and pcol2='test_Part'; + +insert overwrite table hive_test_dst_temp partition ( pCol1='test_part', pcol2='test_Part') select col1 from hive_test_src_n2_temp ; +select * from hive_test_dst_temp where pcol1='test_part' and pcol2='test_part'; + +select * from hive_test_dst_temp where pcol1='test_part'; +select * from hive_test_dst_temp where pcol1='test_part' and pcol2='test_part'; +select * from hive_test_dst_temp where pcol1='test_Part'; + + + diff --git a/ql/src/test/queries/clientpositive/temp_table_loadpart2.q b/ql/src/test/queries/clientpositive/temp_table_loadpart2.q new file mode 100644 index 0000000000..a02733718d --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_loadpart2.q @@ -0,0 +1,9 @@ + +create temporary table hive_test_temp ( col1 string ) partitioned by ( pcol1 string , pcol2 string) stored as textfile; +load data local inpath '../../data/files/test.dat' overwrite into table hive_test_temp partition (pcol1='part1',pcol2='part1') ; +load data local inpath '../../data/files/test.dat' overwrite into table hive_test_temp partition (pcol2='part2',pcol1='part2') ; +select * from hive_test_temp where pcol1='part1' and pcol2='part1'; +select * from hive_test_temp where pcol1='part2' and pcol2='part2'; + + + diff --git a/ql/src/test/queries/clientpositive/temp_table_merge_dynamic_partition.q b/ql/src/test/queries/clientpositive/temp_table_merge_dynamic_partition.q new file mode 100644 index 0000000000..c492dcffab --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_merge_dynamic_partition.q @@ -0,0 +1,54 @@ +--! qt:dataset:srcpart +SET hive.vectorized.execution.enabled=false; +set hive.strict.checks.bucketing=false; + +set hive.mapred.mode=nonstrict; +set hive.exec.dynamic.partition=true; +set hive.exec.dynamic.partition.mode=nonstrict; + +-- SORT_QUERY_RESULTS + +create temporary table srcpart_merge_dp_n1_temp like srcpart; + +create temporary table merge_dynamic_part_n1_temp like srcpart; + +load data local inpath '../../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp_n1_temp partition(ds='2008-04-08', hr=11); +load data local inpath '../../data/files/srcbucket21.txt' INTO TABLE srcpart_merge_dp_n1_temp partition(ds='2008-04-08', hr=11); +load data local inpath '../../data/files/srcbucket22.txt' INTO TABLE srcpart_merge_dp_n1_temp partition(ds='2008-04-08', hr=11); +load data local inpath '../../data/files/srcbucket23.txt' INTO TABLE srcpart_merge_dp_n1_temp partition(ds='2008-04-08', hr=11); + +set hive.input.format=org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat; +set hive.merge.mapfiles=false; +set hive.merge.mapredfiles=false; +set hive.merge.smallfiles.avgsize=1000000000; +set hive.optimize.sort.dynamic.partition=false; +explain +insert overwrite table merge_dynamic_part_n1_temp partition (ds='2008-04-08', hr) select key, value, hr from srcpart_merge_dp_n1_temp where ds='2008-04-08'; +insert overwrite table merge_dynamic_part_n1_temp partition (ds='2008-04-08', hr) select key, value, hr from srcpart_merge_dp_n1_temp where ds='2008-04-08'; + +select * from merge_dynamic_part_n1_temp; +show table extended like `merge_dynamic_part_n1_temp`; + + +set hive.input.format=org.apache.hadoop.hive.ql.io.CombineHiveInputFormat; +set hive.merge.mapfiles=true; +set hive.merge.mapredfiles=true; +set hive.merge.smallfiles.avgsize=1000000000; +explain +insert overwrite table merge_dynamic_part_n1_temp partition (ds='2008-04-08', hr=11) select key, value from srcpart_merge_dp_n1_temp where ds='2008-04-08'; +insert overwrite table merge_dynamic_part_n1_temp partition (ds='2008-04-08', hr=11) select key, value from srcpart_merge_dp_n1_temp where ds='2008-04-08'; + +select * from merge_dynamic_part_n1_temp; +show table extended like `merge_dynamic_part_n1_temp`; + +set hive.input.format=org.apache.hadoop.hive.ql.io.CombineHiveInputFormat; +set hive.merge.mapfiles=true; +set hive.merge.mapredfiles=true; +set hive.merge.smallfiles.avgsize=1000000000; +explain +insert overwrite table merge_dynamic_part_n1_temp partition (ds, hr) select key, value, ds, hr from srcpart_merge_dp_n1_temp where ds='2008-04-08' and hr=11; +insert overwrite table merge_dynamic_part_n1_temp partition (ds, hr) select key, value, ds, hr from srcpart_merge_dp_n1_temp where ds='2008-04-08' and hr=11;; + +select * from merge_dynamic_part_n1_temp; +show table extended like `merge_dynamic_part_n1_temp`; + diff --git a/ql/src/test/queries/clientpositive/temp_table_merge_dynamic_partition2.q b/ql/src/test/queries/clientpositive/temp_table_merge_dynamic_partition2.q new file mode 100644 index 0000000000..526669e521 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_merge_dynamic_partition2.q @@ -0,0 +1,32 @@ +--! qt:dataset:srcpart +SET hive.vectorized.execution.enabled=false; +set hive.strict.checks.bucketing=false; + +set hive.exec.dynamic.partition=true; +set hive.exec.dynamic.partition.mode=nonstrict; + +create temporary table srcpart_merge_dp_n0_temp like srcpart; + +create temporary table merge_dynamic_part_n0_temp like srcpart; + +load data local inpath '../../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp_n0_temp partition(ds='2008-04-08', hr=11); +load data local inpath '../../data/files/srcbucket21.txt' INTO TABLE srcpart_merge_dp_n0_temp partition(ds='2008-04-08', hr=11); +load data local inpath '../../data/files/srcbucket22.txt' INTO TABLE srcpart_merge_dp_n0_temp partition(ds='2008-04-08', hr=11); +load data local inpath '../../data/files/srcbucket23.txt' INTO TABLE srcpart_merge_dp_n0_temp partition(ds='2008-04-08', hr=11); +load data local inpath '../../data/files/srcbucket0.txt' INTO TABLE srcpart_merge_dp_n0_temp partition(ds='2008-04-08', hr=12); +load data local inpath '../../data/files/srcbucket1.txt' INTO TABLE srcpart_merge_dp_n0_temp partition(ds='2008-04-08', hr=12); + + +set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; +set hive.merge.mapfiles=true; +set hive.merge.mapredfiles=true; +set hive.merge.smallfiles.avgsize=3000; +set hive.exec.compress.output=false; +set hive.optimize.sort.dynamic.partition=false; + +explain +insert overwrite table merge_dynamic_part_n0_temp partition (ds='2008-04-08', hr) select key, value, hr from srcpart_merge_dp_n0_temp where ds='2008-04-08'; +insert overwrite table merge_dynamic_part_n0_temp partition (ds='2008-04-08', hr) select key, value, hr from srcpart_merge_dp_n0_temp where ds='2008-04-08'; + +show table extended like `merge_dynamic_part_n0_temp`; + diff --git a/ql/src/test/queries/clientpositive/temp_table_merge_dynamic_partition3.q b/ql/src/test/queries/clientpositive/temp_table_merge_dynamic_partition3.q new file mode 100644 index 0000000000..70e68c89c1 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_merge_dynamic_partition3.q @@ -0,0 +1,44 @@ +--! qt:dataset:srcpart +SET hive.vectorized.execution.enabled=false; +set hive.strict.checks.bucketing=false; + +set hive.exec.dynamic.partition=true; +set hive.exec.dynamic.partition.mode=nonstrict; + +-- SORT_QUERY_RESULTS + +create temporary table srcpart_merge_dp_n2_temp like srcpart; + +create temporary table merge_dynamic_part_n2_temp like srcpart; + +load data local inpath '../../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-08', hr=11); +load data local inpath '../../data/files/srcbucket21.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-08', hr=11); +load data local inpath '../../data/files/srcbucket22.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-08', hr=11); +load data local inpath '../../data/files/srcbucket23.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-08', hr=11); + +load data local inpath '../../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-08', hr=12); +load data local inpath '../../data/files/srcbucket21.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-08', hr=12); +load data local inpath '../../data/files/srcbucket22.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-08', hr=12); +load data local inpath '../../data/files/srcbucket23.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-08', hr=12); + +load data local inpath '../../data/files/kv1.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-09', hr=11); +load data local inpath '../../data/files/kv2.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-09', hr=11); +load data local inpath '../../data/files/kv1.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-09', hr=12); +load data local inpath '../../data/files/kv2.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-09', hr=12); + +show partitions srcpart_merge_dp_n2_temp; + +set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; +set hive.merge.mapfiles=true; +set hive.merge.mapredfiles=true; +set hive.merge.smallfiles.avgsize=3000; +set hive.exec.compress.output=false; + +explain +insert overwrite table merge_dynamic_part_n2_temp partition (ds, hr) select key, value, ds, hr from srcpart_merge_dp_n2_temp where ds>='2008-04-08'; + +insert overwrite table merge_dynamic_part_n2_temp partition (ds, hr) select key, value, ds, hr from srcpart_merge_dp_n2_temp where ds>='2008-04-08'; + +select ds, hr, count(1) from merge_dynamic_part_n2_temp where ds>='2008-04-08' group by ds, hr; + +show table extended like `merge_dynamic_part_n2_temp`; diff --git a/ql/src/test/queries/clientpositive/temp_table_merge_dynamic_partition4.q b/ql/src/test/queries/clientpositive/temp_table_merge_dynamic_partition4.q new file mode 100644 index 0000000000..7985106fa7 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_merge_dynamic_partition4.q @@ -0,0 +1,47 @@ +--! qt:dataset:srcpart +SET hive.vectorized.execution.enabled=false; +set hive.strict.checks.bucketing=false; + +set hive.mapred.mode=nonstrict; +-- 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 temporary table srcpart_merge_dp_n4_temp like srcpart; + +create temporary table srcpart_merge_dp_rc_n1_temp like srcpart; +alter table srcpart_merge_dp_rc_n1_temp set fileformat RCFILE; + +create temporary table merge_dynamic_part_n3_temp like srcpart; +alter table merge_dynamic_part_n3_temp set fileformat RCFILE; + +load data local inpath '../../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp_n4_temp partition(ds='2008-04-08', hr=11); +load data local inpath '../../data/files/srcbucket21.txt' INTO TABLE srcpart_merge_dp_n4_temp partition(ds='2008-04-08', hr=11); +load data local inpath '../../data/files/srcbucket22.txt' INTO TABLE srcpart_merge_dp_n4_temp partition(ds='2008-04-08', hr=11); +load data local inpath '../../data/files/srcbucket23.txt' INTO TABLE srcpart_merge_dp_n4_temp partition(ds='2008-04-08', hr=11); + +load data local inpath '../../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp_n4_temp partition(ds='2008-04-08', hr=12); +load data local inpath '../../data/files/srcbucket21.txt' INTO TABLE srcpart_merge_dp_n4_temp partition(ds='2008-04-08', hr=12); +load data local inpath '../../data/files/srcbucket22.txt' INTO TABLE srcpart_merge_dp_n4_temp partition(ds='2008-04-08', hr=12); +load data local inpath '../../data/files/srcbucket23.txt' INTO TABLE srcpart_merge_dp_n4_temp partition(ds='2008-04-08', hr=12); + +insert overwrite table srcpart_merge_dp_rc_n1_temp partition (ds = '2008-04-08', hr) + select key, value, hr from srcpart_merge_dp_n4_temp where ds = '2008-04-08'; + +set hive.input.format=org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat; +set hive.merge.mapfiles=true; +set hive.merge.mapredfiles=true; +set hive.merge.smallfiles.avgsize=10000000000000; +set hive.exec.compress.output=false; +set hive.exec.dynamic.partition=true; +set hive.exec.dynamic.partition.mode=nonstrict; + +explain +insert overwrite table merge_dynamic_part_n3_temp partition (ds = '2008-04-08', hr) + select key, value, if(key % 2 == 0, 'a1', 'b1') as hr from srcpart_merge_dp_rc_n1_temp where ds = '2008-04-08'; + +insert overwrite table merge_dynamic_part_n3_temp partition (ds = '2008-04-08', hr) + select key, value, if(key % 2 == 0, 'a1', 'b1') as hr from srcpart_merge_dp_rc_n1_temp where ds = '2008-04-08'; + +show partitions merge_dynamic_part_n3_temp; + +select count(*) from merge_dynamic_part_n3_temp; diff --git a/ql/src/test/queries/clientpositive/temp_table_merge_dynamic_partition5.q b/ql/src/test/queries/clientpositive/temp_table_merge_dynamic_partition5.q new file mode 100644 index 0000000000..b9ca73a95f --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_merge_dynamic_partition5.q @@ -0,0 +1,43 @@ +--! qt:dataset:srcpart +SET hive.vectorized.execution.enabled=false; +set hive.strict.checks.bucketing=false; + +set hive.mapred.mode=nonstrict; +-- this is to test the case where some dynamic partitions are merged and some are moved + +create temporary table srcpart_merge_dp_temp like srcpart; + +create temporary table srcpart_merge_dp_rc_temp like srcpart; +alter table srcpart_merge_dp_rc_temp set fileformat RCFILE; + +create temporary table merge_dynamic_part_temp like srcpart; +alter table merge_dynamic_part_temp set fileformat RCFILE; + +load data local inpath '../../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp_temp partition(ds='2008-04-08', hr=11); +load data local inpath '../../data/files/srcbucket21.txt' INTO TABLE srcpart_merge_dp_temp partition(ds='2008-04-08', hr=11); +load data local inpath '../../data/files/srcbucket22.txt' INTO TABLE srcpart_merge_dp_temp partition(ds='2008-04-08', hr=11); +load data local inpath '../../data/files/srcbucket23.txt' INTO TABLE srcpart_merge_dp_temp partition(ds='2008-04-08', hr=11); + +load data local inpath '../../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp_temp partition(ds='2008-04-08', hr=12); + +insert overwrite table srcpart_merge_dp_rc_temp partition (ds = '2008-04-08', hr) + select key, value, hr from srcpart_merge_dp_temp where ds = '2008-04-08'; + +set hive.input.format=org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat; +set hive.merge.mapfiles=true; +set hive.merge.mapredfiles=true; +set hive.merge.smallfiles.avgsize=200; +set hive.exec.compress.output=false; +set hive.exec.dynamic.partition=true; +set hive.exec.dynamic.partition.mode=nonstrict; + +explain +insert overwrite table merge_dynamic_part_temp partition (ds = '2008-04-08', hr) + select key, value, if(key % 100 == 0, 'a1', 'b1') as hr from srcpart_merge_dp_rc_temp where ds = '2008-04-08'; + +insert overwrite table merge_dynamic_part_temp partition (ds = '2008-04-08', hr) + select key, value, if(key % 100 == 0, 'a1', 'b1') as hr from srcpart_merge_dp_rc_temp where ds = '2008-04-08'; + +show partitions merge_dynamic_part_temp; + +select count(*) from merge_dynamic_part_temp; diff --git a/ql/src/test/queries/clientpositive/temp_table_multi_insert_partitioned.q b/ql/src/test/queries/clientpositive/temp_table_multi_insert_partitioned.q new file mode 100644 index 0000000000..68d0483e79 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_multi_insert_partitioned.q @@ -0,0 +1,57 @@ +--! qt:dataset:src +set hive.stats.column.autogather=false; +set hive.mapred.mode=nonstrict; +set hive.explain.user=false; +set hive.exec.dynamic.partition.mode=nonstrict; + +drop table intermediate_n3_temp; + +create temporary table intermediate_n3_temp(key int) partitioned by (p int) stored as orc; +insert into table intermediate_n3_temp partition(p='455') select distinct key from src where key >= 0 order by key desc limit 2; +insert into table intermediate_n3_temp partition(p='456') select distinct key from src where key is not null order by key asc limit 2; +insert into table intermediate_n3_temp partition(p='457') select distinct key from src where key >= 100 order by key asc limit 2; + +drop table multi_partitioned_temp; + +create temporary table multi_partitioned_temp (key int, key2 int) partitioned by (p int); + +from intermediate_n3_temp +insert into table multi_partitioned_temp partition(p=1) select p, key +insert into table multi_partitioned_temp partition(p=2) select key, p; + +select * from multi_partitioned_temp order by key, key2, p; +desc formatted multi_partitioned_temp; + +from intermediate_n3_temp +insert overwrite table multi_partitioned_temp partition(p=2) select p, key +insert overwrite table multi_partitioned_temp partition(p=1) select key, p; + +select * from multi_partitioned_temp order by key, key2, p; +desc formatted multi_partitioned_temp; + +from intermediate_n3_temp +insert into table multi_partitioned_temp partition(p=2) select p, key +insert overwrite table multi_partitioned_temp partition(p=1) select key, p; + +select * from multi_partitioned_temp order by key, key2, p; +desc formatted multi_partitioned_temp; + +from intermediate_n3_temp +insert into table multi_partitioned_temp partition(p) select p, key, p +insert into table multi_partitioned_temp partition(p=1) select key, p; + +select key, key2, p from multi_partitioned_temp order by key, key2, p; +desc formatted multi_partitioned_temp; + +from intermediate_n3_temp +insert into table multi_partitioned_temp partition(p) select p, key, 1 +insert into table multi_partitioned_temp partition(p=1) select key, p; + +select key, key2, p from multi_partitioned_temp order by key, key2, p; +desc formatted multi_partitioned_temp; + +drop table multi_partitioned_temp; + +drop table intermediate_n3_temp; + + diff --git a/ql/src/test/queries/clientpositive/temp_table_orc_diff_part_cols.q b/ql/src/test/queries/clientpositive/temp_table_orc_diff_part_cols.q new file mode 100644 index 0000000000..13fd41575c --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_orc_diff_part_cols.q @@ -0,0 +1,27 @@ +--! qt:dataset:src +--! qt:dataset:part + +set hive.vectorized.execution.enabled=false; +set hive.mapred.mode=nonstrict; + +-- SORT_QUERY_RESULTS + +CREATE TEMPORARY TABLE test_orc_n0_temp (key STRING) +PARTITIONED BY (part STRING) +ROW FORMAT SERDE 'org.apache.hadoop.hive.ql.io.orc.OrcSerde' +STORED AS INPUTFORMAT 'org.apache.hadoop.hive.ql.io.orc.OrcInputFormat' +OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat'; + +set hive.input.format=org.apache.hadoop.hive.ql.io.CombineHiveInputFormat; + +-- Create a table with one column write to a partition, then add an additional column and write +-- to another partition +-- This can produce unexpected results with CombineHiveInputFormat + +INSERT OVERWRITE TABLE test_orc_n0_temp PARTITION (part = '1') SELECT key FROM src tablesample (5 rows); + +ALTER TABLE test_orc_n0_temp ADD COLUMNS (cnt INT); + +INSERT OVERWRITE TABLE test_orc_n0_temp PARTITION (part = '2') SELECT key, count(*) FROM src GROUP BY key LIMIT 5; + +SELECT * FROM test_orc_n0_temp; diff --git a/ql/src/test/queries/clientpositive/temp_table_orc_diff_part_cols2.q b/ql/src/test/queries/clientpositive/temp_table_orc_diff_part_cols2.q new file mode 100644 index 0000000000..7763fe0083 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_orc_diff_part_cols2.q @@ -0,0 +1,17 @@ +--! qt:dataset:src + +set hive.vectorized.execution.enabled=false; + +-- Create a table with one column, write to it, then add an additional column +-- This can break reads + +-- SORT_QUERY_RESULTS + +CREATE TEMPORARY TABLE test_orc_n4_temp (key STRING) +STORED AS ORC; + +INSERT OVERWRITE TABLE test_orc_n4_temp SELECT key FROM src LIMIT 5; + +ALTER TABLE test_orc_n4_temp ADD COLUMNS (value STRING); + +SELECT * FROM test_orc_n4_temp; diff --git a/ql/src/test/queries/clientpositive/temp_table_parquet_mixed_partition_formats.q b/ql/src/test/queries/clientpositive/temp_table_parquet_mixed_partition_formats.q new file mode 100644 index 0000000000..2532b33c11 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_parquet_mixed_partition_formats.q @@ -0,0 +1,45 @@ +set hive.vectorized.execution.enabled=false; +set hive.mapred.mode=nonstrict; + +DROP TABLE if exists parquet_mixed_partition_formats_temp; + +CREATE TEMPORARY TABLE parquet_mixed_partition_formats_temp ( + cint int, + ctinyint tinyint, + csmallint smallint, + cfloat float, + cdouble double, + cstring1 string, + t timestamp, + cchar char(5), + cvarchar varchar(10), + cbinary string, + m1 map, + l1 array, + st1 struct, + d date) +PARTITIONED BY (dateint int) +ROW FORMAT DELIMITED +FIELDS TERMINATED BY '|' +COLLECTION ITEMS TERMINATED BY ',' +MAP KEYS TERMINATED BY ':'; + +---- partition dateint=20140330 is stored as TEXTFILE +LOAD DATA LOCAL INPATH '../../data/files/parquet_types.txt' OVERWRITE INTO TABLE parquet_mixed_partition_formats_temp PARTITION (dateint=20140330); + +SELECT * FROM parquet_mixed_partition_formats_temp; + +DESCRIBE FORMATTED parquet_mixed_partition_formats_temp PARTITION (dateint=20140330); + +---change table serde and file format to PARQUET---- + +ALTER TABLE parquet_mixed_partition_formats_temp +SET FILEFORMAT +INPUTFORMAT 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat' +OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat' +SERDE 'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'; + +DESCRIBE FORMATTED parquet_mixed_partition_formats_temp; +DESCRIBE FORMATTED parquet_mixed_partition_formats_temp PARTITION (dateint=20140330); + +SELECT * FROM parquet_mixed_partition_formats_temp; diff --git a/ql/src/test/queries/clientpositive/temp_table_parquet_mixed_partition_formats2.q b/ql/src/test/queries/clientpositive/temp_table_parquet_mixed_partition_formats2.q new file mode 100644 index 0000000000..9046460e37 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_parquet_mixed_partition_formats2.q @@ -0,0 +1,33 @@ +set hive.vectorized.execution.enabled=false; +set hive.mapred.mode=nonstrict; +add jar ${system:maven.local.repository}/org/apache/hive/hcatalog/hive-hcatalog-core/${system:hive.version}/hive-hcatalog-core-${system:hive.version}.jar; + +CREATE TEMPORARY TABLE parquet_table_json_partition_temp ( + id bigint COMMENT 'from deserializer', + address struct COMMENT 'from deserializer', + reports array COMMENT 'from deserializer') +PARTITIONED BY ( + ts string) +ROW FORMAT SERDE +'org.apache.hive.hcatalog.data.JsonSerDe' +STORED AS INPUTFORMAT +'org.apache.hadoop.mapred.TextInputFormat' +OUTPUTFORMAT +'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'; + +LOAD DATA LOCAL INPATH '../../data/files/sample2.json' INTO TABLE parquet_table_json_partition_temp PARTITION(ts='20150101'); + +SELECT * FROM parquet_table_json_partition_temp LIMIT 100; + +ALTER TABLE parquet_table_json_partition_temp +SET FILEFORMAT INPUTFORMAT 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat' +OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat' +SERDE 'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'; + +SELECT * FROM parquet_table_json_partition_temp LIMIT 100; + +CREATE TEMPORARY TABLE new_table_temp AS SELECT * FROM parquet_table_json_partition_temp LIMIT 100; + +SELECT * FROM new_table_temp; + + diff --git a/ql/src/test/queries/clientpositive/temp_table_parquet_partitioned.q b/ql/src/test/queries/clientpositive/temp_table_parquet_partitioned.q new file mode 100644 index 0000000000..5735eab523 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_parquet_partitioned.q @@ -0,0 +1,40 @@ +--! qt:dataset:part + +set hive.vectorized.execution.enabled=false; +set hive.mapred.mode=nonstrict; +set hive.exec.dynamic.partition.mode=nonstrict; +set hive.exec.dynamic.partition=true; + +-- SORT_QUERY_RESULTS + +DROP TABLE parquet_partitioned_staging_temp; +DROP TABLE parquet_partitioned_temp; + +CREATE TEMPORARY TABLE parquet_partitioned_staging_temp ( + id int, + str string, + part string +) ROW FORMAT DELIMITED +FIELDS TERMINATED BY '|'; + +CREATE TEMPORARY TABLE parquet_partitioned_temp ( + id int, + str string +) PARTITIONED BY (part string) +STORED AS PARQUET; + +DESCRIBE FORMATTED parquet_partitioned_temp; + +LOAD DATA LOCAL INPATH '../../data/files/parquet_partitioned.txt' OVERWRITE INTO TABLE parquet_partitioned_staging_temp; + +SELECT * FROM parquet_partitioned_staging_temp; + +INSERT OVERWRITE TABLE parquet_partitioned_temp PARTITION (part) SELECT * FROM parquet_partitioned_staging_temp; + +set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; +SELECT * FROM parquet_partitioned_temp; +SELECT part, COUNT(0) FROM parquet_partitioned_temp GROUP BY part; + +set hive.input.format=org.apache.hadoop.hive.ql.io.CombineHiveInputFormat; +SELECT * FROM parquet_partitioned_temp; +SELECT part, COUNT(0) FROM parquet_partitioned_temp GROUP BY part; diff --git a/ql/src/test/queries/clientpositive/temp_table_parquet_ppd_partition.q b/ql/src/test/queries/clientpositive/temp_table_parquet_ppd_partition.q new file mode 100644 index 0000000000..75d80eff31 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_parquet_ppd_partition.q @@ -0,0 +1,10 @@ +set hive.vectorized.execution.enabled=false; +SET hive.optimize.index.filter=true; +SET hive.optimize.ppd=true; + +-- Test predicate with partitioned columns +CREATE TEMPORARY TABLE part1_n1_temp (id int, content string) PARTITIONED BY (p string) STORED AS PARQUET; +ALTER TABLE part1_n1_temp ADD PARTITION (p='p1'); +INSERT INTO TABLE part1_n1_temp PARTITION (p='p1') VALUES (1, 'a'), (2, 'b'); +SELECT * FROM part1_n1_temp; +DROP TABLE part1_n1_temp PURGE; \ No newline at end of file diff --git a/ql/src/test/queries/clientpositive/temp_table_partInit.q b/ql/src/test/queries/clientpositive/temp_table_partInit.q new file mode 100644 index 0000000000..6dcdd77e4d --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_partInit.q @@ -0,0 +1,14 @@ +set hive.mapred.mode=nonstrict; +set metastore.integral.jdo.pushdown=true; +CREATE TABLE empty_n1 (c INT) PARTITIONED BY (p INT); +SELECT MAX(c) FROM empty_n1; +SELECT MAX(p) FROM empty_n1; + +ALTER TABLE empty_n1 ADD PARTITION (p=1); + +set hive.optimize.metadataonly=true; +SELECT MAX(p) FROM empty_n1; + +set hive.optimize.metadataonly=false; +SELECT MAX(p) FROM empty_n1; + diff --git a/ql/src/test/queries/clientpositive/temp_table_partcols1.q b/ql/src/test/queries/clientpositive/temp_table_partcols1.q new file mode 100644 index 0000000000..da8e88c6ab --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_partcols1.q @@ -0,0 +1,20 @@ +--! qt:dataset:src +set metastore.integral.jdo.pushdown=true; + +create temporary table test1_n15_temp(col1 string) partitioned by (partitionid int); +insert overwrite table test1_n15_temp partition (partitionid=1) + select key from src tablesample (10 rows); + +FROM ( + FROM test1_n15_temp + 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); \ No newline at end of file diff --git a/ql/src/test/queries/clientpositive/temp_table_partition_boolean.q b/ql/src/test/queries/clientpositive/temp_table_partition_boolean.q new file mode 100644 index 0000000000..b3d63e13d0 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_partition_boolean.q @@ -0,0 +1,34 @@ +-- SORT_QUERY_RESULTS + +CREATE TEMPORARY TABLE broken_temp (c int) PARTITIONED BY (b1 BOOLEAN, s STRING, b2 BOOLEAN, i INT); + +-- Insert a few variants of 'false' partition-key values.; +INSERT INTO TABLE broken_temp PARTITION(b1=false,s='a',b2=false,i=0) VALUES(1); +INSERT INTO TABLE broken_temp PARTITION(b1=FALSE,s='a',b2=false,i=0) VALUES(3); +INSERT INTO TABLE broken_temp PARTITION(b1='no',s='a',b2=False,i=0) VALUES(5); +INSERT INTO TABLE broken_temp PARTITION(b1='off',s='a',b2='0',i=0) VALUES(7); + +select * from broken_temp where b1=false and b2=false; + +-- Insert a few variants of 'true' partition-key values.; +INSERT INTO TABLE broken_temp PARTITION(b1=true,s='a',b2=true,i=0) VALUES(2); +INSERT INTO TABLE broken_temp PARTITION(b1=TRUE,s='a',b2=true,i=0) VALUES(4); +INSERT INTO TABLE broken_temp PARTITION(b1='yes',s='a',b2=True,i=0) VALUES(6); +INSERT INTO TABLE broken_temp PARTITION(b1='1',s='a',b2='on',i=0) VALUES(8); + +select * from broken_temp where b1 is true and b2 is true; + +-- Insert a few variants of mixed 'true'/'false' partition-key values.; +INSERT INTO TABLE broken_temp PARTITION(b1=false,s='a',b2=true,i=0) VALUES(100); +INSERT INTO TABLE broken_temp PARTITION(b1=FALSE,s='a',b2=TRUE,i=0) VALUES(1000); +INSERT INTO TABLE broken_temp PARTITION(b1=true,s='a',b2=false,i=0) VALUES(10000); +INSERT INTO TABLE broken_temp PARTITION(b1=tRUe,s='a',b2=fALSe,i=0) VALUES(100000); + +select * from broken_temp where b1 is true and b2=false; +select * from broken_temp where b1=false and b2 is true; + +select count(*) from broken_temp; +select * from broken_temp; + +show partitions broken_temp; + diff --git a/ql/src/test/queries/clientpositive/temp_table_partition_boolexpr.q b/ql/src/test/queries/clientpositive/temp_table_partition_boolexpr.q new file mode 100644 index 0000000000..ba7c561bc9 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_partition_boolexpr.q @@ -0,0 +1,15 @@ +--! qt:dataset:srcpart +set hive.mapred.mode=nonstrict; +-- create testing table. +create temporary table part_boolexpr_temp(key int, value string) partitioned by (dt int, ts string); + +-- both the below queries should return 0 rows +select count(*) from part_boolexpr_temp where key = 'abc'; +select * from part_boolexpr_temp where dt = 'abc'; +explain select count(1) from srcpart where true; +explain select count(1) from srcpart where false; +explain select count(1) from srcpart where true and hr='11'; +explain select count(1) from srcpart where true or hr='11'; +explain select count(1) from srcpart where false or hr='11'; +explain select count(1) from srcpart where false and hr='11'; +explain select count(1) from srcpart where INPUT__FILE__NAME is not null; diff --git a/ql/src/test/queries/clientpositive/temp_table_partition_char.q b/ql/src/test/queries/clientpositive/temp_table_partition_char.q new file mode 100644 index 0000000000..dd796b92b2 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_partition_char.q @@ -0,0 +1,12 @@ +--! qt:dataset:src +set hive.mapred.mode=nonstrict; +drop table partition_char_1_temp; + +create temporary table partition_char_1_temp (key string, value char(20)) partitioned by (dt char(10), region int); + +insert overwrite table partition_char_1_temp partition(dt='2000-01-01', region=1) + select * from src tablesample (10 rows); + +select * from partition_char_1_temp limit 1; + +drop table partition_char_1_temp; diff --git a/ql/src/test/queries/clientpositive/temp_table_partition_condition_remover.q b/ql/src/test/queries/clientpositive/temp_table_partition_condition_remover.q new file mode 100644 index 0000000000..e65877cad8 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_partition_condition_remover.q @@ -0,0 +1,14 @@ +--! qt:dataset:alltypesorc + +drop table foo_n5_temp; + +create temporary table foo_n5_temp (i int) partitioned by (s string); + +insert overwrite table foo_n5_temp partition(s='foo_n5_temp') select cint from alltypesorc limit 10; +insert overwrite table foo_n5_temp partition(s='bar') select cint from alltypesorc limit 10; + +explain select * from foo_n5_temp where s not in ('bar'); +select * from foo_n5_temp where s not in ('bar'); + + +drop table foo_n5_temp; \ No newline at end of file diff --git a/ql/src/test/queries/clientpositive/temp_table_partition_ctas.q b/ql/src/test/queries/clientpositive/temp_table_partition_ctas.q new file mode 100644 index 0000000000..1d5505930f --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_partition_ctas.q @@ -0,0 +1,51 @@ +--! qt:dataset:src + +EXPLAIN +CREATE TEMPORARY TABLE partition_ctas_1_temp PARTITIONED BY (key) AS + SELECT value, key FROM src where key > 200 and key < 300; + +CREATE TABLE partition_ctas_1_temp PARTITIONED BY (key) AS + SELECT value, key FROM src where key > 200 and key < 300; + +DESCRIBE FORMATTED partition_ctas_1_temp; + +EXPLAIN +SELECT * FROM partition_ctas_1_temp where key = 238; + +SELECT * FROM partition_ctas_1_temp where key = 238; + +CREATE TEMPORARY TABLE partition_ctas_2_temp PARTITIONED BY (value) AS + SELECT key, value FROM src where key > 200 and key < 300; + +EXPLAIN +SELECT * FROM partition_ctas_2_temp where value = 'val_238'; + +SELECT * FROM partition_ctas_2_temp where value = 'val_238'; + +EXPLAIN +SELECT value FROM partition_ctas_2_temp where key = 238; + +SELECT value FROM partition_ctas_2_temp where key = 238; + +CREATE TEMPORARY TABLE partition_ctas_diff_order_temp PARTITIONED BY (value) AS + SELECT value, key FROM src where key > 200 and key < 300; + +EXPLAIN +SELECT * FROM partition_ctas_diff_order_temp where value = 'val_238'; + +SELECT * FROM partition_ctas_diff_order_temp where value = 'val_238'; + +CREATE TEMPORARY TABLE partition_ctas_complex_order_temp PARTITIONED BY (c0, c4, c1) AS + SELECT concat(value, '_0') as c0, + concat(value, '_1') as c1, + concat(value, '_2') as c2, + concat(value, '_3') as c3, + concat(value, '_5') as c5, + concat(value, '_4') as c4 + FROM src where key > 200 and key < 240; + +-- c2, c3, c5, c0, c4, c1 +EXPLAIN +SELECT * FROM partition_ctas_complex_order_temp where c0 = 'val_238_0'; + +SELECT * FROM partition_ctas_complex_order_temp where c0 = 'val_238_0'; diff --git a/ql/src/test/queries/clientpositive/temp_table_partition_date.q b/ql/src/test/queries/clientpositive/temp_table_partition_date.q new file mode 100644 index 0000000000..6f3fd0a2fb --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_partition_date.q @@ -0,0 +1,60 @@ +--! qt:dataset:src +set hive.mapred.mode=nonstrict; +drop table partition_date_1_temp; + +create temporary table partition_date_1_temp (key string, value string) partitioned by (dt date, region string); + +insert overwrite table partition_date_1_temp partition(dt='2000-01-01', region= '1') + select * from src tablesample (10 rows); +insert overwrite table partition_date_1_temp partition(dt='2000-01-01', region= '2') + select * from src tablesample (5 rows); +insert overwrite table partition_date_1_temp partition(dt='2013-12-10', region= '2020-20-20') + select * from src tablesample (5 rows); +insert overwrite table partition_date_1_temp partition(dt='2013-08-08', region= '1') + select * from src tablesample (20 rows); +insert overwrite table partition_date_1_temp partition(dt='2013-08-08', region= '10') + select * from src tablesample (11 rows); + + +select distinct dt from partition_date_1_temp; +select * from partition_date_1_temp where dt = '2000-01-01' and region = '2' order by key,value; + +-- 15 +select count(*) from partition_date_1_temp where dt = date '2000-01-01'; +-- 15. Also try with string value in predicate +select count(*) from partition_date_1_temp where dt = '2000-01-01'; +-- 5 +select count(*) from partition_date_1_temp where dt = date '2000-01-01' and region = '2'; +-- 11 +select count(*) from partition_date_1_temp where dt = date '2013-08-08' and region = '10'; +-- 30 +select count(*) from partition_date_1_temp where region = '1'; +-- 0 +select count(*) from partition_date_1_temp where dt = date '2000-01-01' and region = '3'; +-- 0 +select count(*) from partition_date_1_temp where dt = date '1999-01-01'; + +-- Try other comparison operations + +-- 20 +select count(*) from partition_date_1_temp where dt > date '2000-01-01' and region = '1'; +-- 10 +select count(*) from partition_date_1_temp where dt < date '2000-01-02' and region = '1'; +-- 20 +select count(*) from partition_date_1_temp where dt >= date '2000-01-02' and region = '1'; +-- 10 +select count(*) from partition_date_1_temp where dt <= date '2000-01-01' and region = '1'; +-- 20 +select count(*) from partition_date_1_temp where dt <> date '2000-01-01' and region = '1'; +-- 10 +select count(*) from partition_date_1_temp where dt between date '1999-12-30' and date '2000-01-03' and region = '1'; + + +-- Try a string key with date-like strings + +-- 5 +select count(*) from partition_date_1_temp where region = '2020-20-20'; +-- 5 +select count(*) from partition_date_1_temp where region > '2010-01-01'; + +drop table partition_date_1_temp; diff --git a/ql/src/test/queries/clientpositive/temp_table_partition_decode_name.q b/ql/src/test/queries/clientpositive/temp_table_partition_decode_name.q new file mode 100644 index 0000000000..8185036d85 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_partition_decode_name.q @@ -0,0 +1,22 @@ +--! qt:dataset:src +create temporary table sc_n0_temp as select * + from (select '2011-01-11', '2011-01-11+14:18:26' from src tablesample (1 rows) + union all + select '2011-01-11', '2011-01-11+15:18:26' from src tablesample (1 rows) + union all + select '2011-01-11', '2011-01-11+16:18:26' from src tablesample (1 rows) ) s; + +create table sc_part_n0_temp (key string) partitioned by (ts string) stored as rcfile; + +set hive.exec.dynamic.partition=true; +set hive.exec.dynamic.partition.mode=nonstrict; + +set hive.decode.partition.name=false; +insert overwrite table sc_part_n0_temp partition(ts) select * from sc_n0_temp; +show partitions sc_part_n0_temp; +select count(*) from sc_part_n0_temp where ts is not null; + +set hive.decode.partition.name=true; +insert overwrite table sc_part_n0_temp partition(ts) select * from sc_n0_temp; +show partitions sc_part_n0_temp; +select count(*) from sc_part_n0_temp where ts is not null; diff --git a/ql/src/test/queries/clientpositive/temp_table_partition_multilevels.q b/ql/src/test/queries/clientpositive/temp_table_partition_multilevels.q new file mode 100644 index 0000000000..6232146969 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_partition_multilevels.q @@ -0,0 +1,95 @@ +--! qt:dataset:srcpart +set hive.mapred.mode=nonstrict; +create temporary table partition_test_multilevel_temp (key string, value string) partitioned by (level1 string, level2 string, level3 string); + +insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='111', level3='11') select key, value from srcpart tablesample (11 rows); +insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='111', level3='22') select key, value from srcpart tablesample (12 rows); +insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='111', level3='33') select key, value from srcpart tablesample (13 rows); +insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='111', level3='44') select key, value from srcpart tablesample (14 rows); + +insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='222', level3='11') select key, value from srcpart tablesample (15 rows); +insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='222', level3='22') select key, value from srcpart tablesample (16 rows); +insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='222', level3='33') select key, value from srcpart tablesample (17 rows); +insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='222', level3='44') select key, value from srcpart tablesample (18 rows); + +insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='333', level3='11') select key, value from srcpart tablesample (19 rows); +insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='333', level3='22') select key, value from srcpart tablesample (20 rows); +insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='333', level3='33') select key, value from srcpart tablesample (21 rows); +insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='333', level3='44') select key, value from srcpart tablesample (22 rows); + +insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='111', level3='11') select key, value from srcpart tablesample (11 rows); +insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='111', level3='22') select key, value from srcpart tablesample (12 rows); +insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='111', level3='33') select key, value from srcpart tablesample (13 rows); +insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='111', level3='44') select key, value from srcpart tablesample (14 rows); + +insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='222', level3='11') select key, value from srcpart tablesample (15 rows); +insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='222', level3='22') select key, value from srcpart tablesample (16 rows); +insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='222', level3='33') select key, value from srcpart tablesample (17 rows); +insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='222', level3='44') select key, value from srcpart tablesample (18 rows); + +insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='333', level3='11') select key, value from srcpart tablesample (19 rows); +insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='333', level3='22') select key, value from srcpart tablesample (20 rows); +insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='333', level3='33') select key, value from srcpart tablesample (21 rows); +insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='333', level3='44') select key, value from srcpart tablesample (22 rows); + +set metaconf:hive.metastore.try.direct.sql=false; + +-- beginning level partition in predicate +select level1, level2, level3, count(*) from partition_test_multilevel_temp where level1 = '2222' group by level1, level2, level3; +select level1, level2, level3, count(*) from partition_test_multilevel_temp where level1 >= '2222' group by level1, level2, level3; +select level1, level2, level3, count(*) from partition_test_multilevel_temp where level1 !='2222' group by level1, level2, level3; + +-- middle level partition in predicate +select level1, level2, level3, count(*) from partition_test_multilevel_temp where level2 = '222' group by level1, level2, level3; +select level1, level2, level3, count(*) from partition_test_multilevel_temp where level2 <= '222' group by level1, level2, level3; +select level1, level2, level3, count(*) from partition_test_multilevel_temp where level2 != '222' group by level1, level2, level3; + +-- ending level partition in predicate +select level1, level2, level3, count(*) from partition_test_multilevel_temp where level3 = '22' group by level1, level2, level3; +select level1, level2, level3, count(*) from partition_test_multilevel_temp where level3 >= '22' group by level1, level2, level3; +select level1, level2, level3, count(*) from partition_test_multilevel_temp where level3 != '22' group by level1, level2, level3; + +-- two different levels of partitions in predicate +select level1, level2, level3, count(*) from partition_test_multilevel_temp where level2 >= '222' and level3 = '33' group by level1, level2, level3; + +select level1, level2, level3, count(*) from partition_test_multilevel_temp where level1 <= '1111' and level3 >= '33' group by level1, level2, level3; + + +-- all levels of partitions in predicate +select level1, level2, level3, count(*) from partition_test_multilevel_temp where level1 = '2222' and level2 >= '222' and level3 <= '33' group by level1, level2, level3; + +-- between +select level1, level2, level3, count(*) from partition_test_multilevel_temp where (level1 = '2222') and (level2 between '222' and '333') and (level3 between '11' and '33') group by level1, level2, level3; + +explain select level1, level2, level3, count(*) from partition_test_multilevel_temp where (level1 = '2222') and (level2 between '222' and '333') and (level3 between '11' and '33') group by level1, level2, level3; + +set metaconf:hive.metastore.try.direct.sql=true; + +-- beginning level partition in predicate +select level1, level2, level3, count(*) from partition_test_multilevel_temp where level1 = '2222' group by level1, level2, level3; +select level1, level2, level3, count(*) from partition_test_multilevel_temp where level1 >= '2222' group by level1, level2, level3; +select level1, level2, level3, count(*) from partition_test_multilevel_temp where level1 !='2222' group by level1, level2, level3; + +-- middle level partition in predicate +select level1, level2, level3, count(*) from partition_test_multilevel_temp where level2 = '222' group by level1, level2, level3; +select level1, level2, level3, count(*) from partition_test_multilevel_temp where level2 <= '222' group by level1, level2, level3; +select level1, level2, level3, count(*) from partition_test_multilevel_temp where level2 != '222' group by level1, level2, level3; + +-- ending level partition in predicate +select level1, level2, level3, count(*) from partition_test_multilevel_temp where level3 = '22' group by level1, level2, level3; +select level1, level2, level3, count(*) from partition_test_multilevel_temp where level3 >= '22' group by level1, level2, level3; +select level1, level2, level3, count(*) from partition_test_multilevel_temp where level3 != '22' group by level1, level2, level3; + +-- two different levels of partitions in predicate +select level1, level2, level3, count(*) from partition_test_multilevel_temp where level2 >= '222' and level3 = '33' group by level1, level2, level3; + +select level1, level2, level3, count(*) from partition_test_multilevel_temp where level1 <= '1111' and level3 >= '33' group by level1, level2, level3; + + +-- all levels of partitions in predicate +select level1, level2, level3, count(*) from partition_test_multilevel_temp where level1 = '2222' and level2 >= '222' and level3 <= '33' group by level1, level2, level3; + +-- between +select level1, level2, level3, count(*) from partition_test_multilevel_temp where (level1 = '2222') and (level2 between '222' and '333') and (level3 between '11' and '33') group by level1, level2, level3; + +explain select level1, level2, level3, count(*) from partition_test_multilevel_temp where (level1 = '2222') and (level2 between '222' and '333') and (level3 between '11' and '33') group by level1, level2, level3; diff --git a/ql/src/test/queries/clientpositive/temp_table_partition_pruning.q b/ql/src/test/queries/clientpositive/temp_table_partition_pruning.q new file mode 100644 index 0000000000..db79ee797c --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_partition_pruning.q @@ -0,0 +1,15 @@ +create temporary table daysales_temp (customer int) partitioned by (dt string); + +insert into daysales_temp partition(dt='2001-01-01') values(1); +insert into daysales_temp partition(dt='2001-01-03') values(3); + +select * from daysales_temp where nvl(dt='2001-01-01' and customer=1, false); +select * from daysales_temp where nvl(dt='2001-01-02' and customer=1, false); +select * from daysales_temp where nvl(dt='2001-01-01' and customer=1, true); +select * from daysales_temp where (dt='2001-01-01' and customer=1); +select * from daysales_temp where (dt='2001-01-01' or customer=3); +select * from daysales_temp where (dt='2001-01-03' or customer=100); + +explain extended select * from daysales_temp where nvl(dt='2001-01-01' and customer=1, false); +explain extended select * from daysales_temp where nvl(dt='2001-01-01' or customer=3, false); +explain extended select * from daysales_temp where nvl(dt='2001-01-01' or customer=3, false); diff --git a/ql/src/test/queries/clientpositive/temp_table_partition_schema1.q b/ql/src/test/queries/clientpositive/temp_table_partition_schema1.q new file mode 100644 index 0000000000..ec937fa347 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_partition_schema1.q @@ -0,0 +1,13 @@ +--! qt:dataset:src1 + +create temporary table partition_schema1_temp(key string, value string) partitioned by (dt string); + +insert overwrite table partition_schema1_temp partition(dt='100') select * from src1; +desc partition_schema1_temp partition(dt='100'); + +alter table partition_schema1_temp add columns (x string); + +desc partition_schema1_temp; +desc partition_schema1_temp partition (dt='100'); + + diff --git a/ql/src/test/queries/clientpositive/temp_table_partition_special_char.q b/ql/src/test/queries/clientpositive/temp_table_partition_special_char.q new file mode 100644 index 0000000000..713b5a1cfc --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_partition_special_char.q @@ -0,0 +1,20 @@ +--! qt:dataset:src +create temporary table sc_temp as select * + from (select '2011-01-11', '2011-01-11+14:18:26' from src tablesample (1 rows) + union all + select '2011-01-11', '2011-01-11+15:18:26' from src tablesample (1 rows) + union all + select '2011-01-11', '2011-01-11+16:18:26' from src tablesample (1 rows) ) s; + +create temporary table sc_part_temp (key string) partitioned by (ts string) stored as rcfile; + +set hive.exec.dynamic.partition=true; +set hive.exec.dynamic.partition.mode=nonstrict; + +insert overwrite table sc_part_temp partition(ts) select * from sc_temp; +show partitions sc_part_temp; +select count(*) from sc_part_temp where ts is not null; + +insert overwrite table sc_part_temp partition(ts) select * from sc_temp; +show partitions sc_part_temp; +select count(*) from sc_part_temp where ts is not null; diff --git a/ql/src/test/queries/clientpositive/temp_table_partition_timestamp.q b/ql/src/test/queries/clientpositive/temp_table_partition_timestamp.q new file mode 100644 index 0000000000..09d4417fb0 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_partition_timestamp.q @@ -0,0 +1,59 @@ +--! qt:dataset:src +set hive.mapred.mode=nonstrict; +drop table partition_timestamp_1_temp; + +create temporary table partition_timestamp_1_temp (key string, value string) partitioned by (dt timestamp, region string); + +insert overwrite table partition_timestamp_1_temp partition(dt='2000-01-01 01:00:00', region= '1') + select * from src tablesample (10 rows); +insert overwrite table partition_timestamp_1_temp partition(dt='2000-01-01 02:00:00', region= '2') + select * from src tablesample (5 rows); +insert overwrite table partition_timestamp_1_temp partition(dt='2001-01-01 01:00:00', region= '2020-20-20') + select * from src tablesample (5 rows); +insert overwrite table partition_timestamp_1_temp partition(dt='2001-01-01 02:00:00', region= '1') + select * from src tablesample (20 rows); +insert overwrite table partition_timestamp_1_temp partition(dt='2001-01-01 03:00:00', region= '10') + select * from src tablesample (11 rows); + +select distinct dt from partition_timestamp_1_temp; +select * from partition_timestamp_1_temp where dt = '2000-01-01 01:00:00' and region = '2' order by key,value; + +-- 10 +select count(*) from partition_timestamp_1_temp where dt = timestamp '2000-01-01 01:00:00'; +-- 10. Also try with string value in predicate +select count(*) from partition_timestamp_1_temp where dt = '2000-01-01 01:00:00'; +-- 5 +select count(*) from partition_timestamp_1_temp where dt = timestamp '2000-01-01 02:00:00' and region = '2'; +-- 11 +select count(*) from partition_timestamp_1_temp where dt = timestamp '2001-01-01 03:00:00' and region = '10'; +-- 30 +select count(*) from partition_timestamp_1_temp where region = '1'; +-- 0 +select count(*) from partition_timestamp_1_temp where dt = timestamp '2000-01-01 01:00:00' and region = '3'; +-- 0 +select count(*) from partition_timestamp_1_temp where dt = timestamp '1999-01-01 01:00:00'; + +-- Try other comparison operations + +-- 20 +select count(*) from partition_timestamp_1_temp where dt > timestamp '2000-01-01 01:00:00' and region = '1'; +-- 10 +select count(*) from partition_timestamp_1_temp where dt < timestamp '2000-01-02 01:00:00' and region = '1'; +-- 20 +select count(*) from partition_timestamp_1_temp where dt >= timestamp '2000-01-02 01:00:00' and region = '1'; +-- 10 +select count(*) from partition_timestamp_1_temp where dt <= timestamp '2000-01-01 01:00:00' and region = '1'; +-- 20 +select count(*) from partition_timestamp_1_temp where dt <> timestamp '2000-01-01 01:00:00' and region = '1'; +-- 10 +select count(*) from partition_timestamp_1_temp where dt between timestamp '1999-12-30 12:00:00' and timestamp '2000-01-03 12:00:00' and region = '1'; + + +-- Try a string key with timestamp-like strings + +-- 5 +select count(*) from partition_timestamp_1_temp where region = '2020-20-20'; +-- 5 +select count(*) from partition_timestamp_1_temp where region > '2010-01-01'; + +drop table partition_timestamp_1_temp; diff --git a/ql/src/test/queries/clientpositive/temp_table_partition_type_check.q b/ql/src/test/queries/clientpositive/temp_table_partition_type_check.q new file mode 100644 index 0000000000..d0dc355a03 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_partition_type_check.q @@ -0,0 +1,26 @@ +--! qt:dataset:part +set hive.mapred.mode=nonstrict; +set hive.typecheck.on.insert = true; + +-- begin part(string, string) pass(string, int) +CREATE TEMPORARY TABLE tab1_n3_temp (id1 int,id2 string) PARTITIONED BY(month string,day string) stored as textfile; +LOAD DATA LOCAL INPATH '../../data/files/T1.txt' overwrite into table tab1_n3_temp PARTITION(month='June', day=2); + +select * from tab1_n3_temp; +drop table tab1_n3_temp; + +-- begin part(string, int) pass(string, string) +CREATE TABLE tab1_n3_temp (id1 int,id2 string) PARTITIONED BY(month string,day int) stored as textfile; +LOAD DATA LOCAL INPATH '../../data/files/T1.txt' overwrite into table tab1_n3_temp PARTITION(month='June', day='2'); + +select * from tab1_n3_temp; +drop table tab1_n3_temp; + +-- begin part(string, date) pass(string, date) +create table tab1_n3_temp (id1 int, id2 string) PARTITIONED BY(month string,day date) stored as textfile; +alter table tab1_n3_temp add partition (month='June', day='2008-01-01'); +LOAD DATA LOCAL INPATH '../../data/files/T1.txt' overwrite into table tab1_n3_temp PARTITION(month='June', day='2008-01-01'); + +select id1, id2, day from tab1_n3_temp where day='2008-01-01'; +drop table tab1_n3_temp; + diff --git a/ql/src/test/queries/clientpositive/temp_table_partition_type_in_plan.q b/ql/src/test/queries/clientpositive/temp_table_partition_type_in_plan.q new file mode 100644 index 0000000000..aaf8f77c5c --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_partition_type_in_plan.q @@ -0,0 +1,16 @@ +--! qt:dataset:src +-- Test partition column type is considered as the type given in table def +-- and not as 'string' +CREATE TEMPORARY TABLE datePartTbl_temp(col1 string) PARTITIONED BY (date_prt date); + +-- Add test partitions and some sample data +INSERT OVERWRITE TABLE datePartTbl_temp PARTITION(date_prt='2014-08-09') + SELECT 'col1-2014-08-09' FROM src LIMIT 1; + +INSERT OVERWRITE TABLE datePartTbl_temp PARTITION(date_prt='2014-08-10') + SELECT 'col1-2014-08-10' FROM src LIMIT 1; + +-- Query where 'date_prt' value is restricted to given values in IN operator. +SELECT * FROM datePartTbl_temp WHERE date_prt IN (CAST('2014-08-09' AS DATE), CAST('2014-08-08' AS DATE)); + +DROP TABLE datePartTbl_temp; diff --git a/ql/src/test/queries/clientpositive/temp_table_partition_wise_fileformat.q b/ql/src/test/queries/clientpositive/temp_table_partition_wise_fileformat.q new file mode 100644 index 0000000000..1b9d56b0c9 --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_partition_wise_fileformat.q @@ -0,0 +1,34 @@ +--! qt:dataset:src1 +set hive.mapred.mode=nonstrict; + + +create temporary table partition_test_partitioned_n1_temp(key string, value string) partitioned by (dt string); + +insert overwrite table partition_test_partitioned_n1_temp partition(dt=100) select * from src1; +show table extended like partition_test_partitioned_n1_temp; +show table extended like partition_test_partitioned_n1_temp partition(dt=100); +select key from partition_test_partitioned_n1_temp where dt=100; +select key from partition_test_partitioned_n1_temp; + +alter table partition_test_partitioned_n1_temp set fileformat rcfile; +insert overwrite table partition_test_partitioned_n1_temp partition(dt=101) select * from src1; +show table extended like partition_test_partitioned_n1_temp; +show table extended like partition_test_partitioned_n1_temp partition(dt=100); +show table extended like partition_test_partitioned_n1_temp partition(dt=101); +select key from partition_test_partitioned_n1_temp where dt=100; +select key from partition_test_partitioned_n1_temp where dt=101; +select key from partition_test_partitioned_n1_temp; + +alter table partition_test_partitioned_n1_temp set fileformat Sequencefile; +insert overwrite table partition_test_partitioned_n1_temp partition(dt=102) select * from src1; +show table extended like partition_test_partitioned_n1_temp; +show table extended like partition_test_partitioned_n1_temp partition(dt=100); +show table extended like partition_test_partitioned_n1_temp partition(dt=101); +show table extended like partition_test_partitioned_n1_temp partition(dt=102); +select key from partition_test_partitioned_n1_temp where dt=100; +select key from partition_test_partitioned_n1_temp where dt=101; +select key from partition_test_partitioned_n1_temp where dt=102; +select key from partition_test_partitioned_n1_temp; + +select key from partition_test_partitioned_n1_temp where dt >=100 and dt <= 102; + diff --git a/ql/src/test/queries/clientpositive/temp_table_partitions_json.q b/ql/src/test/queries/clientpositive/temp_table_partitions_json.q new file mode 100644 index 0000000000..33d7e1e9fe --- /dev/null +++ b/ql/src/test/queries/clientpositive/temp_table_partitions_json.q @@ -0,0 +1,21 @@ +set hive.ddl.output.format=json; + +CREATE TEMPORARY TABLE add_part_test_n0_temp (key STRING, value STRING) PARTITIONED BY (ds STRING); +SHOW PARTITIONS add_part_test_n0_temp; + +ALTER TABLE add_part_test_n0_temp ADD PARTITION (ds='2010-01-01'); +SHOW PARTITIONS add_part_test_n0_temp; + +ALTER TABLE add_part_test_n0_temp ADD IF NOT EXISTS PARTITION (ds='2010-01-01'); +SHOW PARTITIONS add_part_test_n0_temp; + +ALTER TABLE add_part_test_n0_temp ADD IF NOT EXISTS PARTITION (ds='2010-01-02'); +SHOW PARTITIONS add_part_test_n0_temp; + +SHOW TABLE EXTENDED LIKE add_part_test_n0_temp PARTITION (ds='2010-01-02'); + +ALTER TABLE add_part_test_n0_temp DROP PARTITION (ds='2010-01-02'); + +DROP TABLE add_part_test_n0_temp; + +set hive.ddl.output.format=text; diff --git a/ql/src/test/results/clientnegative/temp_table_addpart1.q.out b/ql/src/test/results/clientnegative/temp_table_addpart1.q.out new file mode 100644 index 0000000000..524a8e6de9 --- /dev/null +++ b/ql/src/test/results/clientnegative/temp_table_addpart1.q.out @@ -0,0 +1,26 @@ +PREHOOK: query: create temporary table addpart1_temp (a int) partitioned by (b string, c string) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@addpart1_temp +POSTHOOK: query: create temporary table addpart1_temp (a int) partitioned by (b string, c string) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@addpart1_temp +PREHOOK: query: alter table addpart1_temp add partition (b='f', c='s') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@addpart1_temp +POSTHOOK: query: alter table addpart1_temp add partition (b='f', c='s') +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@addpart1_temp +POSTHOOK: Output: default@addpart1_temp@b=f/c=s +PREHOOK: query: show partitions addpart1_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@addpart1_temp +POSTHOOK: query: show partitions addpart1_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@addpart1_temp +b=f/c=s +PREHOOK: query: alter table addpart1_temp add partition (b='f', c='') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@addpart1_temp +FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.ddl.DDLTask. partition spec is invalid; field c does not exist or is empty diff --git a/ql/src/test/results/clientnegative/temp_table_alter_rename_partition_failure.q.out b/ql/src/test/results/clientnegative/temp_table_alter_rename_partition_failure.q.out new file mode 100644 index 0000000000..66e4abb345 --- /dev/null +++ b/ql/src/test/results/clientnegative/temp_table_alter_rename_partition_failure.q.out @@ -0,0 +1,37 @@ +PREHOOK: query: create temporary table alter_rename_partition_src_temp ( col1 string ) stored as textfile +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@alter_rename_partition_src_temp +POSTHOOK: query: create temporary table alter_rename_partition_src_temp ( col1 string ) stored as textfile +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@alter_rename_partition_src_temp +PREHOOK: query: load data local inpath '../../data/files/test.dat' overwrite into table alter_rename_partition_src_temp +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@alter_rename_partition_src_temp +POSTHOOK: query: load data local inpath '../../data/files/test.dat' overwrite into table alter_rename_partition_src_temp +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@alter_rename_partition_src_temp +PREHOOK: query: create temporary table alter_rename_partition_temp ( col1 string ) partitioned by (pcol1 string , pcol2 string) stored as sequencefile +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@alter_rename_partition_temp +POSTHOOK: query: create temporary table alter_rename_partition_temp ( col1 string ) partitioned by (pcol1 string , pcol2 string) stored as sequencefile +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@alter_rename_partition_temp +PREHOOK: query: insert overwrite table alter_rename_partition_temp partition (pCol1='old_part1', pcol2='old_part2') select col1 from alter_rename_partition_src_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_rename_partition_src_temp +PREHOOK: Output: default@alter_rename_partition_temp@pcol1=old_part1/pcol2=old_part2 +POSTHOOK: query: insert overwrite table alter_rename_partition_temp partition (pCol1='old_part1', pcol2='old_part2') select col1 from alter_rename_partition_src_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_rename_partition_src_temp +POSTHOOK: Output: default@alter_rename_partition_temp@pcol1=old_part1/pcol2=old_part2 +POSTHOOK: Lineage: alter_rename_partition_temp PARTITION(pcol1=old_part1,pcol2=old_part2).col1 SIMPLE [(alter_rename_partition_src_temp)alter_rename_partition_src_temp.FieldSchema(name:col1, type:string, comment:null), ] +PREHOOK: query: alter table alter_rename_partition_temp partition (pCol1='nonexist_part1', pcol2='nonexist_part2') rename to partition (pCol1='new_part1', pcol2='new_part2') +PREHOOK: type: ALTERTABLE_RENAMEPART +PREHOOK: Input: default@alter_rename_partition_temp +FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.ddl.DDLTask. Rename partition: source partition [pcol1=nonexist_part1/pcol2=nonexist_part2] does not exist. diff --git a/ql/src/test/results/clientnegative/temp_table_alter_rename_partition_failure2.q.out b/ql/src/test/results/clientnegative/temp_table_alter_rename_partition_failure2.q.out new file mode 100644 index 0000000000..2e3b2c170b --- /dev/null +++ b/ql/src/test/results/clientnegative/temp_table_alter_rename_partition_failure2.q.out @@ -0,0 +1,46 @@ +PREHOOK: query: create temporary table alter_rename_partition_src_temp ( col1 string ) stored as textfile +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@alter_rename_partition_src_temp +POSTHOOK: query: create temporary table alter_rename_partition_src_temp ( col1 string ) stored as textfile +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@alter_rename_partition_src_temp +PREHOOK: query: load data local inpath '../../data/files/test.dat' overwrite into table alter_rename_partition_src_temp +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@alter_rename_partition_src_temp +POSTHOOK: query: load data local inpath '../../data/files/test.dat' overwrite into table alter_rename_partition_src_temp +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@alter_rename_partition_src_temp +PREHOOK: query: create temporary table alter_rename_partition_temp ( col1 string ) partitioned by (pcol1 string , pcol2 string) stored as sequencefile +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@alter_rename_partition_temp +POSTHOOK: query: create temporary table alter_rename_partition_temp ( col1 string ) partitioned by (pcol1 string , pcol2 string) stored as sequencefile +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@alter_rename_partition_temp +PREHOOK: query: insert overwrite table alter_rename_partition_temp partition (pcol1='old_part1:', pcol2='old_part2:') select col1 from alter_rename_partition_src_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_rename_partition_src_temp +PREHOOK: Output: default@alter_rename_partition_temp@pcol1=old_part1%3A/pcol2=old_part2%3A +POSTHOOK: query: insert overwrite table alter_rename_partition_temp partition (pcol1='old_part1:', pcol2='old_part2:') select col1 from alter_rename_partition_src_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_rename_partition_src_temp +POSTHOOK: Output: default@alter_rename_partition_temp@pcol1=old_part1%3A/pcol2=old_part2%3A +POSTHOOK: Lineage: alter_rename_partition_temp PARTITION(pcol1=old_part1:,pcol2=old_part2:).col1 SIMPLE [(alter_rename_partition_src_temp)alter_rename_partition_src_temp.FieldSchema(name:col1, type:string, comment:null), ] +PREHOOK: query: alter table alter_rename_partition_temp add partition(pcol1='new_part1:', pcol2='new_part2:') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@alter_rename_partition_temp +POSTHOOK: query: alter table alter_rename_partition_temp add partition(pcol1='new_part1:', pcol2='new_part2:') +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@alter_rename_partition_temp +POSTHOOK: Output: default@alter_rename_partition_temp@pcol1=new_part1%3A/pcol2=new_part2%3A +PREHOOK: query: alter table alter_rename_partition_temp partition (pcol1='old_part1:', pcol2='old_part2:') rename to partition (pcol1='new_part1:', pcol2='new_part2:') +PREHOOK: type: ALTERTABLE_RENAMEPART +PREHOOK: Input: default@alter_rename_partition_temp +PREHOOK: Output: default@alter_rename_partition_temp@pcol1=new_part1%3A/pcol2=new_part2%3A +PREHOOK: Output: default@alter_rename_partition_temp@pcol1=old_part1%3A/pcol2=old_part2%3A +FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.ddl.DDLTask. Unable to rename partition. Partition pcol1=new_part1%3A/pcol2=new_part2%3A already exists diff --git a/ql/src/test/results/clientnegative/temp_table_alter_rename_partition_failure3.q.out b/ql/src/test/results/clientnegative/temp_table_alter_rename_partition_failure3.q.out new file mode 100644 index 0000000000..d4a234c3c6 --- /dev/null +++ b/ql/src/test/results/clientnegative/temp_table_alter_rename_partition_failure3.q.out @@ -0,0 +1,34 @@ +PREHOOK: query: create temporary table alter_rename_partition_src_temp ( col1 string ) stored as textfile +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@alter_rename_partition_src_temp +POSTHOOK: query: create temporary table alter_rename_partition_src_temp ( col1 string ) stored as textfile +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@alter_rename_partition_src_temp +PREHOOK: query: load data local inpath '../../data/files/test.dat' overwrite into table alter_rename_partition_src_temp +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@alter_rename_partition_src_temp +POSTHOOK: query: load data local inpath '../../data/files/test.dat' overwrite into table alter_rename_partition_src_temp +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@alter_rename_partition_src_temp +PREHOOK: query: create temporary table alter_rename_partition_temp ( col1 string ) partitioned by (pcol1 string , pcol2 string) stored as sequencefile +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@alter_rename_partition_temp +POSTHOOK: query: create temporary table alter_rename_partition_temp ( col1 string ) partitioned by (pcol1 string , pcol2 string) stored as sequencefile +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@alter_rename_partition_temp +PREHOOK: query: insert overwrite table alter_rename_partition_temp partition (pCol1='old_part1:', pcol2='old_part2:') select col1 from alter_rename_partition_src_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_rename_partition_src_temp +PREHOOK: Output: default@alter_rename_partition_temp@pcol1=old_part1%3A/pcol2=old_part2%3A +POSTHOOK: query: insert overwrite table alter_rename_partition_temp partition (pCol1='old_part1:', pcol2='old_part2:') select col1 from alter_rename_partition_src_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_rename_partition_src_temp +POSTHOOK: Output: default@alter_rename_partition_temp@pcol1=old_part1%3A/pcol2=old_part2%3A +POSTHOOK: Lineage: alter_rename_partition_temp PARTITION(pcol1=old_part1:,pcol2=old_part2:).col1 SIMPLE [(alter_rename_partition_src_temp)alter_rename_partition_src_temp.FieldSchema(name:col1, type:string, comment:null), ] +FAILED: ValidationFailureSemanticException default.alter_rename_partition_temp: Partition spec {pcol1=old_part1:, pcol2=old_part2:, pcol3=old_part3:} contains non-partition columns diff --git a/ql/src/test/results/clientnegative/temp_table_drop_partition_failure.q.out b/ql/src/test/results/clientnegative/temp_table_drop_partition_failure.q.out new file mode 100644 index 0000000000..9879766549 --- /dev/null +++ b/ql/src/test/results/clientnegative/temp_table_drop_partition_failure.q.out @@ -0,0 +1,39 @@ +PREHOOK: query: create temporary table mp (a string) partitioned by (b string, c string) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@mp +POSTHOOK: query: create temporary table mp (a string) partitioned by (b string, c string) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@mp +PREHOOK: query: alter table mp add partition (b='1', c='1') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@mp +POSTHOOK: query: alter table mp add partition (b='1', c='1') +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@mp +POSTHOOK: Output: default@mp@b=1/c=1 +PREHOOK: query: alter table mp add partition (b='1', c='2') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@mp +POSTHOOK: query: alter table mp add partition (b='1', c='2') +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@mp +POSTHOOK: Output: default@mp@b=1/c=2 +PREHOOK: query: alter table mp add partition (b='2', c='2') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@mp +POSTHOOK: query: alter table mp add partition (b='2', c='2') +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@mp +POSTHOOK: Output: default@mp@b=2/c=2 +PREHOOK: query: show partitions mp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@mp +POSTHOOK: query: show partitions mp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@mp +b=1/c=1 +b=1/c=2 +b=2/c=2 +FAILED: SemanticException Unexpected unknown partitions for (b = '3') diff --git a/ql/src/test/results/clientnegative/temp_table_drop_partition_filter_failure.q.out b/ql/src/test/results/clientnegative/temp_table_drop_partition_filter_failure.q.out new file mode 100644 index 0000000000..7de1970583 --- /dev/null +++ b/ql/src/test/results/clientnegative/temp_table_drop_partition_filter_failure.q.out @@ -0,0 +1,23 @@ +PREHOOK: query: create temporary table ptestfilter1 (a string, b int) partitioned by (c string, d string) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@ptestfilter1 +POSTHOOK: query: create temporary table ptestfilter1 (a string, b int) partitioned by (c string, d string) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@ptestfilter1 +PREHOOK: query: alter table ptestfilter1 add partition (c='US', d=1) +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@ptestfilter1 +POSTHOOK: query: alter table ptestfilter1 add partition (c='US', d=1) +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@ptestfilter1 +POSTHOOK: Output: default@ptestfilter1@c=US/d=1 +PREHOOK: query: show partitions ptestfilter1 +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@ptestfilter1 +POSTHOOK: query: show partitions ptestfilter1 +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@ptestfilter1 +c=US/d=1 +FAILED: SemanticException Unexpected unknown partitions for ((c = 'US') and (d < '1')) diff --git a/ql/src/test/results/clientnegative/temp_table_exchange_partitions.q.out b/ql/src/test/results/clientnegative/temp_table_exchange_partitions.q.out new file mode 100644 index 0000000000..5d94a7b087 --- /dev/null +++ b/ql/src/test/results/clientnegative/temp_table_exchange_partitions.q.out @@ -0,0 +1,65 @@ +PREHOOK: query: create database ex1 +PREHOOK: type: CREATEDATABASE +PREHOOK: Output: database:ex1 +POSTHOOK: query: create database ex1 +POSTHOOK: type: CREATEDATABASE +POSTHOOK: Output: database:ex1 +PREHOOK: query: create database ex2 +PREHOOK: type: CREATEDATABASE +PREHOOK: Output: database:ex2 +POSTHOOK: query: create database ex2 +POSTHOOK: type: CREATEDATABASE +POSTHOOK: Output: database:ex2 +PREHOOK: query: CREATE TEMPORARY TABLE ex1.exchange_part_test1 (f1 string) PARTITIONED BY (ds STRING) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:ex1 +PREHOOK: Output: ex1@exchange_part_test1 +POSTHOOK: query: CREATE TEMPORARY TABLE ex1.exchange_part_test1 (f1 string) PARTITIONED BY (ds STRING) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:ex1 +POSTHOOK: Output: ex1@exchange_part_test1 +PREHOOK: query: CREATE TABLE ex2.exchange_part_test2 (f1 string) PARTITIONED BY (ds STRING) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:ex2 +PREHOOK: Output: ex2@exchange_part_test2 +POSTHOOK: query: CREATE TABLE ex2.exchange_part_test2 (f1 string) PARTITIONED BY (ds STRING) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:ex2 +POSTHOOK: Output: ex2@exchange_part_test2 +PREHOOK: query: SHOW PARTITIONS ex1.exchange_part_test1 +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: ex1@exchange_part_test1 +POSTHOOK: query: SHOW PARTITIONS ex1.exchange_part_test1 +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: ex1@exchange_part_test1 +PREHOOK: query: SHOW PARTITIONS ex2.exchange_part_test2 +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: ex2@exchange_part_test2 +POSTHOOK: query: SHOW PARTITIONS ex2.exchange_part_test2 +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: ex2@exchange_part_test2 +PREHOOK: query: ALTER TABLE ex2.exchange_part_test2 ADD PARTITION (ds='2013-04-05') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: ex2@exchange_part_test2 +POSTHOOK: query: ALTER TABLE ex2.exchange_part_test2 ADD PARTITION (ds='2013-04-05') +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: ex2@exchange_part_test2 +POSTHOOK: Output: ex2@exchange_part_test2@ds=2013-04-05 +PREHOOK: query: SHOW PARTITIONS ex1.exchange_part_test1 +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: ex1@exchange_part_test1 +POSTHOOK: query: SHOW PARTITIONS ex1.exchange_part_test1 +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: ex1@exchange_part_test1 +PREHOOK: query: SHOW PARTITIONS ex2.exchange_part_test2 +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: ex2@exchange_part_test2 +POSTHOOK: query: SHOW PARTITIONS ex2.exchange_part_test2 +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: ex2@exchange_part_test2 +ds=2013-04-05 +PREHOOK: query: ALTER TABLE ex1.exchange_part_test1 EXCHANGE PARTITION (ds='2013-04-05') WITH TABLE ex2.exchange_part_test2 +PREHOOK: type: ALTERTABLE_EXCHANGEPARTITION +PREHOOK: Input: ex2@exchange_part_test2 +PREHOOK: Output: ex1@exchange_part_test1 +FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.ddl.DDLTask. MetaException(message:Exchanging partitions between temporary and non-temporary tables is not supported.) diff --git a/ql/src/test/results/clientpositive/llap/temp_table_add_part_with_loc.q.out b/ql/src/test/results/clientpositive/llap/temp_table_add_part_with_loc.q.out new file mode 100644 index 0000000000..366a87bc01 --- /dev/null +++ b/ql/src/test/results/clientpositive/llap/temp_table_add_part_with_loc.q.out @@ -0,0 +1,63 @@ +PREHOOK: query: create temporary table supply_temp (id int, part string, quantity int) partitioned by (day int) +stored as orc +location 'hdfs://### HDFS PATH ###' +PREHOOK: type: CREATETABLE +PREHOOK: Input: hdfs://### HDFS PATH ### +PREHOOK: Output: database:default +PREHOOK: Output: default@supply_temp +POSTHOOK: query: create temporary table supply_temp (id int, part string, quantity int) partitioned by (day int) +stored as orc +location 'hdfs://### HDFS PATH ###' +POSTHOOK: type: CREATETABLE +POSTHOOK: Input: hdfs://### HDFS PATH ### +POSTHOOK: Output: database:default +POSTHOOK: Output: default@supply_temp +PREHOOK: query: explain alter table supply_temp add partition (day=20110102) location +'hdfs://### HDFS PATH ###' +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Input: hdfs://### HDFS PATH ### +PREHOOK: Output: default@supply_temp +POSTHOOK: query: explain alter table supply_temp add partition (day=20110102) location +'hdfs://### HDFS PATH ###' +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Input: hdfs://### HDFS PATH ### +POSTHOOK: Output: default@supply_temp +STAGE DEPENDENCIES: + Stage-0 is a root stage + +STAGE PLANS: + Stage: Stage-0 + Add Partition + db name: default + partitions: + Partition + location: hdfs://### HDFS PATH ### + partition spec: {day=20110102} + table name: supply_temp + +PREHOOK: query: alter table supply_temp add partition (day=20110103) location +'hdfs://### HDFS PATH ###' +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Input: hdfs://### HDFS PATH ### +PREHOOK: Output: default@supply_temp +POSTHOOK: query: alter table supply_temp add partition (day=20110103) location +'hdfs://### HDFS PATH ###' +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Input: hdfs://### HDFS PATH ### +POSTHOOK: Output: default@supply_temp +POSTHOOK: Output: default@supply_temp@day=20110103 +PREHOOK: query: show partitions supply_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@supply_temp +POSTHOOK: query: show partitions supply_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@supply_temp +day=20110103 +PREHOOK: query: drop table supply_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@supply_temp +PREHOOK: Output: default@supply_temp +POSTHOOK: query: drop table supply_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@supply_temp +POSTHOOK: Output: default@supply_temp diff --git a/ql/src/test/results/clientpositive/llap/temp_table_drop_partitions_filter4.q.out b/ql/src/test/results/clientpositive/llap/temp_table_drop_partitions_filter4.q.out new file mode 100644 index 0000000000..7ddb6dfc5c --- /dev/null +++ b/ql/src/test/results/clientpositive/llap/temp_table_drop_partitions_filter4.q.out @@ -0,0 +1,232 @@ +PREHOOK: query: create temporary table ptestfilter_n2_temp (a string, b int) partitioned by (c string) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: query: create temporary table ptestfilter_n2_temp (a string, b int) partitioned by (c string) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@ptestfilter_n2_temp +PREHOOK: query: INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c) select 'Col1', 1, null +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: query: INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c) select 'Col1', 1, null +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@ptestfilter_n2_temp@c=__HIVE_DEFAULT_PARTITION__ +POSTHOOK: Lineage: ptestfilter_n2_temp PARTITION(c=__HIVE_DEFAULT_PARTITION__).a SIMPLE [] +POSTHOOK: Lineage: ptestfilter_n2_temp PARTITION(c=__HIVE_DEFAULT_PARTITION__).b SIMPLE [] +PREHOOK: query: alter table ptestfilter_n2_temp add partition (c=3) +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: query: alter table ptestfilter_n2_temp add partition (c=3) +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: Output: default@ptestfilter_n2_temp@c=3 +PREHOOK: query: alter table ptestfilter_n2_temp add partition (c=5) +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: query: alter table ptestfilter_n2_temp add partition (c=5) +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: Output: default@ptestfilter_n2_temp@c=5 +PREHOOK: query: show partitions ptestfilter_n2_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: query: show partitions ptestfilter_n2_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@ptestfilter_n2_temp +c=3 +c=5 +c=__HIVE_DEFAULT_PARTITION__ +PREHOOK: query: alter table ptestfilter_n2_temp drop partition(c = 3) +PREHOOK: type: ALTERTABLE_DROPPARTS +PREHOOK: Input: default@ptestfilter_n2_temp +PREHOOK: Output: default@ptestfilter_n2_temp@c=3 +POSTHOOK: query: alter table ptestfilter_n2_temp drop partition(c = 3) +POSTHOOK: type: ALTERTABLE_DROPPARTS +POSTHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: Output: default@ptestfilter_n2_temp@c=3 +PREHOOK: query: show partitions ptestfilter_n2_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: query: show partitions ptestfilter_n2_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@ptestfilter_n2_temp +c=5 +c=__HIVE_DEFAULT_PARTITION__ +PREHOOK: query: INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c) select 'Col1', 1, null +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: query: INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c) select 'Col1', 1, null +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@ptestfilter_n2_temp@c=__HIVE_DEFAULT_PARTITION__ +POSTHOOK: Lineage: ptestfilter_n2_temp PARTITION(c=__HIVE_DEFAULT_PARTITION__).a SIMPLE [] +POSTHOOK: Lineage: ptestfilter_n2_temp PARTITION(c=__HIVE_DEFAULT_PARTITION__).b SIMPLE [] +PREHOOK: query: alter table ptestfilter_n2_temp drop partition(c != '__HIVE_DEFAULT_PARTITION__') +PREHOOK: type: ALTERTABLE_DROPPARTS +PREHOOK: Input: default@ptestfilter_n2_temp +PREHOOK: Output: default@ptestfilter_n2_temp@c=5 +POSTHOOK: query: alter table ptestfilter_n2_temp drop partition(c != '__HIVE_DEFAULT_PARTITION__') +POSTHOOK: type: ALTERTABLE_DROPPARTS +POSTHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: Output: default@ptestfilter_n2_temp@c=5 +PREHOOK: query: show partitions ptestfilter_n2_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: query: show partitions ptestfilter_n2_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@ptestfilter_n2_temp +c=__HIVE_DEFAULT_PARTITION__ +PREHOOK: query: drop table ptestfilter_n2_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@ptestfilter_n2_temp +PREHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: query: drop table ptestfilter_n2_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: Output: default@ptestfilter_n2_temp +PREHOOK: query: create temporary table ptestfilter_n2_temp (a string, b int) partitioned by (c string, d int) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: query: create temporary table ptestfilter_n2_temp (a string, b int) partitioned by (c string, d int) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@ptestfilter_n2_temp +PREHOOK: query: INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c,d) select 'Col1', 1, null, null +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: query: INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c,d) select 'Col1', 1, null, null +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@ptestfilter_n2_temp@c=__HIVE_DEFAULT_PARTITION__/d=__HIVE_DEFAULT_PARTITION__ +POSTHOOK: Lineage: ptestfilter_n2_temp PARTITION(c=__HIVE_DEFAULT_PARTITION__,d=__HIVE_DEFAULT_PARTITION__).a SIMPLE [] +POSTHOOK: Lineage: ptestfilter_n2_temp PARTITION(c=__HIVE_DEFAULT_PARTITION__,d=__HIVE_DEFAULT_PARTITION__).b SIMPLE [] +PREHOOK: query: INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c,d) select 'Col2', 2, null, 2 +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: query: INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c,d) select 'Col2', 2, null, 2 +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@ptestfilter_n2_temp@c=__HIVE_DEFAULT_PARTITION__/d=2 +POSTHOOK: Lineage: ptestfilter_n2_temp PARTITION(c=__HIVE_DEFAULT_PARTITION__,d=2).a SIMPLE [] +POSTHOOK: Lineage: ptestfilter_n2_temp PARTITION(c=__HIVE_DEFAULT_PARTITION__,d=2).b SIMPLE [] +PREHOOK: query: INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c,d) select 'Col3', 3, 'Uganda', null +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: query: INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c,d) select 'Col3', 3, 'Uganda', null +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@ptestfilter_n2_temp@c=Uganda/d=__HIVE_DEFAULT_PARTITION__ +POSTHOOK: Lineage: ptestfilter_n2_temp PARTITION(c=Uganda,d=__HIVE_DEFAULT_PARTITION__).a SIMPLE [] +POSTHOOK: Lineage: ptestfilter_n2_temp PARTITION(c=Uganda,d=__HIVE_DEFAULT_PARTITION__).b SIMPLE [] +PREHOOK: query: alter table ptestfilter_n2_temp add partition (c='Germany', d=2) +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: query: alter table ptestfilter_n2_temp add partition (c='Germany', d=2) +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: Output: default@ptestfilter_n2_temp@c=Germany/d=2 +PREHOOK: query: show partitions ptestfilter_n2_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: query: show partitions ptestfilter_n2_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@ptestfilter_n2_temp +c=Germany/d=2 +c=Uganda/d=__HIVE_DEFAULT_PARTITION__ +c=__HIVE_DEFAULT_PARTITION__/d=2 +c=__HIVE_DEFAULT_PARTITION__/d=__HIVE_DEFAULT_PARTITION__ +PREHOOK: query: alter table ptestfilter_n2_temp drop partition (c='__HIVE_DEFAULT_PARTITION__') +PREHOOK: type: ALTERTABLE_DROPPARTS +PREHOOK: Input: default@ptestfilter_n2_temp +PREHOOK: Output: default@ptestfilter_n2_temp@c=__HIVE_DEFAULT_PARTITION__/d=2 +PREHOOK: Output: default@ptestfilter_n2_temp@c=__HIVE_DEFAULT_PARTITION__/d=__HIVE_DEFAULT_PARTITION__ +POSTHOOK: query: alter table ptestfilter_n2_temp drop partition (c='__HIVE_DEFAULT_PARTITION__') +POSTHOOK: type: ALTERTABLE_DROPPARTS +POSTHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: Output: default@ptestfilter_n2_temp@c=__HIVE_DEFAULT_PARTITION__/d=2 +POSTHOOK: Output: default@ptestfilter_n2_temp@c=__HIVE_DEFAULT_PARTITION__/d=__HIVE_DEFAULT_PARTITION__ +PREHOOK: query: alter table ptestfilter_n2_temp drop partition (c='Uganda', d='__HIVE_DEFAULT_PARTITION__') +PREHOOK: type: ALTERTABLE_DROPPARTS +PREHOOK: Input: default@ptestfilter_n2_temp +PREHOOK: Output: default@ptestfilter_n2_temp@c=Uganda/d=__HIVE_DEFAULT_PARTITION__ +POSTHOOK: query: alter table ptestfilter_n2_temp drop partition (c='Uganda', d='__HIVE_DEFAULT_PARTITION__') +POSTHOOK: type: ALTERTABLE_DROPPARTS +POSTHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: Output: default@ptestfilter_n2_temp@c=Uganda/d=__HIVE_DEFAULT_PARTITION__ +PREHOOK: query: alter table ptestfilter_n2_temp drop partition (c='Germany', d=2) +PREHOOK: type: ALTERTABLE_DROPPARTS +PREHOOK: Input: default@ptestfilter_n2_temp +PREHOOK: Output: default@ptestfilter_n2_temp@c=Germany/d=2 +POSTHOOK: query: alter table ptestfilter_n2_temp drop partition (c='Germany', d=2) +POSTHOOK: type: ALTERTABLE_DROPPARTS +POSTHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: Output: default@ptestfilter_n2_temp@c=Germany/d=2 +PREHOOK: query: show partitions ptestfilter_n2_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: query: show partitions ptestfilter_n2_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@ptestfilter_n2_temp +PREHOOK: query: INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c,d) select 'Col2', 2, null, 2 +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: query: INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c,d) select 'Col2', 2, null, 2 +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@ptestfilter_n2_temp@c=__HIVE_DEFAULT_PARTITION__/d=2 +POSTHOOK: Lineage: ptestfilter_n2_temp PARTITION(c=__HIVE_DEFAULT_PARTITION__,d=2).a SIMPLE [] +POSTHOOK: Lineage: ptestfilter_n2_temp PARTITION(c=__HIVE_DEFAULT_PARTITION__,d=2).b SIMPLE [] +PREHOOK: query: INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c,d) select 'Col2', 2, null, 3 +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: query: INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c,d) select 'Col2', 2, null, 3 +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@ptestfilter_n2_temp@c=__HIVE_DEFAULT_PARTITION__/d=3 +POSTHOOK: Lineage: ptestfilter_n2_temp PARTITION(c=__HIVE_DEFAULT_PARTITION__,d=3).a SIMPLE [] +POSTHOOK: Lineage: ptestfilter_n2_temp PARTITION(c=__HIVE_DEFAULT_PARTITION__,d=3).b SIMPLE [] +PREHOOK: query: INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c,d) select 'Col3', 3, 'Uganda', null +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: query: INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c,d) select 'Col3', 3, 'Uganda', null +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@ptestfilter_n2_temp@c=Uganda/d=__HIVE_DEFAULT_PARTITION__ +POSTHOOK: Lineage: ptestfilter_n2_temp PARTITION(c=Uganda,d=__HIVE_DEFAULT_PARTITION__).a SIMPLE [] +POSTHOOK: Lineage: ptestfilter_n2_temp PARTITION(c=Uganda,d=__HIVE_DEFAULT_PARTITION__).b SIMPLE [] +PREHOOK: query: alter table ptestfilter_n2_temp drop partition (d != 3) +PREHOOK: type: ALTERTABLE_DROPPARTS +PREHOOK: Input: default@ptestfilter_n2_temp +PREHOOK: Output: default@ptestfilter_n2_temp@c=Uganda/d=__HIVE_DEFAULT_PARTITION__ +PREHOOK: Output: default@ptestfilter_n2_temp@c=__HIVE_DEFAULT_PARTITION__/d=2 +POSTHOOK: query: alter table ptestfilter_n2_temp drop partition (d != 3) +POSTHOOK: type: ALTERTABLE_DROPPARTS +POSTHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: Output: default@ptestfilter_n2_temp@c=Uganda/d=__HIVE_DEFAULT_PARTITION__ +POSTHOOK: Output: default@ptestfilter_n2_temp@c=__HIVE_DEFAULT_PARTITION__/d=2 +PREHOOK: query: show partitions ptestfilter_n2_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: query: show partitions ptestfilter_n2_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@ptestfilter_n2_temp +c=__HIVE_DEFAULT_PARTITION__/d=3 +PREHOOK: query: drop table ptestfilter_n2_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@ptestfilter_n2_temp +PREHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: query: drop table ptestfilter_n2_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: Output: default@ptestfilter_n2_temp diff --git a/ql/src/test/results/clientpositive/llap/temp_table_llap_partitioned.q.out b/ql/src/test/results/clientpositive/llap/temp_table_llap_partitioned.q.out new file mode 100644 index 0000000000..bd61928273 --- /dev/null +++ b/ql/src/test/results/clientpositive/llap/temp_table_llap_partitioned.q.out @@ -0,0 +1,2502 @@ +PREHOOK: query: DROP TABLE orc_llap_part_temp +PREHOOK: type: DROPTABLE +POSTHOOK: query: DROP TABLE orc_llap_part_temp +POSTHOOK: type: DROPTABLE +PREHOOK: query: DROP TABLE orc_llap_dim_part_temp +PREHOOK: type: DROPTABLE +POSTHOOK: query: DROP TABLE orc_llap_dim_part_temp +POSTHOOK: type: DROPTABLE +PREHOOK: query: CREATE TEMPORARY TABLE orc_llap_part_temp( + csmallint SMALLINT, + cint INT, + cbigint BIGINT, + cfloat FLOAT, + cdouble DOUBLE, + cstring1 STRING, + cchar1 CHAR(255), + cvchar1 VARCHAR(255), + cboolean1 BOOLEAN, + cboolean2 BOOLEAN +) PARTITIONED BY (ctinyint TINYINT) STORED AS ORC +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@orc_llap_part_temp +POSTHOOK: query: CREATE TEMPORARY TABLE orc_llap_part_temp( + csmallint SMALLINT, + cint INT, + cbigint BIGINT, + cfloat FLOAT, + cdouble DOUBLE, + cstring1 STRING, + cchar1 CHAR(255), + cvchar1 VARCHAR(255), + cboolean1 BOOLEAN, + cboolean2 BOOLEAN +) PARTITIONED BY (ctinyint TINYINT) STORED AS ORC +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@orc_llap_part_temp +PREHOOK: query: CREATE TEMPORARY TABLE orc_llap_dim_part_temp( + csmallint SMALLINT, + cint INT, + cbigint BIGINT, + cfloat FLOAT, + cdouble DOUBLE, + cstring1 STRING, + cchar1 CHAR(255), + cvchar1 VARCHAR(255), + cboolean1 BOOLEAN, + cboolean2 BOOLEAN +) PARTITIONED BY (ctinyint TINYINT) STORED AS ORC +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@orc_llap_dim_part_temp +POSTHOOK: query: CREATE TEMPORARY TABLE orc_llap_dim_part_temp( + csmallint SMALLINT, + cint INT, + cbigint BIGINT, + cfloat FLOAT, + cdouble DOUBLE, + cstring1 STRING, + cchar1 CHAR(255), + cvchar1 VARCHAR(255), + cboolean1 BOOLEAN, + cboolean2 BOOLEAN +) PARTITIONED BY (ctinyint TINYINT) STORED AS ORC +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@orc_llap_dim_part_temp +PREHOOK: query: INSERT OVERWRITE TABLE orc_llap_part_temp PARTITION (ctinyint) + SELECT csmallint, cint, cbigint, cfloat, cdouble, cstring1, cstring1, cstring1, cboolean1, cboolean2, ctinyint FROM alltypesorc +PREHOOK: type: QUERY +PREHOOK: Input: default@alltypesorc +PREHOOK: Output: default@orc_llap_part_temp +POSTHOOK: query: INSERT OVERWRITE TABLE orc_llap_part_temp PARTITION (ctinyint) + SELECT csmallint, cint, cbigint, cfloat, cdouble, cstring1, cstring1, cstring1, cboolean1, cboolean2, ctinyint FROM alltypesorc +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alltypesorc +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-1 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-10 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-11 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-12 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-13 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-14 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-15 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-16 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-17 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-18 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-19 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-2 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-20 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-21 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-22 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-23 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-24 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-25 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-26 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-27 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-28 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-29 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-3 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-30 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-31 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-32 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-33 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-34 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-35 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-36 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-37 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-38 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-39 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-4 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-40 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-41 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-42 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-43 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-44 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-45 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-46 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-47 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-48 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-49 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-5 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-50 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-51 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-52 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-53 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-54 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-55 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-56 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-57 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-58 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-59 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-6 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-60 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-61 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-62 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-63 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-64 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-7 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-8 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=-9 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=0 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=1 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=10 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=11 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=12 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=13 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=14 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=15 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=16 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=17 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=18 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=19 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=2 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=20 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=21 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=22 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=23 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=24 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=25 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=26 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=27 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=28 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=29 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=3 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=30 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=31 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=32 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=33 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=34 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=35 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=36 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=37 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=38 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=39 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=4 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=40 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=41 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=42 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=43 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=44 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=45 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=46 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=47 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=48 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=49 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=5 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=50 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=51 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=52 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=53 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=54 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=55 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=56 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=57 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=58 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=59 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=6 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=60 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=61 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=62 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=7 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=8 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=9 +POSTHOOK: Output: default@orc_llap_part_temp@ctinyint=__HIVE_DEFAULT_PARTITION__ +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-10).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-10).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-10).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-10).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-10).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-10).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-10).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-10).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-10).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-10).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-11).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-11).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-11).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-11).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-11).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-11).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-11).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-11).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-11).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-11).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-12).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-12).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-12).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-12).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-12).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-12).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-12).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-12).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-12).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-12).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-13).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-13).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-13).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-13).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-13).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-13).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-13).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-13).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-13).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-13).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-14).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-14).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-14).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-14).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-14).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-14).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-14).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-14).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-14).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-14).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-15).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-15).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-15).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-15).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-15).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-15).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-15).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-15).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-15).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-15).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-16).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-16).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-16).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-16).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-16).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-16).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-16).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-16).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-16).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-16).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-17).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-17).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-17).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-17).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-17).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-17).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-17).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-17).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-17).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-17).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-18).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-18).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-18).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-18).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-18).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-18).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-18).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-18).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-18).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-18).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-19).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-19).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-19).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-19).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-19).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-19).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-19).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-19).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-19).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-19).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-1).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-1).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-1).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-1).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-1).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-1).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-1).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-1).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-1).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-1).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-20).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-20).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-20).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-20).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-20).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-20).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-20).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-20).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-20).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-20).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-21).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-21).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-21).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-21).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-21).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-21).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-21).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-21).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-21).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-21).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-22).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-22).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-22).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-22).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-22).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-22).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-22).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-22).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-22).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-22).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-23).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-23).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-23).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-23).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-23).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-23).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-23).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-23).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-23).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-23).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-24).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-24).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-24).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-24).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-24).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-24).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-24).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-24).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-24).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-24).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-25).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-25).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-25).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-25).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-25).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-25).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-25).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-25).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-25).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-25).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-26).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-26).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-26).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-26).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-26).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-26).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-26).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-26).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-26).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-26).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-27).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-27).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-27).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-27).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-27).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-27).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-27).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-27).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-27).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-27).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-28).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-28).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-28).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-28).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-28).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-28).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-28).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-28).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-28).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-28).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-29).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-29).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-29).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-29).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-29).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-29).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-29).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-29).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-29).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-29).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-2).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-2).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-2).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-2).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-2).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-2).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-2).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-2).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-2).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-2).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-30).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-30).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-30).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-30).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-30).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-30).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-30).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-30).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-30).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-30).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-31).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-31).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-31).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-31).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-31).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-31).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-31).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-31).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-31).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-31).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-32).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-32).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-32).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-32).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-32).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-32).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-32).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-32).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-32).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-32).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-33).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-33).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-33).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-33).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-33).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-33).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-33).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-33).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-33).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-33).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-34).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-34).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-34).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-34).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-34).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-34).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-34).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-34).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-34).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-34).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-35).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-35).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-35).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-35).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-35).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-35).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-35).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-35).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-35).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-35).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-36).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-36).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-36).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-36).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-36).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-36).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-36).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-36).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-36).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-36).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-37).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-37).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-37).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-37).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-37).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-37).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-37).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-37).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-37).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-37).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-38).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-38).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-38).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-38).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-38).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-38).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-38).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-38).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-38).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-38).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-39).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-39).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-39).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-39).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-39).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-39).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-39).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-39).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-39).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-39).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-3).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-3).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-3).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-3).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-3).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-3).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-3).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-3).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-3).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-3).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-40).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-40).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-40).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-40).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-40).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-40).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-40).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-40).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-40).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-40).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-41).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-41).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-41).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-41).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-41).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-41).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-41).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-41).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-41).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-41).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-42).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-42).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-42).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-42).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-42).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-42).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-42).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-42).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-42).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-42).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-43).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-43).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-43).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-43).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-43).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-43).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-43).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-43).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-43).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-43).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-44).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-44).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-44).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-44).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-44).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-44).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-44).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-44).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-44).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-44).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-45).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-45).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-45).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-45).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-45).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-45).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-45).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-45).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-45).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-45).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-46).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-46).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-46).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-46).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-46).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-46).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-46).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-46).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-46).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-46).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-47).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-47).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-47).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-47).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-47).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-47).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-47).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-47).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-47).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-47).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-48).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-48).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-48).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-48).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-48).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-48).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-48).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-48).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-48).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-48).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-49).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-49).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-49).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-49).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-49).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-49).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-49).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-49).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-49).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-49).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-4).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-4).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-4).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-4).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-4).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-4).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-4).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-4).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-4).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-4).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-50).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-50).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-50).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-50).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-50).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-50).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-50).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-50).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-50).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-50).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-51).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-51).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-51).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-51).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-51).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-51).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-51).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-51).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-51).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-51).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-52).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-52).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-52).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-52).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-52).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-52).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-52).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-52).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-52).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-52).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-53).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-53).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-53).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-53).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-53).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-53).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-53).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-53).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-53).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-53).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-54).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-54).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-54).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-54).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-54).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-54).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-54).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-54).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-54).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-54).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-55).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-55).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-55).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-55).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-55).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-55).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-55).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-55).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-55).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-55).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-56).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-56).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-56).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-56).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-56).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-56).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-56).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-56).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-56).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-56).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-57).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-57).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-57).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-57).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-57).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-57).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-57).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-57).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-57).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-57).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-58).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-58).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-58).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-58).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-58).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-58).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-58).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-58).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-58).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-58).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-59).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-59).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-59).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-59).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-59).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-59).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-59).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-59).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-59).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-59).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-5).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-5).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-5).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-5).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-5).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-5).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-5).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-5).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-5).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-5).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-60).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-60).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-60).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-60).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-60).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-60).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-60).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-60).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-60).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-60).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-61).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-61).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-61).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-61).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-61).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-61).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-61).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-61).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-61).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-61).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-62).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-62).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-62).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-62).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-62).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-62).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-62).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-62).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-62).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-62).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-63).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-63).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-63).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-63).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-63).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-63).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-63).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-63).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-63).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-63).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-64).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-64).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-64).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-64).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-64).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-64).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-64).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-64).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-64).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-64).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-6).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-6).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-6).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-6).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-6).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-6).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-6).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-6).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-6).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-6).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-7).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-7).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-7).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-7).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-7).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-7).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-7).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-7).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-7).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-7).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-8).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-8).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-8).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-8).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-8).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-8).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-8).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-8).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-8).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-8).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-9).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-9).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-9).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-9).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-9).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-9).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-9).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-9).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-9).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=-9).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=0).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=0).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=0).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=0).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=0).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=0).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=0).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=0).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=0).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=0).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=10).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=10).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=10).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=10).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=10).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=10).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=10).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=10).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=10).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=10).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=11).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=11).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=11).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=11).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=11).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=11).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=11).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=11).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=11).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=11).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=12).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=12).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=12).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=12).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=12).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=12).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=12).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=12).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=12).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=12).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=13).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=13).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=13).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=13).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=13).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=13).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=13).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=13).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=13).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=13).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=14).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=14).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=14).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=14).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=14).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=14).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=14).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=14).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=14).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=14).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=15).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=15).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=15).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=15).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=15).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=15).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=15).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=15).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=15).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=15).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=16).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=16).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=16).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=16).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=16).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=16).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=16).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=16).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=16).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=16).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=17).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=17).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=17).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=17).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=17).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=17).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=17).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=17).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=17).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=17).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=18).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=18).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=18).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=18).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=18).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=18).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=18).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=18).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=18).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=18).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=19).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=19).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=19).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=19).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=19).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=19).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=19).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=19).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=19).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=19).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=1).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=1).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=1).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=1).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=1).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=1).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=1).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=1).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=1).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=1).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=20).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=20).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=20).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=20).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=20).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=20).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=20).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=20).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=20).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=20).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=21).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=21).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=21).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=21).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=21).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=21).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=21).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=21).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=21).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=21).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=22).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=22).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=22).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=22).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=22).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=22).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=22).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=22).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=22).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=22).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=23).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=23).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=23).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=23).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=23).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=23).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=23).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=23).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=23).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=23).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=24).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=24).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=24).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=24).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=24).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=24).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=24).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=24).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=24).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=24).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=25).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=25).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=25).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=25).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=25).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=25).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=25).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=25).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=25).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=25).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=26).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=26).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=26).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=26).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=26).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=26).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=26).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=26).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=26).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=26).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=27).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=27).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=27).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=27).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=27).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=27).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=27).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=27).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=27).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=27).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=28).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=28).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=28).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=28).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=28).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=28).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=28).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=28).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=28).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=28).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=29).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=29).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=29).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=29).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=29).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=29).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=29).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=29).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=29).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=29).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=2).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=2).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=2).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=2).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=2).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=2).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=2).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=2).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=2).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=2).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=30).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=30).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=30).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=30).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=30).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=30).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=30).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=30).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=30).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=30).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=31).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=31).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=31).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=31).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=31).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=31).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=31).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=31).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=31).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=31).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=32).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=32).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=32).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=32).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=32).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=32).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=32).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=32).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=32).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=32).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=33).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=33).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=33).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=33).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=33).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=33).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=33).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=33).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=33).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=33).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=34).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=34).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=34).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=34).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=34).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=34).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=34).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=34).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=34).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=34).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=35).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=35).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=35).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=35).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=35).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=35).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=35).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=35).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=35).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=35).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=36).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=36).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=36).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=36).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=36).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=36).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=36).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=36).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=36).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=36).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=37).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=37).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=37).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=37).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=37).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=37).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=37).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=37).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=37).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=37).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=38).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=38).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=38).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=38).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=38).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=38).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=38).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=38).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=38).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=38).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=39).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=39).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=39).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=39).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=39).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=39).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=39).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=39).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=39).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=39).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=3).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=3).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=3).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=3).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=3).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=3).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=3).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=3).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=3).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=3).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=40).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=40).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=40).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=40).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=40).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=40).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=40).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=40).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=40).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=40).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=41).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=41).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=41).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=41).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=41).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=41).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=41).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=41).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=41).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=41).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=42).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=42).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=42).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=42).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=42).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=42).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=42).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=42).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=42).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=42).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=43).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=43).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=43).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=43).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=43).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=43).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=43).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=43).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=43).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=43).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=44).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=44).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=44).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=44).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=44).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=44).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=44).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=44).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=44).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=44).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=45).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=45).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=45).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=45).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=45).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=45).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=45).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=45).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=45).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=45).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=46).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=46).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=46).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=46).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=46).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=46).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=46).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=46).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=46).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=46).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=47).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=47).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=47).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=47).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=47).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=47).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=47).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=47).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=47).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=47).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=48).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=48).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=48).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=48).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=48).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=48).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=48).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=48).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=48).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=48).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=49).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=49).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=49).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=49).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=49).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=49).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=49).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=49).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=49).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=49).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=4).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=4).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=4).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=4).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=4).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=4).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=4).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=4).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=4).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=4).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=50).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=50).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=50).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=50).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=50).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=50).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=50).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=50).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=50).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=50).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=51).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=51).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=51).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=51).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=51).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=51).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=51).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=51).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=51).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=51).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=52).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=52).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=52).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=52).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=52).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=52).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=52).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=52).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=52).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=52).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=53).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=53).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=53).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=53).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=53).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=53).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=53).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=53).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=53).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=53).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=54).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=54).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=54).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=54).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=54).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=54).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=54).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=54).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=54).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=54).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=55).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=55).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=55).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=55).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=55).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=55).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=55).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=55).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=55).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=55).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=56).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=56).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=56).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=56).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=56).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=56).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=56).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=56).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=56).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=56).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=57).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=57).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=57).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=57).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=57).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=57).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=57).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=57).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=57).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=57).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=58).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=58).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=58).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=58).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=58).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=58).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=58).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=58).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=58).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=58).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=59).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=59).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=59).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=59).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=59).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=59).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=59).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=59).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=59).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=59).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=5).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=5).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=5).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=5).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=5).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=5).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=5).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=5).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=5).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=5).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=60).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=60).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=60).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=60).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=60).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=60).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=60).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=60).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=60).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=60).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=61).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=61).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=61).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=61).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=61).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=61).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=61).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=61).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=61).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=61).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=62).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=62).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=62).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=62).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=62).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=62).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=62).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=62).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=62).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=62).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=6).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=6).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=6).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=6).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=6).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=6).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=6).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=6).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=6).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=6).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=7).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=7).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=7).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=7).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=7).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=7).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=7).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=7).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=7).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=7).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=8).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=8).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=8).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=8).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=8).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=8).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=8).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=8).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=8).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=8).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=9).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=9).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=9).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=9).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=9).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=9).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=9).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=9).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=9).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=9).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=__HIVE_DEFAULT_PARTITION__).cbigint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=__HIVE_DEFAULT_PARTITION__).cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=__HIVE_DEFAULT_PARTITION__).cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=__HIVE_DEFAULT_PARTITION__).cchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=__HIVE_DEFAULT_PARTITION__).cdouble SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=__HIVE_DEFAULT_PARTITION__).cfloat SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=__HIVE_DEFAULT_PARTITION__).cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=__HIVE_DEFAULT_PARTITION__).csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=__HIVE_DEFAULT_PARTITION__).cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +POSTHOOK: Lineage: orc_llap_part_temp PARTITION(ctinyint=__HIVE_DEFAULT_PARTITION__).cvchar1 EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ] +PREHOOK: query: INSERT OVERWRITE TABLE orc_llap_dim_part_temp PARTITION (ctinyint) + SELECT null, null, sum(cbigint) as cbigint, null, null, null, null, null, null, null, ctinyint FROM alltypesorc WHERE ctinyint > 10 AND ctinyint < 21 GROUP BY ctinyint +PREHOOK: type: QUERY +PREHOOK: Input: default@alltypesorc +PREHOOK: Output: default@orc_llap_dim_part_temp +POSTHOOK: query: INSERT OVERWRITE TABLE orc_llap_dim_part_temp PARTITION (ctinyint) + SELECT null, null, sum(cbigint) as cbigint, null, null, null, null, null, null, null, ctinyint FROM alltypesorc WHERE ctinyint > 10 AND ctinyint < 21 GROUP BY ctinyint +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alltypesorc +POSTHOOK: Output: default@orc_llap_dim_part_temp@ctinyint=11 +POSTHOOK: Output: default@orc_llap_dim_part_temp@ctinyint=12 +POSTHOOK: Output: default@orc_llap_dim_part_temp@ctinyint=13 +POSTHOOK: Output: default@orc_llap_dim_part_temp@ctinyint=14 +POSTHOOK: Output: default@orc_llap_dim_part_temp@ctinyint=15 +POSTHOOK: Output: default@orc_llap_dim_part_temp@ctinyint=16 +POSTHOOK: Output: default@orc_llap_dim_part_temp@ctinyint=17 +POSTHOOK: Output: default@orc_llap_dim_part_temp@ctinyint=18 +POSTHOOK: Output: default@orc_llap_dim_part_temp@ctinyint=19 +POSTHOOK: Output: default@orc_llap_dim_part_temp@ctinyint=20 +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=11).cbigint EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=11).cboolean1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=11).cboolean2 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=11).cchar1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=11).cdouble EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=11).cfloat EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=11).cint EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=11).csmallint EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=11).cstring1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=11).cvchar1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=12).cbigint EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=12).cboolean1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=12).cboolean2 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=12).cchar1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=12).cdouble EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=12).cfloat EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=12).cint EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=12).csmallint EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=12).cstring1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=12).cvchar1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=13).cbigint EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=13).cboolean1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=13).cboolean2 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=13).cchar1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=13).cdouble EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=13).cfloat EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=13).cint EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=13).csmallint EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=13).cstring1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=13).cvchar1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=14).cbigint EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=14).cboolean1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=14).cboolean2 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=14).cchar1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=14).cdouble EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=14).cfloat EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=14).cint EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=14).csmallint EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=14).cstring1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=14).cvchar1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=15).cbigint EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=15).cboolean1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=15).cboolean2 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=15).cchar1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=15).cdouble EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=15).cfloat EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=15).cint EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=15).csmallint EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=15).cstring1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=15).cvchar1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=16).cbigint EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=16).cboolean1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=16).cboolean2 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=16).cchar1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=16).cdouble EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=16).cfloat EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=16).cint EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=16).csmallint EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=16).cstring1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=16).cvchar1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=17).cbigint EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=17).cboolean1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=17).cboolean2 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=17).cchar1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=17).cdouble EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=17).cfloat EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=17).cint EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=17).csmallint EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=17).cstring1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=17).cvchar1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=18).cbigint EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=18).cboolean1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=18).cboolean2 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=18).cchar1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=18).cdouble EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=18).cfloat EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=18).cint EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=18).csmallint EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=18).cstring1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=18).cvchar1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=19).cbigint EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=19).cboolean1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=19).cboolean2 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=19).cchar1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=19).cdouble EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=19).cfloat EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=19).cint EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=19).csmallint EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=19).cstring1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=19).cvchar1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=20).cbigint EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), ] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=20).cboolean1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=20).cboolean2 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=20).cchar1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=20).cdouble EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=20).cfloat EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=20).cint EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=20).csmallint EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=20).cstring1 EXPRESSION [] +POSTHOOK: Lineage: orc_llap_dim_part_temp PARTITION(ctinyint=20).cvchar1 EXPRESSION [] +PREHOOK: query: drop table llap_temp_table_n0_temp +PREHOOK: type: DROPTABLE +POSTHOOK: query: drop table llap_temp_table_n0_temp +POSTHOOK: type: DROPTABLE +PREHOOK: query: explain vectorization detail +SELECT oft.ctinyint, oft.cint, oft.cchar1, oft.cvchar1 FROM orc_llap_part_temp oft + INNER JOIN orc_llap_dim_part_temp od ON oft.ctinyint = od.ctinyint +PREHOOK: type: QUERY +PREHOOK: Input: default@orc_llap_dim_part_temp +PREHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=11 +PREHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=12 +PREHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=13 +PREHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=14 +PREHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=15 +PREHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=16 +PREHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=17 +PREHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=18 +PREHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=19 +PREHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=20 +PREHOOK: Input: default@orc_llap_part_temp +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-1 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-10 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-11 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-12 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-13 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-14 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-15 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-16 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-17 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-18 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-19 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-2 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-20 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-21 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-22 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-23 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-24 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-25 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-26 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-27 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-28 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-29 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-3 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-30 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-31 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-32 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-33 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-34 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-35 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-36 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-37 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-38 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-39 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-4 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-40 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-41 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-42 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-43 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-44 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-45 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-46 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-47 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-48 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-49 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-5 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-50 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-51 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-52 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-53 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-54 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-55 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-56 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-57 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-58 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-59 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-6 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-60 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-61 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-62 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-63 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-64 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-7 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-8 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-9 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=0 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=1 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=10 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=11 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=12 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=13 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=14 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=15 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=16 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=17 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=18 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=19 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=2 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=20 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=21 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=22 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=23 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=24 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=25 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=26 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=27 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=28 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=29 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=3 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=30 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=31 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=32 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=33 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=34 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=35 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=36 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=37 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=38 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=39 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=4 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=40 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=41 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=42 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=43 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=44 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=45 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=46 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=47 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=48 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=49 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=5 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=50 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=51 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=52 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=53 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=54 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=55 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=56 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=57 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=58 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=59 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=6 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=60 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=61 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=62 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=7 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=8 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=9 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=__HIVE_DEFAULT_PARTITION__ +#### A masked pattern was here #### +POSTHOOK: query: explain vectorization detail +SELECT oft.ctinyint, oft.cint, oft.cchar1, oft.cvchar1 FROM orc_llap_part_temp oft + INNER JOIN orc_llap_dim_part_temp od ON oft.ctinyint = od.ctinyint +POSTHOOK: type: QUERY +POSTHOOK: Input: default@orc_llap_dim_part_temp +POSTHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=11 +POSTHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=12 +POSTHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=13 +POSTHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=14 +POSTHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=15 +POSTHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=16 +POSTHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=17 +POSTHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=18 +POSTHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=19 +POSTHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=20 +POSTHOOK: Input: default@orc_llap_part_temp +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-1 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-10 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-11 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-12 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-13 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-14 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-15 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-16 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-17 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-18 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-19 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-2 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-20 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-21 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-22 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-23 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-24 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-25 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-26 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-27 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-28 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-29 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-3 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-30 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-31 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-32 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-33 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-34 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-35 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-36 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-37 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-38 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-39 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-4 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-40 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-41 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-42 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-43 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-44 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-45 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-46 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-47 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-48 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-49 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-5 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-50 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-51 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-52 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-53 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-54 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-55 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-56 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-57 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-58 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-59 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-6 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-60 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-61 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-62 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-63 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-64 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-7 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-8 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-9 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=0 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=1 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=10 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=11 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=12 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=13 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=14 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=15 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=16 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=17 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=18 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=19 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=2 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=20 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=21 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=22 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=23 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=24 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=25 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=26 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=27 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=28 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=29 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=3 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=30 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=31 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=32 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=33 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=34 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=35 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=36 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=37 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=38 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=39 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=4 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=40 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=41 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=42 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=43 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=44 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=45 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=46 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=47 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=48 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=49 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=5 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=50 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=51 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=52 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=53 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=54 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=55 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=56 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=57 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=58 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=59 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=6 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=60 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=61 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=62 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=7 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=8 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=9 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=__HIVE_DEFAULT_PARTITION__ +#### A masked pattern was here #### +PLAN VECTORIZATION: + enabled: true + enabledConditionsMet: [hive.vectorized.execution.enabled IS true] + +STAGE DEPENDENCIES: + Stage-1 is a root stage + Stage-0 depends on stages: Stage-1 + +STAGE PLANS: + Stage: Stage-1 + Tez +#### A masked pattern was here #### + Edges: + Map 1 <- Map 2 (BROADCAST_EDGE) +#### A masked pattern was here #### + Vertices: + Map 1 + Map Operator Tree: + TableScan + alias: oft + Statistics: Num rows: 12288 Data size: 13243096 Basic stats: COMPLETE Column stats: PARTIAL + TableScan Vectorization: + native: true + vectorizationSchemaColumns: [0:csmallint:smallint, 1:cint:int, 2:cbigint:bigint, 3:cfloat:float, 4:cdouble:double, 5:cstring1:string, 6:cchar1:char(255), 7:cvchar1:varchar(255), 8:cboolean1:boolean, 9:cboolean2:boolean, 10:ctinyint:tinyint, 11:ROW__ID:struct] + Map Join Operator + condition map: + Inner Join 0 to 1 + keys: + 0 ctinyint (type: tinyint) + 1 ctinyint (type: tinyint) + Map Join Vectorization: + bigTableKeyColumns: 10:tinyint + bigTableRetainColumnNums: [1, 6, 7, 10] + bigTableValueColumns: 1:int, 6:char(255), 7:varchar(255), 10:tinyint + className: VectorMapJoinInnerBigOnlyLongOperator + native: true + nativeConditionsMet: hive.mapjoin.optimized.hashtable IS true, hive.vectorized.execution.mapjoin.native.enabled IS true, hive.execution.engine tez IN [tez, spark] IS true, One MapJoin Condition IS true, No nullsafe IS true, Small table vectorizes IS true, Optimized Table and Supports Key Types IS true + nonOuterSmallTableKeyMapping: [] + projectedOutput: 1:int, 6:char(255), 7:varchar(255), 10:tinyint + hashTableImplementationType: OPTIMIZED + outputColumnNames: _col1, _col6, _col7, _col10 + input vertices: + 1 Map 2 + Statistics: Num rows: 960 Data size: 240494 Basic stats: COMPLETE Column stats: PARTIAL + Select Operator + expressions: _col10 (type: tinyint), _col1 (type: int), _col6 (type: char(255)), _col7 (type: varchar(255)) + outputColumnNames: _col0, _col1, _col2, _col3 + Select Vectorization: + className: VectorSelectOperator + native: true + projectedOutputColumnNums: [10, 1, 6, 7] + Statistics: Num rows: 960 Data size: 240494 Basic stats: COMPLETE Column stats: PARTIAL + File Output Operator + compressed: false + File Sink Vectorization: + className: VectorFileSinkOperator + native: false + Statistics: Num rows: 960 Data size: 240494 Basic stats: COMPLETE Column stats: PARTIAL + 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 + Execution mode: vectorized, llap + LLAP IO: all inputs + Map Vectorization: + enabled: true + enabledConditionsMet: hive.vectorized.use.vectorized.input.format IS true + inputFormatFeatureSupport: [DECIMAL_64] + featureSupportInUse: [DECIMAL_64] + inputFileFormats: org.apache.hadoop.hive.ql.io.orc.OrcInputFormat + allNative: false + usesVectorUDFAdaptor: false + vectorized: true + rowBatchContext: + dataColumnCount: 10 + includeColumns: [1, 6, 7] + dataColumns: csmallint:smallint, cint:int, cbigint:bigint, cfloat:float, cdouble:double, cstring1:string, cchar1:char(255), cvchar1:varchar(255), cboolean1:boolean, cboolean2:boolean + partitionColumnCount: 1 + partitionColumns: ctinyint:tinyint + scratchColumnTypeNames: [] + Map 2 + Map Operator Tree: + TableScan + alias: od + Statistics: Num rows: 10 Data size: 120 Basic stats: COMPLETE Column stats: COMPLETE + TableScan Vectorization: + native: true + vectorizationSchemaColumns: [0:csmallint:smallint, 1:cint:int, 2:cbigint:bigint, 3:cfloat:float, 4:cdouble:double, 5:cstring1:string, 6:cchar1:char(255), 7:cvchar1:varchar(255), 8:cboolean1:boolean, 9:cboolean2:boolean, 10:ctinyint:tinyint, 11:ROW__ID:struct] + Reduce Output Operator + key expressions: ctinyint (type: tinyint) + sort order: + + Map-reduce partition columns: ctinyint (type: tinyint) + Reduce Sink Vectorization: + className: VectorReduceSinkLongOperator + keyColumns: 10:tinyint + native: true + nativeConditionsMet: hive.vectorized.execution.reducesink.new.enabled IS true, hive.execution.engine tez IN [tez, spark] IS true, No PTF TopN IS true, No DISTINCT columns IS true, BinarySortableSerDe for keys IS true, LazyBinarySerDe for values IS true + Statistics: Num rows: 10 Data size: 120 Basic stats: COMPLETE Column stats: COMPLETE + Select Operator + expressions: ctinyint (type: tinyint) + outputColumnNames: _col0 + Select Vectorization: + className: VectorSelectOperator + native: true + projectedOutputColumnNums: [10] + Statistics: Num rows: 10 Data size: 40 Basic stats: COMPLETE Column stats: COMPLETE + Group By Operator + Group By Vectorization: + className: VectorGroupByOperator + groupByMode: HASH + keyExpressions: col 10:tinyint + native: false + vectorProcessingMode: HASH + projectedOutputColumnNums: [] + keys: _col0 (type: tinyint) + minReductionHashAggr: 0.9 + mode: hash + outputColumnNames: _col0 + Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE + Dynamic Partitioning Event Operator + Target column: ctinyint (tinyint) + App Master Event Vectorization: + className: VectorAppMasterEventOperator + native: true + Target Input: oft + Partition key expr: ctinyint + Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE + Target Vertex: Map 1 + Execution mode: vectorized, llap + LLAP IO: all inputs + Map Vectorization: + enabled: true + enabledConditionsMet: hive.vectorized.use.vectorized.input.format IS true + inputFormatFeatureSupport: [DECIMAL_64] + featureSupportInUse: [DECIMAL_64] + inputFileFormats: org.apache.hadoop.hive.ql.io.orc.OrcInputFormat + allNative: false + usesVectorUDFAdaptor: false + vectorized: true + rowBatchContext: + dataColumnCount: 10 + includeColumns: [] + dataColumns: csmallint:smallint, cint:int, cbigint:bigint, cfloat:float, cdouble:double, cstring1:string, cchar1:char(255), cvchar1:varchar(255), cboolean1:boolean, cboolean2:boolean + partitionColumnCount: 1 + partitionColumns: ctinyint:tinyint + scratchColumnTypeNames: [] + + Stage: Stage-0 + Fetch Operator + limit: -1 + Processor Tree: + ListSink + +PREHOOK: query: create temporary table llap_temp_table_n0_temp as + SELECT oft.ctinyint, oft.cint, oft.cchar1, oft.cvchar1 FROM orc_llap_part_temp oft + INNER JOIN orc_llap_dim_part_temp od ON oft.ctinyint = od.ctinyint +PREHOOK: type: CREATETABLE_AS_SELECT +PREHOOK: Input: default@orc_llap_dim_part_temp +PREHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=11 +PREHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=12 +PREHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=13 +PREHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=14 +PREHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=15 +PREHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=16 +PREHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=17 +PREHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=18 +PREHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=19 +PREHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=20 +PREHOOK: Input: default@orc_llap_part_temp +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-1 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-10 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-11 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-12 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-13 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-14 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-15 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-16 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-17 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-18 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-19 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-2 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-20 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-21 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-22 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-23 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-24 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-25 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-26 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-27 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-28 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-29 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-3 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-30 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-31 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-32 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-33 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-34 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-35 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-36 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-37 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-38 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-39 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-4 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-40 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-41 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-42 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-43 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-44 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-45 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-46 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-47 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-48 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-49 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-5 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-50 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-51 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-52 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-53 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-54 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-55 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-56 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-57 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-58 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-59 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-6 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-60 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-61 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-62 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-63 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-64 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-7 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-8 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=-9 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=0 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=1 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=10 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=11 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=12 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=13 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=14 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=15 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=16 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=17 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=18 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=19 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=2 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=20 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=21 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=22 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=23 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=24 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=25 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=26 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=27 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=28 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=29 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=3 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=30 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=31 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=32 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=33 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=34 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=35 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=36 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=37 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=38 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=39 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=4 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=40 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=41 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=42 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=43 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=44 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=45 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=46 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=47 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=48 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=49 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=5 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=50 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=51 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=52 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=53 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=54 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=55 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=56 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=57 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=58 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=59 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=6 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=60 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=61 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=62 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=7 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=8 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=9 +PREHOOK: Input: default@orc_llap_part_temp@ctinyint=__HIVE_DEFAULT_PARTITION__ +PREHOOK: Output: database:default +PREHOOK: Output: default@llap_temp_table_n0_temp +POSTHOOK: query: create temporary table llap_temp_table_n0_temp as + SELECT oft.ctinyint, oft.cint, oft.cchar1, oft.cvchar1 FROM orc_llap_part_temp oft + INNER JOIN orc_llap_dim_part_temp od ON oft.ctinyint = od.ctinyint +POSTHOOK: type: CREATETABLE_AS_SELECT +POSTHOOK: Input: default@orc_llap_dim_part_temp +POSTHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=11 +POSTHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=12 +POSTHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=13 +POSTHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=14 +POSTHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=15 +POSTHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=16 +POSTHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=17 +POSTHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=18 +POSTHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=19 +POSTHOOK: Input: default@orc_llap_dim_part_temp@ctinyint=20 +POSTHOOK: Input: default@orc_llap_part_temp +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-1 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-10 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-11 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-12 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-13 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-14 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-15 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-16 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-17 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-18 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-19 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-2 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-20 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-21 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-22 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-23 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-24 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-25 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-26 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-27 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-28 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-29 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-3 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-30 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-31 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-32 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-33 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-34 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-35 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-36 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-37 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-38 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-39 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-4 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-40 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-41 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-42 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-43 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-44 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-45 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-46 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-47 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-48 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-49 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-5 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-50 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-51 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-52 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-53 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-54 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-55 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-56 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-57 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-58 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-59 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-6 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-60 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-61 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-62 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-63 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-64 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-7 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-8 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=-9 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=0 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=1 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=10 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=11 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=12 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=13 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=14 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=15 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=16 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=17 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=18 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=19 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=2 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=20 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=21 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=22 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=23 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=24 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=25 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=26 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=27 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=28 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=29 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=3 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=30 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=31 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=32 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=33 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=34 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=35 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=36 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=37 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=38 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=39 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=4 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=40 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=41 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=42 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=43 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=44 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=45 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=46 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=47 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=48 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=49 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=5 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=50 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=51 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=52 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=53 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=54 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=55 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=56 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=57 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=58 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=59 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=6 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=60 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=61 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=62 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=7 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=8 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=9 +POSTHOOK: Input: default@orc_llap_part_temp@ctinyint=__HIVE_DEFAULT_PARTITION__ +POSTHOOK: Output: database:default +POSTHOOK: Output: default@llap_temp_table_n0_temp +PREHOOK: query: explain vectorization detail +select sum(hash(*)) from llap_temp_table_n0_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@llap_temp_table_n0_temp +#### A masked pattern was here #### +POSTHOOK: query: explain vectorization detail +select sum(hash(*)) from llap_temp_table_n0_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@llap_temp_table_n0_temp +#### A masked pattern was here #### +PLAN VECTORIZATION: + enabled: true + enabledConditionsMet: [hive.vectorized.execution.enabled IS true] + +STAGE DEPENDENCIES: + Stage-1 is a root stage + Stage-0 depends on stages: Stage-1 + +STAGE PLANS: + Stage: Stage-1 + Tez +#### A masked pattern was here #### + Edges: + Reducer 2 <- Map 1 (CUSTOM_SIMPLE_EDGE) +#### A masked pattern was here #### + Vertices: + Map 1 + Map Operator Tree: + TableScan + alias: llap_temp_table_n0_temp + Statistics: Num rows: 1509 Data size: 984410 Basic stats: COMPLETE Column stats: NONE + TableScan Vectorization: + native: true + vectorizationSchemaColumns: [0:ctinyint:tinyint, 1:cint:int, 2:cchar1:char(255), 3:cvchar1:varchar(255), 4:ROW__ID:struct] + Select Operator + expressions: ctinyint (type: tinyint), cint (type: int), cchar1 (type: char(255)), cvchar1 (type: varchar(255)) + outputColumnNames: ctinyint, cint, cchar1, cvchar1 + Select Vectorization: + className: VectorSelectOperator + native: true + projectedOutputColumnNums: [0, 1, 2, 3] + Statistics: Num rows: 1509 Data size: 984410 Basic stats: COMPLETE Column stats: NONE + Group By Operator + aggregations: sum(hash(ctinyint,cint,cchar1,cvchar1)) + Group By Vectorization: + aggregators: VectorUDAFSumLong(VectorUDFAdaptor(hash(ctinyint,cint,cchar1,cvchar1)) -> 5:int) -> bigint + className: VectorGroupByOperator + groupByMode: HASH + native: false + vectorProcessingMode: HASH + projectedOutputColumnNums: [0] + minReductionHashAggr: 0.99 + mode: hash + outputColumnNames: _col0 + Statistics: Num rows: 1 Data size: 694 Basic stats: COMPLETE Column stats: NONE + Reduce Output Operator + sort order: + Reduce Sink Vectorization: + className: VectorReduceSinkEmptyKeyOperator + native: true + nativeConditionsMet: hive.vectorized.execution.reducesink.new.enabled IS true, hive.execution.engine tez IN [tez, spark] IS true, No PTF TopN IS true, No DISTINCT columns IS true, BinarySortableSerDe for keys IS true, LazyBinarySerDe for values IS true + valueColumns: 0:bigint + Statistics: Num rows: 1 Data size: 694 Basic stats: COMPLETE Column stats: NONE + value expressions: _col0 (type: bigint) + Execution mode: vectorized, llap + LLAP IO: no inputs + Map Vectorization: + enabled: true + enabledConditionsMet: hive.vectorized.use.vector.serde.deserialize IS true + inputFormatFeatureSupport: [DECIMAL_64] + featureSupportInUse: [DECIMAL_64] + inputFileFormats: org.apache.hadoop.mapred.TextInputFormat + allNative: false + usesVectorUDFAdaptor: true + vectorized: true + rowBatchContext: + dataColumnCount: 4 + includeColumns: [0, 1, 2, 3] + dataColumns: ctinyint:tinyint, cint:int, cchar1:char(255), cvchar1:varchar(255) + partitionColumnCount: 0 + scratchColumnTypeNames: [bigint] + Reducer 2 + Execution mode: vectorized, llap + Reduce Vectorization: + enabled: true + enableConditionsMet: hive.vectorized.execution.reduce.enabled IS true, hive.execution.engine tez IN [tez, spark] IS true + reduceColumnNullOrder: + reduceColumnSortOrder: + allNative: false + usesVectorUDFAdaptor: false + vectorized: true + rowBatchContext: + dataColumnCount: 1 + dataColumns: VALUE._col0:bigint + partitionColumnCount: 0 + scratchColumnTypeNames: [] + Reduce Operator Tree: + Group By Operator + aggregations: sum(VALUE._col0) + Group By Vectorization: + aggregators: VectorUDAFSumLong(col 0:bigint) -> bigint + className: VectorGroupByOperator + groupByMode: MERGEPARTIAL + native: false + vectorProcessingMode: GLOBAL + projectedOutputColumnNums: [0] + mode: mergepartial + outputColumnNames: _col0 + Statistics: Num rows: 1 Data size: 694 Basic stats: COMPLETE Column stats: NONE + File Output Operator + compressed: false + File Sink Vectorization: + className: VectorFileSinkOperator + native: false + Statistics: Num rows: 1 Data size: 694 Basic stats: COMPLETE Column stats: NONE + 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 + + Stage: Stage-0 + Fetch Operator + limit: -1 + Processor Tree: + ListSink + +PREHOOK: query: select sum(hash(*)) from llap_temp_table_n0_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@llap_temp_table_n0_temp +#### A masked pattern was here #### +POSTHOOK: query: select sum(hash(*)) from llap_temp_table_n0_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@llap_temp_table_n0_temp +#### A masked pattern was here #### +-70090855086 +PREHOOK: query: drop table llap_temp_table_n0_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@llap_temp_table_n0_temp +PREHOOK: Output: default@llap_temp_table_n0_temp +POSTHOOK: query: drop table llap_temp_table_n0_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@llap_temp_table_n0_temp +POSTHOOK: Output: default@llap_temp_table_n0_temp +PREHOOK: query: DROP TABLE orc_llap_part_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@orc_llap_part_temp +PREHOOK: Output: default@orc_llap_part_temp +POSTHOOK: query: DROP TABLE orc_llap_part_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@orc_llap_part_temp +POSTHOOK: Output: default@orc_llap_part_temp +PREHOOK: query: DROP TABLE orc_llap_dim_part_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@orc_llap_dim_part_temp +PREHOOK: Output: default@orc_llap_dim_part_temp +POSTHOOK: query: DROP TABLE orc_llap_dim_part_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@orc_llap_dim_part_temp +POSTHOOK: Output: default@orc_llap_dim_part_temp diff --git a/ql/src/test/results/clientpositive/temp_table_add_part_exist.q.out b/ql/src/test/results/clientpositive/temp_table_add_part_exist.q.out new file mode 100644 index 0000000000..f9efbfe2d4 --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_add_part_exist.q.out @@ -0,0 +1,174 @@ +PREHOOK: query: CREATE TEMPORARY TABLE add_part_test (key STRING, value STRING) PARTITIONED BY (ds STRING) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@add_part_test +POSTHOOK: query: CREATE TEMPORARY TABLE add_part_test (key STRING, value STRING) PARTITIONED BY (ds STRING) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@add_part_test +PREHOOK: query: SHOW PARTITIONS add_part_test +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@add_part_test +POSTHOOK: query: SHOW PARTITIONS add_part_test +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@add_part_test +PREHOOK: query: ALTER TABLE add_part_test ADD PARTITION (ds='2010-01-01') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@add_part_test +POSTHOOK: query: ALTER TABLE add_part_test ADD PARTITION (ds='2010-01-01') +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@add_part_test +POSTHOOK: Output: default@add_part_test@ds=2010-01-01 +PREHOOK: query: SHOW PARTITIONS add_part_test +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@add_part_test +POSTHOOK: query: SHOW PARTITIONS add_part_test +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@add_part_test +ds=2010-01-01 +PREHOOK: query: ALTER TABLE add_part_test ADD IF NOT EXISTS PARTITION (ds='2010-01-01') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@add_part_test +POSTHOOK: query: ALTER TABLE add_part_test ADD IF NOT EXISTS PARTITION (ds='2010-01-01') +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@add_part_test +PREHOOK: query: SHOW PARTITIONS add_part_test +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@add_part_test +POSTHOOK: query: SHOW PARTITIONS add_part_test +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@add_part_test +ds=2010-01-01 +PREHOOK: query: ALTER TABLE add_part_test ADD IF NOT EXISTS PARTITION (ds='2010-01-02') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@add_part_test +POSTHOOK: query: ALTER TABLE add_part_test ADD IF NOT EXISTS PARTITION (ds='2010-01-02') +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@add_part_test +POSTHOOK: Output: default@add_part_test@ds=2010-01-02 +PREHOOK: query: SHOW PARTITIONS add_part_test +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@add_part_test +POSTHOOK: query: SHOW PARTITIONS add_part_test +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@add_part_test +ds=2010-01-01 +ds=2010-01-02 +PREHOOK: query: ALTER TABLE add_part_test ADD IF NOT EXISTS PARTITION (ds='2010-01-01') PARTITION (ds='2010-01-02') PARTITION (ds='2010-01-03') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@add_part_test +POSTHOOK: query: ALTER TABLE add_part_test ADD IF NOT EXISTS PARTITION (ds='2010-01-01') PARTITION (ds='2010-01-02') PARTITION (ds='2010-01-03') +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@add_part_test +POSTHOOK: Output: default@add_part_test@ds=2010-01-03 +PREHOOK: query: SHOW PARTITIONS add_part_test +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@add_part_test +POSTHOOK: query: SHOW PARTITIONS add_part_test +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@add_part_test +ds=2010-01-01 +ds=2010-01-02 +ds=2010-01-03 +PREHOOK: query: DROP TABLE add_part_test +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@add_part_test +PREHOOK: Output: default@add_part_test +POSTHOOK: query: DROP TABLE add_part_test +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@add_part_test +POSTHOOK: Output: default@add_part_test +PREHOOK: query: CREATE DATABASE add_part_test_db +PREHOOK: type: CREATEDATABASE +PREHOOK: Output: database:add_part_test_db +POSTHOOK: query: CREATE DATABASE add_part_test_db +POSTHOOK: type: CREATEDATABASE +POSTHOOK: Output: database:add_part_test_db +PREHOOK: query: CREATE TEMPORARY TABLE add_part_test_db.add_part_test (key STRING, value STRING) PARTITIONED BY (ds STRING) +PREHOOK: type: CREATETABLE +PREHOOK: Output: add_part_test_db@add_part_test +PREHOOK: Output: database:add_part_test_db +POSTHOOK: query: CREATE TEMPORARY TABLE add_part_test_db.add_part_test (key STRING, value STRING) PARTITIONED BY (ds STRING) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: add_part_test_db@add_part_test +POSTHOOK: Output: database:add_part_test_db +PREHOOK: query: SHOW PARTITIONS add_part_test_db.add_part_test +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: add_part_test_db@add_part_test +POSTHOOK: query: SHOW PARTITIONS add_part_test_db.add_part_test +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: add_part_test_db@add_part_test +PREHOOK: query: ALTER TABLE add_part_test_db.add_part_test ADD PARTITION (ds='2010-01-01') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: add_part_test_db@add_part_test +POSTHOOK: query: ALTER TABLE add_part_test_db.add_part_test ADD PARTITION (ds='2010-01-01') +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: add_part_test_db@add_part_test +POSTHOOK: Output: add_part_test_db@add_part_test@ds=2010-01-01 +PREHOOK: query: SHOW PARTITIONS add_part_test_db.add_part_test +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: add_part_test_db@add_part_test +POSTHOOK: query: SHOW PARTITIONS add_part_test_db.add_part_test +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: add_part_test_db@add_part_test +ds=2010-01-01 +PREHOOK: query: ALTER TABLE add_part_test_db.add_part_test ADD IF NOT EXISTS PARTITION (ds='2010-01-01') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: add_part_test_db@add_part_test +POSTHOOK: query: ALTER TABLE add_part_test_db.add_part_test ADD IF NOT EXISTS PARTITION (ds='2010-01-01') +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: add_part_test_db@add_part_test +PREHOOK: query: SHOW PARTITIONS add_part_test_db.add_part_test +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: add_part_test_db@add_part_test +POSTHOOK: query: SHOW PARTITIONS add_part_test_db.add_part_test +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: add_part_test_db@add_part_test +ds=2010-01-01 +PREHOOK: query: ALTER TABLE add_part_test_db.add_part_test ADD IF NOT EXISTS PARTITION (ds='2010-01-02') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: add_part_test_db@add_part_test +POSTHOOK: query: ALTER TABLE add_part_test_db.add_part_test ADD IF NOT EXISTS PARTITION (ds='2010-01-02') +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: add_part_test_db@add_part_test +POSTHOOK: Output: add_part_test_db@add_part_test@ds=2010-01-02 +PREHOOK: query: SHOW PARTITIONS add_part_test_db.add_part_test +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: add_part_test_db@add_part_test +POSTHOOK: query: SHOW PARTITIONS add_part_test_db.add_part_test +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: add_part_test_db@add_part_test +ds=2010-01-01 +ds=2010-01-02 +PREHOOK: query: ALTER TABLE add_part_test_db.add_part_test ADD IF NOT EXISTS PARTITION (ds='2010-01-01') PARTITION (ds='2010-01-02') PARTITION (ds='2010-01-03') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: add_part_test_db@add_part_test +POSTHOOK: query: ALTER TABLE add_part_test_db.add_part_test ADD IF NOT EXISTS PARTITION (ds='2010-01-01') PARTITION (ds='2010-01-02') PARTITION (ds='2010-01-03') +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: add_part_test_db@add_part_test +POSTHOOK: Output: add_part_test_db@add_part_test@ds=2010-01-03 +PREHOOK: query: SHOW PARTITIONS add_part_test_db.add_part_test +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: add_part_test_db@add_part_test +POSTHOOK: query: SHOW PARTITIONS add_part_test_db.add_part_test +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: add_part_test_db@add_part_test +ds=2010-01-01 +ds=2010-01-02 +ds=2010-01-03 +PREHOOK: query: DROP TABLE add_part_test_db.add_part_test +PREHOOK: type: DROPTABLE +PREHOOK: Input: add_part_test_db@add_part_test +PREHOOK: Output: add_part_test_db@add_part_test +POSTHOOK: query: DROP TABLE add_part_test_db.add_part_test +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: add_part_test_db@add_part_test +POSTHOOK: Output: add_part_test_db@add_part_test +PREHOOK: query: DROP DATABASE add_part_test_db +PREHOOK: type: DROPDATABASE +PREHOOK: Input: database:add_part_test_db +PREHOOK: Output: database:add_part_test_db +POSTHOOK: query: DROP DATABASE add_part_test_db +POSTHOOK: type: DROPDATABASE +POSTHOOK: Input: database:add_part_test_db +POSTHOOK: Output: database:add_part_test_db diff --git a/ql/src/test/results/clientpositive/temp_table_add_part_multiple.q.out b/ql/src/test/results/clientpositive/temp_table_add_part_multiple.q.out new file mode 100644 index 0000000000..d5f3fa40ac --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_add_part_multiple.q.out @@ -0,0 +1,119 @@ +PREHOOK: query: CREATE TEMPORARY TABLE add_part_test_n1_temp (key STRING, value STRING) PARTITIONED BY (ds STRING) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@add_part_test_n1_temp +POSTHOOK: query: CREATE TEMPORARY TABLE add_part_test_n1_temp (key STRING, value STRING) PARTITIONED BY (ds STRING) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@add_part_test_n1_temp +PREHOOK: query: explain +ALTER TABLE add_part_test_n1_temp ADD IF NOT EXISTS +PARTITION (ds='2010-01-01') location 'A' +PARTITION (ds='2010-02-01') location 'B' +PARTITION (ds='2010-03-01') +PARTITION (ds='2010-04-01') location 'C' +PREHOOK: type: ALTERTABLE_ADDPARTS +#### A masked pattern was here #### +PREHOOK: Output: default@add_part_test_n1_temp +POSTHOOK: query: explain +ALTER TABLE add_part_test_n1_temp ADD IF NOT EXISTS +PARTITION (ds='2010-01-01') location 'A' +PARTITION (ds='2010-02-01') location 'B' +PARTITION (ds='2010-03-01') +PARTITION (ds='2010-04-01') location 'C' +POSTHOOK: type: ALTERTABLE_ADDPARTS +#### A masked pattern was here #### +POSTHOOK: Output: default@add_part_test_n1_temp +STAGE DEPENDENCIES: + Stage-0 is a root stage + +STAGE PLANS: + Stage: Stage-0 + Add Partition + db name: default + partitions: + Partition + location: A + partition spec: {ds=2010-01-01} + Partition + location: B + partition spec: {ds=2010-02-01} + Partition + params: {totalSize=0, numRows=0, rawDataSize=0, COLUMN_STATS_ACCURATE={"BASIC_STATS":"true","COLUMN_STATS":{"key":"true","value":"true"}}, numFiles=0, numFilesErasureCoded=0} + partition spec: {ds=2010-03-01} + Partition + location: C + partition spec: {ds=2010-04-01} + table name: add_part_test_n1_temp + if not exists: true + +PREHOOK: query: ALTER TABLE add_part_test_n1_temp ADD IF NOT EXISTS +PARTITION (ds='2010-01-01') location 'A' +PARTITION (ds='2010-02-01') location 'B' +PARTITION (ds='2010-03-01') +PARTITION (ds='2010-04-01') location 'C' +PREHOOK: type: ALTERTABLE_ADDPARTS +#### A masked pattern was here #### +PREHOOK: Output: default@add_part_test_n1_temp +POSTHOOK: query: ALTER TABLE add_part_test_n1_temp ADD IF NOT EXISTS +PARTITION (ds='2010-01-01') location 'A' +PARTITION (ds='2010-02-01') location 'B' +PARTITION (ds='2010-03-01') +PARTITION (ds='2010-04-01') location 'C' +POSTHOOK: type: ALTERTABLE_ADDPARTS +#### A masked pattern was here #### +POSTHOOK: Output: default@add_part_test_n1_temp +POSTHOOK: Output: default@add_part_test_n1_temp@ds=2010-01-01 +POSTHOOK: Output: default@add_part_test_n1_temp@ds=2010-02-01 +POSTHOOK: Output: default@add_part_test_n1_temp@ds=2010-03-01 +POSTHOOK: Output: default@add_part_test_n1_temp@ds=2010-04-01 +PREHOOK: query: from src TABLESAMPLE (1 ROWS) +insert into table add_part_test_n1_temp PARTITION (ds='2010-01-01') select 100,100 +insert into table add_part_test_n1_temp PARTITION (ds='2010-02-01') select 200,200 +insert into table add_part_test_n1_temp PARTITION (ds='2010-03-01') select 400,300 +insert into table add_part_test_n1_temp PARTITION (ds='2010-04-01') select 500,400 +PREHOOK: type: QUERY +PREHOOK: Input: default@src +PREHOOK: Output: default@add_part_test_n1_temp@ds=2010-01-01 +PREHOOK: Output: default@add_part_test_n1_temp@ds=2010-02-01 +PREHOOK: Output: default@add_part_test_n1_temp@ds=2010-03-01 +PREHOOK: Output: default@add_part_test_n1_temp@ds=2010-04-01 +POSTHOOK: query: from src TABLESAMPLE (1 ROWS) +insert into table add_part_test_n1_temp PARTITION (ds='2010-01-01') select 100,100 +insert into table add_part_test_n1_temp PARTITION (ds='2010-02-01') select 200,200 +insert into table add_part_test_n1_temp PARTITION (ds='2010-03-01') select 400,300 +insert into table add_part_test_n1_temp PARTITION (ds='2010-04-01') select 500,400 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src +POSTHOOK: Output: default@add_part_test_n1_temp@ds=2010-01-01 +POSTHOOK: Output: default@add_part_test_n1_temp@ds=2010-02-01 +POSTHOOK: Output: default@add_part_test_n1_temp@ds=2010-03-01 +POSTHOOK: Output: default@add_part_test_n1_temp@ds=2010-04-01 +POSTHOOK: Lineage: add_part_test_n1_temp PARTITION(ds=2010-01-01).key EXPRESSION [] +POSTHOOK: Lineage: add_part_test_n1_temp PARTITION(ds=2010-01-01).value EXPRESSION [] +POSTHOOK: Lineage: add_part_test_n1_temp PARTITION(ds=2010-02-01).key EXPRESSION [] +POSTHOOK: Lineage: add_part_test_n1_temp PARTITION(ds=2010-02-01).value EXPRESSION [] +POSTHOOK: Lineage: add_part_test_n1_temp PARTITION(ds=2010-03-01).key EXPRESSION [] +POSTHOOK: Lineage: add_part_test_n1_temp PARTITION(ds=2010-03-01).value EXPRESSION [] +POSTHOOK: Lineage: add_part_test_n1_temp PARTITION(ds=2010-04-01).key EXPRESSION [] +POSTHOOK: Lineage: add_part_test_n1_temp PARTITION(ds=2010-04-01).value EXPRESSION [] +PREHOOK: query: select * from add_part_test_n1_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@add_part_test_n1_temp +PREHOOK: Input: default@add_part_test_n1_temp@ds=2010-01-01 +PREHOOK: Input: default@add_part_test_n1_temp@ds=2010-02-01 +PREHOOK: Input: default@add_part_test_n1_temp@ds=2010-03-01 +PREHOOK: Input: default@add_part_test_n1_temp@ds=2010-04-01 +#### A masked pattern was here #### +POSTHOOK: query: select * from add_part_test_n1_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@add_part_test_n1_temp +POSTHOOK: Input: default@add_part_test_n1_temp@ds=2010-01-01 +POSTHOOK: Input: default@add_part_test_n1_temp@ds=2010-02-01 +POSTHOOK: Input: default@add_part_test_n1_temp@ds=2010-03-01 +POSTHOOK: Input: default@add_part_test_n1_temp@ds=2010-04-01 +#### A masked pattern was here #### +200 200 2010-02-01 +500 400 2010-04-01 +400 300 2010-03-01 +100 100 2010-01-01 diff --git a/ql/src/test/results/clientpositive/temp_table_alter_partition_change_col.q.out b/ql/src/test/results/clientpositive/temp_table_alter_partition_change_col.q.out new file mode 100644 index 0000000000..b7de24eb6b --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_alter_partition_change_col.q.out @@ -0,0 +1,1129 @@ +PREHOOK: query: create temporary table alter_partition_change_col0 (c1 string, c2 string) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@alter_partition_change_col0 +POSTHOOK: query: create temporary table alter_partition_change_col0 (c1 string, c2 string) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@alter_partition_change_col0 +PREHOOK: query: load data local inpath '../../data/files/dec.txt' overwrite into table alter_partition_change_col0 +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@alter_partition_change_col0 +POSTHOOK: query: load data local inpath '../../data/files/dec.txt' overwrite into table alter_partition_change_col0 +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@alter_partition_change_col0 +PREHOOK: query: create temporary table alter_partition_change_col1 (c1 string, c2 string) partitioned by (p1 string comment 'Column p1', p2 string comment 'Column p2') +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@alter_partition_change_col1 +POSTHOOK: query: create temporary table alter_partition_change_col1 (c1 string, c2 string) partitioned by (p1 string comment 'Column p1', p2 string comment 'Column p2') +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@alter_partition_change_col1 +PREHOOK: query: insert overwrite table alter_partition_change_col1 partition (p1, p2) + select c1, c2, 'abc', '123' from alter_partition_change_col0 + union all + select c1, c2, cast(null as string), '123' from alter_partition_change_col0 +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_partition_change_col0 +PREHOOK: Output: default@alter_partition_change_col1 +POSTHOOK: query: insert overwrite table alter_partition_change_col1 partition (p1, p2) + select c1, c2, 'abc', '123' from alter_partition_change_col0 + union all + select c1, c2, cast(null as string), '123' from alter_partition_change_col0 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_partition_change_col0 +POSTHOOK: Output: default@alter_partition_change_col1@p1=__HIVE_DEFAULT_PARTITION__/p2=123 +POSTHOOK: Output: default@alter_partition_change_col1@p1=abc/p2=123 +POSTHOOK: Lineage: alter_partition_change_col1 PARTITION(p1=__HIVE_DEFAULT_PARTITION__,p2=123).c1 EXPRESSION [(alter_partition_change_col0)alter_partition_change_col0.FieldSchema(name:c1, type:string, comment:null), ] +POSTHOOK: Lineage: alter_partition_change_col1 PARTITION(p1=__HIVE_DEFAULT_PARTITION__,p2=123).c2 EXPRESSION [(alter_partition_change_col0)alter_partition_change_col0.FieldSchema(name:c2, type:string, comment:null), ] +POSTHOOK: Lineage: alter_partition_change_col1 PARTITION(p1=abc,p2=123).c1 EXPRESSION [(alter_partition_change_col0)alter_partition_change_col0.FieldSchema(name:c1, type:string, comment:null), ] +POSTHOOK: Lineage: alter_partition_change_col1 PARTITION(p1=abc,p2=123).c2 EXPRESSION [(alter_partition_change_col0)alter_partition_change_col0.FieldSchema(name:c2, type:string, comment:null), ] +PREHOOK: query: show partitions alter_partition_change_col1 +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: query: show partitions alter_partition_change_col1 +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@alter_partition_change_col1 +p1=__HIVE_DEFAULT_PARTITION__/p2=123 +p1=abc/p2=123 +PREHOOK: query: select * from alter_partition_change_col1 where p1='abc' +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_partition_change_col1 +PREHOOK: Input: default@alter_partition_change_col1@p1=abc/p2=123 +#### A masked pattern was here #### +POSTHOOK: query: select * from alter_partition_change_col1 where p1='abc' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Input: default@alter_partition_change_col1@p1=abc/p2=123 +#### A masked pattern was here #### +Beck 0.0 abc 123 +Beck 77.341 abc 123 +Beck 79.9 abc 123 +Cluck 5.96 abc 123 +Mary 33.33 abc 123 +Mary 4.329 abc 123 +Snow 55.71 abc 123 +Tom -12.25 abc 123 +Tom 19.00 abc 123 +Tom 234.79 abc 123 +PREHOOK: query: select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__' +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_partition_change_col1 +PREHOOK: Input: default@alter_partition_change_col1@p1=__HIVE_DEFAULT_PARTITION__/p2=123 +#### A masked pattern was here #### +POSTHOOK: query: select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Input: default@alter_partition_change_col1@p1=__HIVE_DEFAULT_PARTITION__/p2=123 +#### A masked pattern was here #### +Beck 0.0 __HIVE_DEFAULT_PARTITION__ 123 +Beck 77.341 __HIVE_DEFAULT_PARTITION__ 123 +Beck 79.9 __HIVE_DEFAULT_PARTITION__ 123 +Cluck 5.96 __HIVE_DEFAULT_PARTITION__ 123 +Mary 33.33 __HIVE_DEFAULT_PARTITION__ 123 +Mary 4.329 __HIVE_DEFAULT_PARTITION__ 123 +Snow 55.71 __HIVE_DEFAULT_PARTITION__ 123 +Tom -12.25 __HIVE_DEFAULT_PARTITION__ 123 +Tom 19.00 __HIVE_DEFAULT_PARTITION__ 123 +Tom 234.79 __HIVE_DEFAULT_PARTITION__ 123 +PREHOOK: query: select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__' or lower(p1)='a' +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_partition_change_col1 +PREHOOK: Input: default@alter_partition_change_col1@p1=__HIVE_DEFAULT_PARTITION__/p2=123 +PREHOOK: Input: default@alter_partition_change_col1@p1=abc/p2=123 +#### A masked pattern was here #### +POSTHOOK: query: select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__' or lower(p1)='a' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Input: default@alter_partition_change_col1@p1=__HIVE_DEFAULT_PARTITION__/p2=123 +POSTHOOK: Input: default@alter_partition_change_col1@p1=abc/p2=123 +#### A masked pattern was here #### +Beck 0.0 __HIVE_DEFAULT_PARTITION__ 123 +Beck 77.341 __HIVE_DEFAULT_PARTITION__ 123 +Beck 79.9 __HIVE_DEFAULT_PARTITION__ 123 +Cluck 5.96 __HIVE_DEFAULT_PARTITION__ 123 +Mary 33.33 __HIVE_DEFAULT_PARTITION__ 123 +Mary 4.329 __HIVE_DEFAULT_PARTITION__ 123 +Snow 55.71 __HIVE_DEFAULT_PARTITION__ 123 +Tom -12.25 __HIVE_DEFAULT_PARTITION__ 123 +Tom 19.00 __HIVE_DEFAULT_PARTITION__ 123 +Tom 234.79 __HIVE_DEFAULT_PARTITION__ 123 +PREHOOK: query: alter table alter_partition_change_col1 change c2 c2 decimal(10,0) +PREHOOK: type: ALTERTABLE_RENAMECOL +PREHOOK: Input: default@alter_partition_change_col1 +PREHOOK: Output: default@alter_partition_change_col1 +POSTHOOK: query: alter table alter_partition_change_col1 change c2 c2 decimal(10,0) +POSTHOOK: type: ALTERTABLE_RENAMECOL +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Output: default@alter_partition_change_col1 +PREHOOK: query: alter table alter_partition_change_col1 partition (p1='abc', p2='123') change c2 c2 decimal(10,0) +PREHOOK: type: ALTERTABLE_RENAMECOL +PREHOOK: Input: default@alter_partition_change_col1 +PREHOOK: Output: default@alter_partition_change_col1@p1=abc/p2=123 +POSTHOOK: query: alter table alter_partition_change_col1 partition (p1='abc', p2='123') change c2 c2 decimal(10,0) +POSTHOOK: type: ALTERTABLE_RENAMECOL +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Input: default@alter_partition_change_col1@p1=abc/p2=123 +POSTHOOK: Output: default@alter_partition_change_col1@p1=abc/p2=123 +PREHOOK: query: alter table alter_partition_change_col1 partition (p1='__HIVE_DEFAULT_PARTITION__', p2='123') change c2 c2 decimal(10,0) +PREHOOK: type: ALTERTABLE_RENAMECOL +PREHOOK: Input: default@alter_partition_change_col1 +PREHOOK: Output: default@alter_partition_change_col1@p1=__HIVE_DEFAULT_PARTITION__/p2=123 +POSTHOOK: query: alter table alter_partition_change_col1 partition (p1='__HIVE_DEFAULT_PARTITION__', p2='123') change c2 c2 decimal(10,0) +POSTHOOK: type: ALTERTABLE_RENAMECOL +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Input: default@alter_partition_change_col1@p1=__HIVE_DEFAULT_PARTITION__/p2=123 +POSTHOOK: Output: default@alter_partition_change_col1@p1=__HIVE_DEFAULT_PARTITION__/p2=123 +PREHOOK: query: select * from alter_partition_change_col1 where p1='abc' +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_partition_change_col1 +PREHOOK: Input: default@alter_partition_change_col1@p1=abc/p2=123 +#### A masked pattern was here #### +POSTHOOK: query: select * from alter_partition_change_col1 where p1='abc' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Input: default@alter_partition_change_col1@p1=abc/p2=123 +#### A masked pattern was here #### +Beck 0 abc 123 +Beck 77 abc 123 +Beck 80 abc 123 +Cluck 6 abc 123 +Mary 33 abc 123 +Mary 4 abc 123 +Snow 56 abc 123 +Tom -12 abc 123 +Tom 19 abc 123 +Tom 235 abc 123 +PREHOOK: query: select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__' +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_partition_change_col1 +PREHOOK: Input: default@alter_partition_change_col1@p1=__HIVE_DEFAULT_PARTITION__/p2=123 +#### A masked pattern was here #### +POSTHOOK: query: select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Input: default@alter_partition_change_col1@p1=__HIVE_DEFAULT_PARTITION__/p2=123 +#### A masked pattern was here #### +Beck 0 __HIVE_DEFAULT_PARTITION__ 123 +Beck 77 __HIVE_DEFAULT_PARTITION__ 123 +Beck 80 __HIVE_DEFAULT_PARTITION__ 123 +Cluck 6 __HIVE_DEFAULT_PARTITION__ 123 +Mary 33 __HIVE_DEFAULT_PARTITION__ 123 +Mary 4 __HIVE_DEFAULT_PARTITION__ 123 +Snow 56 __HIVE_DEFAULT_PARTITION__ 123 +Tom -12 __HIVE_DEFAULT_PARTITION__ 123 +Tom 19 __HIVE_DEFAULT_PARTITION__ 123 +Tom 235 __HIVE_DEFAULT_PARTITION__ 123 +PREHOOK: query: alter table alter_partition_change_col1 change c2 c2 decimal(14,4) +PREHOOK: type: ALTERTABLE_RENAMECOL +PREHOOK: Input: default@alter_partition_change_col1 +PREHOOK: Output: default@alter_partition_change_col1 +POSTHOOK: query: alter table alter_partition_change_col1 change c2 c2 decimal(14,4) +POSTHOOK: type: ALTERTABLE_RENAMECOL +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Output: default@alter_partition_change_col1 +PREHOOK: query: describe alter_partition_change_col1 +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: query: describe alter_partition_change_col1 +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@alter_partition_change_col1 +c1 string +c2 decimal(14,4) +p1 string Column p1 +p2 string Column p2 + +# Partition Information +# col_name data_type comment +p1 string Column p1 +p2 string Column p2 +PREHOOK: query: describe alter_partition_change_col1 partition (p1='abc', p2='123') +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: query: describe alter_partition_change_col1 partition (p1='abc', p2='123') +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@alter_partition_change_col1 +c1 string +c2 decimal(10,0) +p1 string Column p1 +p2 string Column p2 + +# Partition Information +# col_name data_type comment +p1 string Column p1 +p2 string Column p2 +PREHOOK: query: select * from alter_partition_change_col1 where p1='abc' +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_partition_change_col1 +PREHOOK: Input: default@alter_partition_change_col1@p1=abc/p2=123 +#### A masked pattern was here #### +POSTHOOK: query: select * from alter_partition_change_col1 where p1='abc' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Input: default@alter_partition_change_col1@p1=abc/p2=123 +#### A masked pattern was here #### +Beck 0.0000 abc 123 +Beck 77.0000 abc 123 +Beck 80.0000 abc 123 +Cluck 6.0000 abc 123 +Mary 33.0000 abc 123 +Mary 4.0000 abc 123 +Snow 56.0000 abc 123 +Tom -12.0000 abc 123 +Tom 19.0000 abc 123 +Tom 235.0000 abc 123 +PREHOOK: query: select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__' +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_partition_change_col1 +PREHOOK: Input: default@alter_partition_change_col1@p1=__HIVE_DEFAULT_PARTITION__/p2=123 +#### A masked pattern was here #### +POSTHOOK: query: select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Input: default@alter_partition_change_col1@p1=__HIVE_DEFAULT_PARTITION__/p2=123 +#### A masked pattern was here #### +Beck 0.0000 __HIVE_DEFAULT_PARTITION__ 123 +Beck 77.0000 __HIVE_DEFAULT_PARTITION__ 123 +Beck 80.0000 __HIVE_DEFAULT_PARTITION__ 123 +Cluck 6.0000 __HIVE_DEFAULT_PARTITION__ 123 +Mary 33.0000 __HIVE_DEFAULT_PARTITION__ 123 +Mary 4.0000 __HIVE_DEFAULT_PARTITION__ 123 +Snow 56.0000 __HIVE_DEFAULT_PARTITION__ 123 +Tom -12.0000 __HIVE_DEFAULT_PARTITION__ 123 +Tom 19.0000 __HIVE_DEFAULT_PARTITION__ 123 +Tom 235.0000 __HIVE_DEFAULT_PARTITION__ 123 +PREHOOK: query: explain alter table alter_partition_change_col1 partition column (p1 string comment 'Changed comment for p1') +PREHOOK: type: ALTERTABLE_PARTCOLTYPE +PREHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: query: explain alter table alter_partition_change_col1 partition column (p1 string comment 'Changed comment for p1') +POSTHOOK: type: ALTERTABLE_PARTCOLTYPE +POSTHOOK: Input: default@alter_partition_change_col1 +STAGE DEPENDENCIES: + Stage-0 is a root stage + +STAGE PLANS: + Stage: Stage-0 + Alter Partition + partition key name: p1 + partition key type: string + table: default.alter_partition_change_col1 + +PREHOOK: query: alter table alter_partition_change_col1 partition column (p1 string comment 'Changed comment for p1') +PREHOOK: type: ALTERTABLE_PARTCOLTYPE +PREHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: query: alter table alter_partition_change_col1 partition column (p1 string comment 'Changed comment for p1') +POSTHOOK: type: ALTERTABLE_PARTCOLTYPE +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Output: default@alter_partition_change_col1 +PREHOOK: query: describe alter_partition_change_col1 +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: query: describe alter_partition_change_col1 +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@alter_partition_change_col1 +c1 string +c2 decimal(14,4) +p1 string Changed comment for p1 +p2 string Column p2 + +# Partition Information +# col_name data_type comment +p1 string Changed comment for p1 +p2 string Column p2 +PREHOOK: query: alter table alter_partition_change_col1 partition (p1='abc', p2='123') change c2 c2 decimal(14,4) +PREHOOK: type: ALTERTABLE_RENAMECOL +PREHOOK: Input: default@alter_partition_change_col1 +PREHOOK: Output: default@alter_partition_change_col1@p1=abc/p2=123 +POSTHOOK: query: alter table alter_partition_change_col1 partition (p1='abc', p2='123') change c2 c2 decimal(14,4) +POSTHOOK: type: ALTERTABLE_RENAMECOL +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Input: default@alter_partition_change_col1@p1=abc/p2=123 +POSTHOOK: Output: default@alter_partition_change_col1@p1=abc/p2=123 +PREHOOK: query: describe alter_partition_change_col1 partition (p1='abc', p2='123') +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: query: describe alter_partition_change_col1 partition (p1='abc', p2='123') +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@alter_partition_change_col1 +c1 string +c2 decimal(14,4) +p1 string Changed comment for p1 +p2 string Column p2 + +# Partition Information +# col_name data_type comment +p1 string Changed comment for p1 +p2 string Column p2 +PREHOOK: query: select * from alter_partition_change_col1 where p1='abc' +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_partition_change_col1 +PREHOOK: Input: default@alter_partition_change_col1@p1=abc/p2=123 +#### A masked pattern was here #### +POSTHOOK: query: select * from alter_partition_change_col1 where p1='abc' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Input: default@alter_partition_change_col1@p1=abc/p2=123 +#### A masked pattern was here #### +Beck 0.0000 abc 123 +Beck 77.3410 abc 123 +Beck 79.9000 abc 123 +Cluck 5.9600 abc 123 +Mary 33.3300 abc 123 +Mary 4.3290 abc 123 +Snow 55.7100 abc 123 +Tom -12.2500 abc 123 +Tom 19.0000 abc 123 +Tom 234.7900 abc 123 +PREHOOK: query: select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__' +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_partition_change_col1 +PREHOOK: Input: default@alter_partition_change_col1@p1=__HIVE_DEFAULT_PARTITION__/p2=123 +#### A masked pattern was here #### +POSTHOOK: query: select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Input: default@alter_partition_change_col1@p1=__HIVE_DEFAULT_PARTITION__/p2=123 +#### A masked pattern was here #### +Beck 0.0000 __HIVE_DEFAULT_PARTITION__ 123 +Beck 77.0000 __HIVE_DEFAULT_PARTITION__ 123 +Beck 80.0000 __HIVE_DEFAULT_PARTITION__ 123 +Cluck 6.0000 __HIVE_DEFAULT_PARTITION__ 123 +Mary 33.0000 __HIVE_DEFAULT_PARTITION__ 123 +Mary 4.0000 __HIVE_DEFAULT_PARTITION__ 123 +Snow 56.0000 __HIVE_DEFAULT_PARTITION__ 123 +Tom -12.0000 __HIVE_DEFAULT_PARTITION__ 123 +Tom 19.0000 __HIVE_DEFAULT_PARTITION__ 123 +Tom 235.0000 __HIVE_DEFAULT_PARTITION__ 123 +PREHOOK: query: alter table alter_partition_change_col1 partition (p1='__HIVE_DEFAULT_PARTITION__', p2='123') change c2 c2 decimal(14,4) +PREHOOK: type: ALTERTABLE_RENAMECOL +PREHOOK: Input: default@alter_partition_change_col1 +PREHOOK: Output: default@alter_partition_change_col1@p1=__HIVE_DEFAULT_PARTITION__/p2=123 +POSTHOOK: query: alter table alter_partition_change_col1 partition (p1='__HIVE_DEFAULT_PARTITION__', p2='123') change c2 c2 decimal(14,4) +POSTHOOK: type: ALTERTABLE_RENAMECOL +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Input: default@alter_partition_change_col1@p1=__HIVE_DEFAULT_PARTITION__/p2=123 +POSTHOOK: Output: default@alter_partition_change_col1@p1=__HIVE_DEFAULT_PARTITION__/p2=123 +PREHOOK: query: describe alter_partition_change_col1 partition (p1='__HIVE_DEFAULT_PARTITION__', p2='123') +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: query: describe alter_partition_change_col1 partition (p1='__HIVE_DEFAULT_PARTITION__', p2='123') +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@alter_partition_change_col1 +c1 string +c2 decimal(14,4) +p1 string Changed comment for p1 +p2 string Column p2 + +# Partition Information +# col_name data_type comment +p1 string Changed comment for p1 +p2 string Column p2 +PREHOOK: query: select * from alter_partition_change_col1 where p1='abc' +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_partition_change_col1 +PREHOOK: Input: default@alter_partition_change_col1@p1=abc/p2=123 +#### A masked pattern was here #### +POSTHOOK: query: select * from alter_partition_change_col1 where p1='abc' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Input: default@alter_partition_change_col1@p1=abc/p2=123 +#### A masked pattern was here #### +Beck 0.0000 abc 123 +Beck 77.3410 abc 123 +Beck 79.9000 abc 123 +Cluck 5.9600 abc 123 +Mary 33.3300 abc 123 +Mary 4.3290 abc 123 +Snow 55.7100 abc 123 +Tom -12.2500 abc 123 +Tom 19.0000 abc 123 +Tom 234.7900 abc 123 +PREHOOK: query: select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__' +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_partition_change_col1 +PREHOOK: Input: default@alter_partition_change_col1@p1=__HIVE_DEFAULT_PARTITION__/p2=123 +#### A masked pattern was here #### +POSTHOOK: query: select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Input: default@alter_partition_change_col1@p1=__HIVE_DEFAULT_PARTITION__/p2=123 +#### A masked pattern was here #### +Beck 0.0000 __HIVE_DEFAULT_PARTITION__ 123 +Beck 77.3410 __HIVE_DEFAULT_PARTITION__ 123 +Beck 79.9000 __HIVE_DEFAULT_PARTITION__ 123 +Cluck 5.9600 __HIVE_DEFAULT_PARTITION__ 123 +Mary 33.3300 __HIVE_DEFAULT_PARTITION__ 123 +Mary 4.3290 __HIVE_DEFAULT_PARTITION__ 123 +Snow 55.7100 __HIVE_DEFAULT_PARTITION__ 123 +Tom -12.2500 __HIVE_DEFAULT_PARTITION__ 123 +Tom 19.0000 __HIVE_DEFAULT_PARTITION__ 123 +Tom 234.7900 __HIVE_DEFAULT_PARTITION__ 123 +PREHOOK: query: alter table alter_partition_change_col1 partition (p1='abc', p2='123') replace columns (c1 string) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@alter_partition_change_col1 +PREHOOK: Output: default@alter_partition_change_col1@p1=abc/p2=123 +POSTHOOK: query: alter table alter_partition_change_col1 partition (p1='abc', p2='123') replace columns (c1 string) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Input: default@alter_partition_change_col1@p1=abc/p2=123 +POSTHOOK: Output: default@alter_partition_change_col1@p1=abc/p2=123 +PREHOOK: query: describe alter_partition_change_col1 +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: query: describe alter_partition_change_col1 +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@alter_partition_change_col1 +c1 string +c2 decimal(14,4) +p1 string Changed comment for p1 +p2 string Column p2 + +# Partition Information +# col_name data_type comment +p1 string Changed comment for p1 +p2 string Column p2 +PREHOOK: query: describe alter_partition_change_col1 partition (p1='abc', p2='123') +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: query: describe alter_partition_change_col1 partition (p1='abc', p2='123') +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@alter_partition_change_col1 +c1 string +p1 string Changed comment for p1 +p2 string Column p2 + +# Partition Information +# col_name data_type comment +p1 string Changed comment for p1 +p2 string Column p2 +PREHOOK: query: select * from alter_partition_change_col1 where p1='abc' +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_partition_change_col1 +PREHOOK: Input: default@alter_partition_change_col1@p1=abc/p2=123 +#### A masked pattern was here #### +POSTHOOK: query: select * from alter_partition_change_col1 where p1='abc' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Input: default@alter_partition_change_col1@p1=abc/p2=123 +#### A masked pattern was here #### +Beck NULL abc 123 +Beck NULL abc 123 +Beck NULL abc 123 +Cluck NULL abc 123 +Mary NULL abc 123 +Mary NULL abc 123 +Snow NULL abc 123 +Tom NULL abc 123 +Tom NULL abc 123 +Tom NULL abc 123 +PREHOOK: query: select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__' +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_partition_change_col1 +PREHOOK: Input: default@alter_partition_change_col1@p1=__HIVE_DEFAULT_PARTITION__/p2=123 +#### A masked pattern was here #### +POSTHOOK: query: select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Input: default@alter_partition_change_col1@p1=__HIVE_DEFAULT_PARTITION__/p2=123 +#### A masked pattern was here #### +Beck 0.0000 __HIVE_DEFAULT_PARTITION__ 123 +Beck 77.3410 __HIVE_DEFAULT_PARTITION__ 123 +Beck 79.9000 __HIVE_DEFAULT_PARTITION__ 123 +Cluck 5.9600 __HIVE_DEFAULT_PARTITION__ 123 +Mary 33.3300 __HIVE_DEFAULT_PARTITION__ 123 +Mary 4.3290 __HIVE_DEFAULT_PARTITION__ 123 +Snow 55.7100 __HIVE_DEFAULT_PARTITION__ 123 +Tom -12.2500 __HIVE_DEFAULT_PARTITION__ 123 +Tom 19.0000 __HIVE_DEFAULT_PARTITION__ 123 +Tom 234.7900 __HIVE_DEFAULT_PARTITION__ 123 +PREHOOK: query: alter table alter_partition_change_col1 replace columns (c1 string) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@alter_partition_change_col1 +PREHOOK: Output: default@alter_partition_change_col1 +POSTHOOK: query: alter table alter_partition_change_col1 replace columns (c1 string) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Output: default@alter_partition_change_col1 +PREHOOK: query: describe alter_partition_change_col1 +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: query: describe alter_partition_change_col1 +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@alter_partition_change_col1 +c1 string +p1 string Changed comment for p1 +p2 string Column p2 + +# Partition Information +# col_name data_type comment +p1 string Changed comment for p1 +p2 string Column p2 +PREHOOK: query: select * from alter_partition_change_col1 where p1='abc' +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_partition_change_col1 +PREHOOK: Input: default@alter_partition_change_col1@p1=abc/p2=123 +#### A masked pattern was here #### +POSTHOOK: query: select * from alter_partition_change_col1 where p1='abc' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Input: default@alter_partition_change_col1@p1=abc/p2=123 +#### A masked pattern was here #### +Beck abc 123 +Beck abc 123 +Beck abc 123 +Cluck abc 123 +Mary abc 123 +Mary abc 123 +Snow abc 123 +Tom abc 123 +Tom abc 123 +Tom abc 123 +PREHOOK: query: select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__' +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_partition_change_col1 +PREHOOK: Input: default@alter_partition_change_col1@p1=__HIVE_DEFAULT_PARTITION__/p2=123 +#### A masked pattern was here #### +POSTHOOK: query: select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Input: default@alter_partition_change_col1@p1=__HIVE_DEFAULT_PARTITION__/p2=123 +#### A masked pattern was here #### +Beck __HIVE_DEFAULT_PARTITION__ 123 +Beck __HIVE_DEFAULT_PARTITION__ 123 +Beck __HIVE_DEFAULT_PARTITION__ 123 +Cluck __HIVE_DEFAULT_PARTITION__ 123 +Mary __HIVE_DEFAULT_PARTITION__ 123 +Mary __HIVE_DEFAULT_PARTITION__ 123 +Snow __HIVE_DEFAULT_PARTITION__ 123 +Tom __HIVE_DEFAULT_PARTITION__ 123 +Tom __HIVE_DEFAULT_PARTITION__ 123 +Tom __HIVE_DEFAULT_PARTITION__ 123 +PREHOOK: query: alter table alter_partition_change_col1 add columns (c2 decimal(14,4)) +PREHOOK: type: ALTERTABLE_ADDCOLS +PREHOOK: Input: default@alter_partition_change_col1 +PREHOOK: Output: default@alter_partition_change_col1 +POSTHOOK: query: alter table alter_partition_change_col1 add columns (c2 decimal(14,4)) +POSTHOOK: type: ALTERTABLE_ADDCOLS +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Output: default@alter_partition_change_col1 +PREHOOK: query: describe alter_partition_change_col1 +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: query: describe alter_partition_change_col1 +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@alter_partition_change_col1 +c1 string +c2 decimal(14,4) +p1 string Changed comment for p1 +p2 string Column p2 + +# Partition Information +# col_name data_type comment +p1 string Changed comment for p1 +p2 string Column p2 +PREHOOK: query: describe alter_partition_change_col1 partition (p1='abc', p2='123') +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: query: describe alter_partition_change_col1 partition (p1='abc', p2='123') +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@alter_partition_change_col1 +c1 string +p1 string Changed comment for p1 +p2 string Column p2 + +# Partition Information +# col_name data_type comment +p1 string Changed comment for p1 +p2 string Column p2 +PREHOOK: query: select * from alter_partition_change_col1 where p1='abc' +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_partition_change_col1 +PREHOOK: Input: default@alter_partition_change_col1@p1=abc/p2=123 +#### A masked pattern was here #### +POSTHOOK: query: select * from alter_partition_change_col1 where p1='abc' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Input: default@alter_partition_change_col1@p1=abc/p2=123 +#### A masked pattern was here #### +Beck NULL abc 123 +Beck NULL abc 123 +Beck NULL abc 123 +Cluck NULL abc 123 +Mary NULL abc 123 +Mary NULL abc 123 +Snow NULL abc 123 +Tom NULL abc 123 +Tom NULL abc 123 +Tom NULL abc 123 +PREHOOK: query: select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__' +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_partition_change_col1 +PREHOOK: Input: default@alter_partition_change_col1@p1=__HIVE_DEFAULT_PARTITION__/p2=123 +#### A masked pattern was here #### +POSTHOOK: query: select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Input: default@alter_partition_change_col1@p1=__HIVE_DEFAULT_PARTITION__/p2=123 +#### A masked pattern was here #### +Beck 0.0000 __HIVE_DEFAULT_PARTITION__ 123 +Beck 77.3410 __HIVE_DEFAULT_PARTITION__ 123 +Beck 79.9000 __HIVE_DEFAULT_PARTITION__ 123 +Cluck 5.9600 __HIVE_DEFAULT_PARTITION__ 123 +Mary 33.3300 __HIVE_DEFAULT_PARTITION__ 123 +Mary 4.3290 __HIVE_DEFAULT_PARTITION__ 123 +Snow 55.7100 __HIVE_DEFAULT_PARTITION__ 123 +Tom -12.2500 __HIVE_DEFAULT_PARTITION__ 123 +Tom 19.0000 __HIVE_DEFAULT_PARTITION__ 123 +Tom 234.7900 __HIVE_DEFAULT_PARTITION__ 123 +PREHOOK: query: alter table alter_partition_change_col1 partition (p1='abc', p2='123') add columns (c2 decimal(14,4)) +PREHOOK: type: ALTERTABLE_ADDCOLS +PREHOOK: Input: default@alter_partition_change_col1 +PREHOOK: Output: default@alter_partition_change_col1@p1=abc/p2=123 +POSTHOOK: query: alter table alter_partition_change_col1 partition (p1='abc', p2='123') add columns (c2 decimal(14,4)) +POSTHOOK: type: ALTERTABLE_ADDCOLS +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Input: default@alter_partition_change_col1@p1=abc/p2=123 +POSTHOOK: Output: default@alter_partition_change_col1@p1=abc/p2=123 +PREHOOK: query: describe alter_partition_change_col1 partition (p1='abc', p2='123') +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: query: describe alter_partition_change_col1 partition (p1='abc', p2='123') +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@alter_partition_change_col1 +c1 string +c2 decimal(14,4) +p1 string Changed comment for p1 +p2 string Column p2 + +# Partition Information +# col_name data_type comment +p1 string Changed comment for p1 +p2 string Column p2 +PREHOOK: query: select * from alter_partition_change_col1 where p1='abc' +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_partition_change_col1 +PREHOOK: Input: default@alter_partition_change_col1@p1=abc/p2=123 +#### A masked pattern was here #### +POSTHOOK: query: select * from alter_partition_change_col1 where p1='abc' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Input: default@alter_partition_change_col1@p1=abc/p2=123 +#### A masked pattern was here #### +Beck 0.0000 abc 123 +Beck 77.3410 abc 123 +Beck 79.9000 abc 123 +Cluck 5.9600 abc 123 +Mary 33.3300 abc 123 +Mary 4.3290 abc 123 +Snow 55.7100 abc 123 +Tom -12.2500 abc 123 +Tom 19.0000 abc 123 +Tom 234.7900 abc 123 +PREHOOK: query: select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__' +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_partition_change_col1 +PREHOOK: Input: default@alter_partition_change_col1@p1=__HIVE_DEFAULT_PARTITION__/p2=123 +#### A masked pattern was here #### +POSTHOOK: query: select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Input: default@alter_partition_change_col1@p1=__HIVE_DEFAULT_PARTITION__/p2=123 +#### A masked pattern was here #### +Beck 0.0000 __HIVE_DEFAULT_PARTITION__ 123 +Beck 77.3410 __HIVE_DEFAULT_PARTITION__ 123 +Beck 79.9000 __HIVE_DEFAULT_PARTITION__ 123 +Cluck 5.9600 __HIVE_DEFAULT_PARTITION__ 123 +Mary 33.3300 __HIVE_DEFAULT_PARTITION__ 123 +Mary 4.3290 __HIVE_DEFAULT_PARTITION__ 123 +Snow 55.7100 __HIVE_DEFAULT_PARTITION__ 123 +Tom -12.2500 __HIVE_DEFAULT_PARTITION__ 123 +Tom 19.0000 __HIVE_DEFAULT_PARTITION__ 123 +Tom 234.7900 __HIVE_DEFAULT_PARTITION__ 123 +PREHOOK: query: alter table alter_partition_change_col1 partition (p1, p2='123') change column c2 c2 decimal(10,0) +PREHOOK: type: ALTERTABLE_RENAMECOL +PREHOOK: Input: default@alter_partition_change_col1 +PREHOOK: Output: default@alter_partition_change_col1@p1=__HIVE_DEFAULT_PARTITION__/p2=123 +PREHOOK: Output: default@alter_partition_change_col1@p1=abc/p2=123 +POSTHOOK: query: alter table alter_partition_change_col1 partition (p1, p2='123') change column c2 c2 decimal(10,0) +POSTHOOK: type: ALTERTABLE_RENAMECOL +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Input: default@alter_partition_change_col1@p1=__HIVE_DEFAULT_PARTITION__/p2=123 +POSTHOOK: Input: default@alter_partition_change_col1@p1=abc/p2=123 +POSTHOOK: Output: default@alter_partition_change_col1@p1=__HIVE_DEFAULT_PARTITION__/p2=123 +POSTHOOK: Output: default@alter_partition_change_col1@p1=abc/p2=123 +PREHOOK: query: describe alter_partition_change_col1 partition (p1='abc', p2='123') +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: query: describe alter_partition_change_col1 partition (p1='abc', p2='123') +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@alter_partition_change_col1 +c1 string +c2 decimal(10,0) +p1 string Changed comment for p1 +p2 string Column p2 + +# Partition Information +# col_name data_type comment +p1 string Changed comment for p1 +p2 string Column p2 +PREHOOK: query: describe alter_partition_change_col1 partition (p1='__HIVE_DEFAULT_PARTITION__', p2='123') +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: query: describe alter_partition_change_col1 partition (p1='__HIVE_DEFAULT_PARTITION__', p2='123') +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@alter_partition_change_col1 +c1 string +c2 decimal(10,0) +p1 string Changed comment for p1 +p2 string Column p2 + +# Partition Information +# col_name data_type comment +p1 string Changed comment for p1 +p2 string Column p2 +PREHOOK: query: select * from alter_partition_change_col1 where p1='abc' +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_partition_change_col1 +PREHOOK: Input: default@alter_partition_change_col1@p1=abc/p2=123 +#### A masked pattern was here #### +POSTHOOK: query: select * from alter_partition_change_col1 where p1='abc' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Input: default@alter_partition_change_col1@p1=abc/p2=123 +#### A masked pattern was here #### +Beck 0.0000 abc 123 +Beck 77.0000 abc 123 +Beck 80.0000 abc 123 +Cluck 6.0000 abc 123 +Mary 33.0000 abc 123 +Mary 4.0000 abc 123 +Snow 56.0000 abc 123 +Tom -12.0000 abc 123 +Tom 19.0000 abc 123 +Tom 235.0000 abc 123 +PREHOOK: query: select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__' +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_partition_change_col1 +PREHOOK: Input: default@alter_partition_change_col1@p1=__HIVE_DEFAULT_PARTITION__/p2=123 +#### A masked pattern was here #### +POSTHOOK: query: select * from alter_partition_change_col1 where p1='__HIVE_DEFAULT_PARTITION__' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_partition_change_col1 +POSTHOOK: Input: default@alter_partition_change_col1@p1=__HIVE_DEFAULT_PARTITION__/p2=123 +#### A masked pattern was here #### +Beck 0.0000 __HIVE_DEFAULT_PARTITION__ 123 +Beck 77.0000 __HIVE_DEFAULT_PARTITION__ 123 +Beck 80.0000 __HIVE_DEFAULT_PARTITION__ 123 +Cluck 6.0000 __HIVE_DEFAULT_PARTITION__ 123 +Mary 33.0000 __HIVE_DEFAULT_PARTITION__ 123 +Mary 4.0000 __HIVE_DEFAULT_PARTITION__ 123 +Snow 56.0000 __HIVE_DEFAULT_PARTITION__ 123 +Tom -12.0000 __HIVE_DEFAULT_PARTITION__ 123 +Tom 19.0000 __HIVE_DEFAULT_PARTITION__ 123 +Tom 235.0000 __HIVE_DEFAULT_PARTITION__ 123 +PREHOOK: query: CREATE temporary TABLE `alterPartTbl`( + col_1col_1col_1col_1col_1col_11 string, + col_1col_1col_1col_1col_1col_12 string, + col_1col_1col_1col_1col_1col_13 string, + col_1col_1col_1col_1col_1col_14 string, + col_1col_1col_1col_1col_1col_15 string, + col_1col_1col_1col_1col_1col_16 string, + col_1col_1col_1col_1col_1col_17 string, + col_1col_1col_1col_1col_1col_18 string, + col_1col_1col_1col_1col_1col_19 string, + col_1col_1col_1col_1col_1col_110 string, + col_1col_1col_1col_1col_1col_111 string, + col_1col_1col_1col_1col_1col_112 string, + col_1col_1col_1col_1col_1col_113 string, + col_1col_1col_1col_1col_1col_114 string, + col_1col_1col_1col_1col_1col_115 string, + col_1col_1col_1col_1col_1col_116 string, + col_1col_1col_1col_1col_1col_117 string, + col_1col_1col_1col_1col_1col_118 string, + col_1col_1col_1col_1col_1col_119 string, + col_1col_1col_1col_1col_1col_120 string, + col_1col_1col_1col_1col_1col_121 string, + col_1col_1col_1col_1col_1col_122 string, + col_1col_1col_1col_1col_1col_123 string, + col_1col_1col_1col_1col_1col_124 string, + col_1col_1col_1col_1col_1col_125 string, + col_1col_1col_1col_1col_1col_126 string, + col_1col_1col_1col_1col_1col_127 string, + col_1col_1col_1col_1col_1col_128 string, + col_1col_1col_1col_1col_1col_129 string, + col_1col_1col_1col_1col_1col_130 string, + col_1col_1col_1col_1col_1col_131 string, + col_1col_1col_1col_1col_1col_132 string, + col_1col_1col_1col_1col_1col_133 string, + col_1col_1col_1col_1col_1col_134 string, + col_1col_1col_1col_1col_1col_135 string, + col_1col_1col_1col_1col_1col_136 string, + col_1col_1col_1col_1col_1col_137 string, + col_1col_1col_1col_1col_1col_138 string, + col_1col_1col_1col_1col_1col_139 string, + col_1col_1col_1col_1col_1col_140 string, + col_1col_1col_1col_1col_1col_141 string, + col_1col_1col_1col_1col_1col_142 string, + col_1col_1col_1col_1col_1col_143 string, + col_1col_1col_1col_1col_1col_144 string, + col_1col_1col_1col_1col_1col_145 string, + col_1col_1col_1col_1col_1col_146 string, + col_1col_1col_1col_1col_1col_147 string, + col_1col_1col_1col_1col_1col_148 string, + col_1col_1col_1col_1col_1col_149 string, + col_1col_1col_1col_1col_1col_150 string, + col_1col_1col_1col_1col_1col_151 string, + col_1col_1col_1col_1col_1col_152 string, + col_1col_1col_1col_1col_1col_153 string, + col_1col_1col_1col_1col_1col_154 string, + col_1col_1col_1col_1col_1col_155 string, + col_1col_1col_1col_1col_1col_156 string, + col_1col_1col_1col_1col_1col_157 string, + col_1col_1col_1col_1col_1col_158 string, + col_1col_1col_1col_1col_1col_159 string, + col_1col_1col_1col_1col_1col_160 string, + col_1col_1col_1col_1col_1col_161 string, + col_1col_1col_1col_1col_1col_162 string, + col_1col_1col_1col_1col_1col_163 string, + col_1col_1col_1col_1col_1col_164 string, + col_1col_1col_1col_1col_1col_165 string, + col_1col_1col_1col_1col_1col_166 string, + col_1col_1col_1col_1col_1col_167 string, + col_1col_1col_1col_1col_1col_168 string, + col_1col_1col_1col_1col_1col_169 string, + col_1col_1col_1col_1col_1col_170 string, + col_1col_1col_1col_1col_1col_171 string, + col_1col_1col_1col_1col_1col_172 string, + col_1col_1col_1col_1col_1col_173 string, + col_1col_1col_1col_1col_1col_174 string, + col_1col_1col_1col_1col_1col_175 string, + col_1col_1col_1col_1col_1col_176 string, + col_1col_1col_1col_1col_1col_177 string, + col_1col_1col_1col_1col_1col_178 string, + col_1col_1col_1col_1col_1col_179 string, + col_1col_1col_1col_1col_1col_180 string, + col_1col_1col_1col_1col_1col_181 string, + col_1col_1col_1col_1col_1col_182 string, + col_1col_1col_1col_1col_1col_183 string, + col_1col_1col_1col_1col_1col_184 string, + col_1col_1col_1col_1col_1col_185 string, + col_1col_1col_1col_1col_1col_186 string, + col_1col_1col_1col_1col_1col_187 string, + col_1col_1col_1col_1col_1col_188 string, + col_1col_1col_1col_1col_1col_189 string, + col_1col_1col_1col_1col_1col_190 string, + col_1col_1col_1col_1col_1col_191 string, + col_1col_1col_1col_1col_1col_192 string, + col_1col_1col_1col_1col_1col_193 string, + col_1col_1col_1col_1col_1col_194 string, + col_1col_1col_1col_1col_1col_195 string, + col_1col_1col_1col_1col_1col_196 string, + col_1col_1col_1col_1col_1col_197 string, + col_1col_1col_1col_1col_1col_198 string, + col_1col_1col_1col_1col_1col_199 string, + col_1col_1col_1col_1col_1col_1100 string, + col_1col_1col_1col_1col_1col_1101 string, + col_1col_1col_1col_1col_1col_1102 string, + col_1col_1col_1col_1col_1col_1103 string, + col_1col_1col_1col_1col_1col_1104 string, + col_1col_1col_1col_1col_1col_1105 string, + col_1col_1col_1col_1col_1col_1106 string, + col_1col_1col_1col_1col_1col_1107 string, + col_1col_1col_1col_1col_1col_1108 string, + col_1col_1col_1col_1col_1col_1109 string, + col_1col_1col_1col_1col_1col_1110 string, + col_1col_1col_1col_1col_1col_1111 string, + col_1col_1col_1col_1col_1col_1112 string, + col_1col_1col_1col_1col_1col_1113 string, + col_1col_1col_1col_1col_1col_1114 string, + col_1col_1col_1col_1col_1col_1115 string, + col_1col_1col_1col_1col_1col_1116 string, + col_1col_1col_1col_1col_1col_1117 string, + col_1col_1col_1col_1col_1col_1118 string, + col_1col_1col_1col_1col_1col_1119 string, + col_1col_1col_1col_1col_1col_1120 string, + col_1col_1col_1col_1col_1col_1121 string, + col_1col_1col_1col_1col_1col_1122 string, + col_1col_1col_1col_1col_1col_1123 string, + col_1col_1col_1col_1col_1col_1124 string, + col_1col_1col_1col_1col_1col_1125 string, + col_1col_1col_1col_1col_1col_1126 string, + col_1col_1col_1col_1col_1col_1127 string, + col_1col_1col_1col_1col_1col_1128 string, + col_1col_1col_1col_1col_1col_1129 string, + col_1col_1col_1col_1col_1col_1130 string, + col_1col_1col_1col_1col_1col_1131 string, + col_1col_1col_1col_1col_1col_1132 string, + col_1col_1col_1col_1col_1col_1133 string, + col_1col_1col_1col_1col_1col_1134 string, + col_1col_1col_1col_1col_1col_1135 string, + col_1col_1col_1col_1col_1col_1136 string, + col_1col_1col_1col_1col_1col_1137 string, + col_1col_1col_1col_1col_1col_1138 string, + col_1col_1col_1col_1col_1col_1139 string, + col_1col_1col_1col_1col_1col_1140 string, + col_1col_1col_1col_1col_1col_1141 string, + col_1col_1col_1col_1col_1col_1142 string, + col_1col_1col_1col_1col_1col_1143 string, + col_1col_1col_1col_1col_1col_1144 string, + col_1col_1col_1col_1col_1col_1145 string, + col_1col_1col_1col_1col_1col_1146 string, + col_1col_1col_1col_1col_1col_1147 string, + col_1col_1col_1col_1col_1col_1148 string, + col_1col_1col_1col_1col_1col_1149 string, + col_1col_1col_1col_1col_1col_1150 string, + col_1col_1col_1col_1col_1col_1151 string, + col_1col_1col_1col_1col_1col_1152 string, + col_1col_1col_1col_1col_1col_1153 string, + col_1col_1col_1col_1col_1col_1154 string, + col_1col_1col_1col_1col_1col_1155 string, + col_1col_1col_1col_1col_1col_1156 string, + col_1col_1col_1col_1col_1col_1157 string, + col_1col_1col_1col_1col_1col_1158 string) +PARTITIONED BY ( + `partition_col` string) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@alterPartTbl +POSTHOOK: query: CREATE temporary TABLE `alterPartTbl`( + col_1col_1col_1col_1col_1col_11 string, + col_1col_1col_1col_1col_1col_12 string, + col_1col_1col_1col_1col_1col_13 string, + col_1col_1col_1col_1col_1col_14 string, + col_1col_1col_1col_1col_1col_15 string, + col_1col_1col_1col_1col_1col_16 string, + col_1col_1col_1col_1col_1col_17 string, + col_1col_1col_1col_1col_1col_18 string, + col_1col_1col_1col_1col_1col_19 string, + col_1col_1col_1col_1col_1col_110 string, + col_1col_1col_1col_1col_1col_111 string, + col_1col_1col_1col_1col_1col_112 string, + col_1col_1col_1col_1col_1col_113 string, + col_1col_1col_1col_1col_1col_114 string, + col_1col_1col_1col_1col_1col_115 string, + col_1col_1col_1col_1col_1col_116 string, + col_1col_1col_1col_1col_1col_117 string, + col_1col_1col_1col_1col_1col_118 string, + col_1col_1col_1col_1col_1col_119 string, + col_1col_1col_1col_1col_1col_120 string, + col_1col_1col_1col_1col_1col_121 string, + col_1col_1col_1col_1col_1col_122 string, + col_1col_1col_1col_1col_1col_123 string, + col_1col_1col_1col_1col_1col_124 string, + col_1col_1col_1col_1col_1col_125 string, + col_1col_1col_1col_1col_1col_126 string, + col_1col_1col_1col_1col_1col_127 string, + col_1col_1col_1col_1col_1col_128 string, + col_1col_1col_1col_1col_1col_129 string, + col_1col_1col_1col_1col_1col_130 string, + col_1col_1col_1col_1col_1col_131 string, + col_1col_1col_1col_1col_1col_132 string, + col_1col_1col_1col_1col_1col_133 string, + col_1col_1col_1col_1col_1col_134 string, + col_1col_1col_1col_1col_1col_135 string, + col_1col_1col_1col_1col_1col_136 string, + col_1col_1col_1col_1col_1col_137 string, + col_1col_1col_1col_1col_1col_138 string, + col_1col_1col_1col_1col_1col_139 string, + col_1col_1col_1col_1col_1col_140 string, + col_1col_1col_1col_1col_1col_141 string, + col_1col_1col_1col_1col_1col_142 string, + col_1col_1col_1col_1col_1col_143 string, + col_1col_1col_1col_1col_1col_144 string, + col_1col_1col_1col_1col_1col_145 string, + col_1col_1col_1col_1col_1col_146 string, + col_1col_1col_1col_1col_1col_147 string, + col_1col_1col_1col_1col_1col_148 string, + col_1col_1col_1col_1col_1col_149 string, + col_1col_1col_1col_1col_1col_150 string, + col_1col_1col_1col_1col_1col_151 string, + col_1col_1col_1col_1col_1col_152 string, + col_1col_1col_1col_1col_1col_153 string, + col_1col_1col_1col_1col_1col_154 string, + col_1col_1col_1col_1col_1col_155 string, + col_1col_1col_1col_1col_1col_156 string, + col_1col_1col_1col_1col_1col_157 string, + col_1col_1col_1col_1col_1col_158 string, + col_1col_1col_1col_1col_1col_159 string, + col_1col_1col_1col_1col_1col_160 string, + col_1col_1col_1col_1col_1col_161 string, + col_1col_1col_1col_1col_1col_162 string, + col_1col_1col_1col_1col_1col_163 string, + col_1col_1col_1col_1col_1col_164 string, + col_1col_1col_1col_1col_1col_165 string, + col_1col_1col_1col_1col_1col_166 string, + col_1col_1col_1col_1col_1col_167 string, + col_1col_1col_1col_1col_1col_168 string, + col_1col_1col_1col_1col_1col_169 string, + col_1col_1col_1col_1col_1col_170 string, + col_1col_1col_1col_1col_1col_171 string, + col_1col_1col_1col_1col_1col_172 string, + col_1col_1col_1col_1col_1col_173 string, + col_1col_1col_1col_1col_1col_174 string, + col_1col_1col_1col_1col_1col_175 string, + col_1col_1col_1col_1col_1col_176 string, + col_1col_1col_1col_1col_1col_177 string, + col_1col_1col_1col_1col_1col_178 string, + col_1col_1col_1col_1col_1col_179 string, + col_1col_1col_1col_1col_1col_180 string, + col_1col_1col_1col_1col_1col_181 string, + col_1col_1col_1col_1col_1col_182 string, + col_1col_1col_1col_1col_1col_183 string, + col_1col_1col_1col_1col_1col_184 string, + col_1col_1col_1col_1col_1col_185 string, + col_1col_1col_1col_1col_1col_186 string, + col_1col_1col_1col_1col_1col_187 string, + col_1col_1col_1col_1col_1col_188 string, + col_1col_1col_1col_1col_1col_189 string, + col_1col_1col_1col_1col_1col_190 string, + col_1col_1col_1col_1col_1col_191 string, + col_1col_1col_1col_1col_1col_192 string, + col_1col_1col_1col_1col_1col_193 string, + col_1col_1col_1col_1col_1col_194 string, + col_1col_1col_1col_1col_1col_195 string, + col_1col_1col_1col_1col_1col_196 string, + col_1col_1col_1col_1col_1col_197 string, + col_1col_1col_1col_1col_1col_198 string, + col_1col_1col_1col_1col_1col_199 string, + col_1col_1col_1col_1col_1col_1100 string, + col_1col_1col_1col_1col_1col_1101 string, + col_1col_1col_1col_1col_1col_1102 string, + col_1col_1col_1col_1col_1col_1103 string, + col_1col_1col_1col_1col_1col_1104 string, + col_1col_1col_1col_1col_1col_1105 string, + col_1col_1col_1col_1col_1col_1106 string, + col_1col_1col_1col_1col_1col_1107 string, + col_1col_1col_1col_1col_1col_1108 string, + col_1col_1col_1col_1col_1col_1109 string, + col_1col_1col_1col_1col_1col_1110 string, + col_1col_1col_1col_1col_1col_1111 string, + col_1col_1col_1col_1col_1col_1112 string, + col_1col_1col_1col_1col_1col_1113 string, + col_1col_1col_1col_1col_1col_1114 string, + col_1col_1col_1col_1col_1col_1115 string, + col_1col_1col_1col_1col_1col_1116 string, + col_1col_1col_1col_1col_1col_1117 string, + col_1col_1col_1col_1col_1col_1118 string, + col_1col_1col_1col_1col_1col_1119 string, + col_1col_1col_1col_1col_1col_1120 string, + col_1col_1col_1col_1col_1col_1121 string, + col_1col_1col_1col_1col_1col_1122 string, + col_1col_1col_1col_1col_1col_1123 string, + col_1col_1col_1col_1col_1col_1124 string, + col_1col_1col_1col_1col_1col_1125 string, + col_1col_1col_1col_1col_1col_1126 string, + col_1col_1col_1col_1col_1col_1127 string, + col_1col_1col_1col_1col_1col_1128 string, + col_1col_1col_1col_1col_1col_1129 string, + col_1col_1col_1col_1col_1col_1130 string, + col_1col_1col_1col_1col_1col_1131 string, + col_1col_1col_1col_1col_1col_1132 string, + col_1col_1col_1col_1col_1col_1133 string, + col_1col_1col_1col_1col_1col_1134 string, + col_1col_1col_1col_1col_1col_1135 string, + col_1col_1col_1col_1col_1col_1136 string, + col_1col_1col_1col_1col_1col_1137 string, + col_1col_1col_1col_1col_1col_1138 string, + col_1col_1col_1col_1col_1col_1139 string, + col_1col_1col_1col_1col_1col_1140 string, + col_1col_1col_1col_1col_1col_1141 string, + col_1col_1col_1col_1col_1col_1142 string, + col_1col_1col_1col_1col_1col_1143 string, + col_1col_1col_1col_1col_1col_1144 string, + col_1col_1col_1col_1col_1col_1145 string, + col_1col_1col_1col_1col_1col_1146 string, + col_1col_1col_1col_1col_1col_1147 string, + col_1col_1col_1col_1col_1col_1148 string, + col_1col_1col_1col_1col_1col_1149 string, + col_1col_1col_1col_1col_1col_1150 string, + col_1col_1col_1col_1col_1col_1151 string, + col_1col_1col_1col_1col_1col_1152 string, + col_1col_1col_1col_1col_1col_1153 string, + col_1col_1col_1col_1col_1col_1154 string, + col_1col_1col_1col_1col_1col_1155 string, + col_1col_1col_1col_1col_1col_1156 string, + col_1col_1col_1col_1col_1col_1157 string, + col_1col_1col_1col_1col_1col_1158 string) +PARTITIONED BY ( + `partition_col` string) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@alterPartTbl +PREHOOK: query: alter table alterPartTbl add partition(partition_col='CCL') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@alterparttbl +POSTHOOK: query: alter table alterPartTbl add partition(partition_col='CCL') +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@alterparttbl +POSTHOOK: Output: default@alterparttbl@partition_col=CCL +PREHOOK: query: drop table alterPartTbl +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@alterparttbl +PREHOOK: Output: default@alterparttbl +POSTHOOK: query: drop table alterPartTbl +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@alterparttbl +POSTHOOK: Output: default@alterparttbl diff --git a/ql/src/test/results/clientpositive/temp_table_alter_partition_clusterby_sortby.q.out b/ql/src/test/results/clientpositive/temp_table_alter_partition_clusterby_sortby.q.out new file mode 100644 index 0000000000..65f24de198 --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_alter_partition_clusterby_sortby.q.out @@ -0,0 +1,201 @@ +PREHOOK: query: create temporary table alter_table_partition_clusterby_sortby_temp (a int, b int) partitioned by (c string) clustered by (a, b) sorted by (a desc, b asc) into 4 buckets +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@alter_table_partition_clusterby_sortby_temp +POSTHOOK: query: create temporary table alter_table_partition_clusterby_sortby_temp (a int, b int) partitioned by (c string) clustered by (a, b) sorted by (a desc, b asc) into 4 buckets +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@alter_table_partition_clusterby_sortby_temp +PREHOOK: query: alter table alter_table_partition_clusterby_sortby_temp add partition(c='abc') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@alter_table_partition_clusterby_sortby_temp +POSTHOOK: query: alter table alter_table_partition_clusterby_sortby_temp add partition(c='abc') +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@alter_table_partition_clusterby_sortby_temp +POSTHOOK: Output: default@alter_table_partition_clusterby_sortby_temp@c=abc +PREHOOK: query: alter table alter_table_partition_clusterby_sortby_temp partition(c='abc') not sorted +PREHOOK: type: ALTERTABLE_CLUSTER_SORT +PREHOOK: Input: default@alter_table_partition_clusterby_sortby_temp +PREHOOK: Output: default@alter_table_partition_clusterby_sortby_temp@c=abc +POSTHOOK: query: alter table alter_table_partition_clusterby_sortby_temp partition(c='abc') not sorted +POSTHOOK: type: ALTERTABLE_CLUSTER_SORT +POSTHOOK: Input: default@alter_table_partition_clusterby_sortby_temp +POSTHOOK: Input: default@alter_table_partition_clusterby_sortby_temp@c=abc +POSTHOOK: Output: default@alter_table_partition_clusterby_sortby_temp@c=abc +PREHOOK: query: desc formatted alter_table_partition_clusterby_sortby_temp partition(c='abc') +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@alter_table_partition_clusterby_sortby_temp +POSTHOOK: query: desc formatted alter_table_partition_clusterby_sortby_temp partition(c='abc') +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@alter_table_partition_clusterby_sortby_temp +# col_name data_type comment +a int +b int + +# Partition Information +# col_name data_type comment +c string + +# Detailed Partition Information +Partition Value: [abc] +Database: default +Table: alter_table_partition_clusterby_sortby_temp +#### A masked pattern was here #### +Partition Parameters: + COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"a\":\"true\",\"b\":\"true\"}} +#### A masked pattern was here #### + numFiles 0 + numRows 0 + rawDataSize 0 + totalSize 0 + +# 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: [a, b] +Sort Columns: [] +Storage Desc Params: + serialization.format 1 +PREHOOK: query: alter table alter_table_partition_clusterby_sortby_temp partition(c='abc') clustered by (b) sorted by (b desc) into 4 buckets +PREHOOK: type: ALTERTABLE_CLUSTER_SORT +PREHOOK: Input: default@alter_table_partition_clusterby_sortby_temp +PREHOOK: Output: default@alter_table_partition_clusterby_sortby_temp@c=abc +POSTHOOK: query: alter table alter_table_partition_clusterby_sortby_temp partition(c='abc') clustered by (b) sorted by (b desc) into 4 buckets +POSTHOOK: type: ALTERTABLE_CLUSTER_SORT +POSTHOOK: Input: default@alter_table_partition_clusterby_sortby_temp +POSTHOOK: Input: default@alter_table_partition_clusterby_sortby_temp@c=abc +POSTHOOK: Output: default@alter_table_partition_clusterby_sortby_temp@c=abc +PREHOOK: query: desc formatted alter_table_partition_clusterby_sortby_temp partition(c='abc') +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@alter_table_partition_clusterby_sortby_temp +POSTHOOK: query: desc formatted alter_table_partition_clusterby_sortby_temp partition(c='abc') +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@alter_table_partition_clusterby_sortby_temp +# col_name data_type comment +a int +b int + +# Partition Information +# col_name data_type comment +c string + +# Detailed Partition Information +Partition Value: [abc] +Database: default +Table: alter_table_partition_clusterby_sortby_temp +#### A masked pattern was here #### +Partition Parameters: + COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"a\":\"true\",\"b\":\"true\"}} +#### A masked pattern was here #### + numFiles 0 + numRows 0 + rawDataSize 0 + totalSize 0 + +# 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: [b] +Sort Columns: [Order(col:b, order:0)] +Storage Desc Params: + serialization.format 1 +PREHOOK: query: alter table alter_table_partition_clusterby_sortby_temp partition(c='abc') not clustered +PREHOOK: type: ALTERTABLE_CLUSTER_SORT +PREHOOK: Input: default@alter_table_partition_clusterby_sortby_temp +PREHOOK: Output: default@alter_table_partition_clusterby_sortby_temp@c=abc +POSTHOOK: query: alter table alter_table_partition_clusterby_sortby_temp partition(c='abc') not clustered +POSTHOOK: type: ALTERTABLE_CLUSTER_SORT +POSTHOOK: Input: default@alter_table_partition_clusterby_sortby_temp +POSTHOOK: Input: default@alter_table_partition_clusterby_sortby_temp@c=abc +POSTHOOK: Output: default@alter_table_partition_clusterby_sortby_temp@c=abc +PREHOOK: query: desc formatted alter_table_partition_clusterby_sortby_temp partition(c='abc') +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@alter_table_partition_clusterby_sortby_temp +POSTHOOK: query: desc formatted alter_table_partition_clusterby_sortby_temp partition(c='abc') +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@alter_table_partition_clusterby_sortby_temp +# col_name data_type comment +a int +b int + +# Partition Information +# col_name data_type comment +c string + +# Detailed Partition Information +Partition Value: [abc] +Database: default +Table: alter_table_partition_clusterby_sortby_temp +#### A masked pattern was here #### +Partition Parameters: + COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"a\":\"true\",\"b\":\"true\"}} +#### A masked pattern was here #### + numFiles 0 + numRows 0 + rawDataSize 0 + totalSize 0 + +# Storage Information +SerDe Library: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe +InputFormat: org.apache.hadoop.mapred.TextInputFormat +OutputFormat: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat +Compressed: No +Num Buckets: -1 +Bucket Columns: [] +Sort Columns: [] +Storage Desc Params: + serialization.format 1 +PREHOOK: query: desc formatted alter_table_partition_clusterby_sortby_temp +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@alter_table_partition_clusterby_sortby_temp +POSTHOOK: query: desc formatted alter_table_partition_clusterby_sortby_temp +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@alter_table_partition_clusterby_sortby_temp +# col_name data_type comment +a int +b int + +# Partition Information +# col_name data_type comment +c string + +# Detailed Table Information +Database: default +#### A masked pattern was here #### +Retention: 0 +#### A masked pattern was here #### +Table Type: MANAGED_TABLE +Table Parameters: + COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"a\":\"true\",\"b\":\"true\"}} + SORTBUCKETCOLSPREFIX TRUE + bucketing_version 2 + numFiles 0 + numPartitions 1 + numRows 0 + rawDataSize 0 + totalSize 0 + +# 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: [a, b] +Sort Columns: [Order(col:a, order:0), Order(col:b, order:1)] +Storage Desc Params: + serialization.format 1 +PREHOOK: query: drop table alter_table_partition_clusterby_sortby_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@alter_table_partition_clusterby_sortby_temp +PREHOOK: Output: default@alter_table_partition_clusterby_sortby_temp +POSTHOOK: query: drop table alter_table_partition_clusterby_sortby_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@alter_table_partition_clusterby_sortby_temp +POSTHOOK: Output: default@alter_table_partition_clusterby_sortby_temp diff --git a/ql/src/test/results/clientpositive/temp_table_alter_partition_coltype.q.out b/ql/src/test/results/clientpositive/temp_table_alter_partition_coltype.q.out new file mode 100644 index 0000000000..740a270169 --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_alter_partition_coltype.q.out @@ -0,0 +1,1038 @@ +PREHOOK: query: create temporary table alter_coltype_temp(key string, value string) partitioned by (dt string, ts string) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@alter_coltype_temp +POSTHOOK: query: create temporary table alter_coltype_temp(key string, value string) partitioned by (dt string, ts string) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@alter_coltype_temp +PREHOOK: query: insert overwrite table alter_coltype_temp partition(dt='100', ts='6.30') select * from src1 +PREHOOK: type: QUERY +PREHOOK: Input: default@src1 +PREHOOK: Output: default@alter_coltype_temp@dt=100/ts=6.30 +POSTHOOK: query: insert overwrite table alter_coltype_temp partition(dt='100', ts='6.30') select * from src1 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src1 +POSTHOOK: Output: default@alter_coltype_temp@dt=100/ts=6.30 +POSTHOOK: Lineage: alter_coltype_temp PARTITION(dt=100,ts=6.30).key SIMPLE [(src1)src1.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: alter_coltype_temp PARTITION(dt=100,ts=6.30).value SIMPLE [(src1)src1.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: desc alter_coltype_temp +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@alter_coltype_temp +POSTHOOK: query: desc alter_coltype_temp +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@alter_coltype_temp +key string +value string +dt string +ts string + +# Partition Information +# col_name data_type comment +dt string +ts string +PREHOOK: query: select count(*) from alter_coltype_temp where dt = '100' +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_coltype_temp +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from alter_coltype_temp where dt = '100' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_coltype_temp +#### A masked pattern was here #### +25 +PREHOOK: query: alter table alter_coltype_temp partition column (dt int) +PREHOOK: type: ALTERTABLE_PARTCOLTYPE +PREHOOK: Input: default@alter_coltype_temp +POSTHOOK: query: alter table alter_coltype_temp partition column (dt int) +POSTHOOK: type: ALTERTABLE_PARTCOLTYPE +POSTHOOK: Input: default@alter_coltype_temp +POSTHOOK: Output: default@alter_coltype_temp +PREHOOK: query: insert overwrite table alter_coltype_temp partition(dt=100, ts='3.0') select * from src1 +PREHOOK: type: QUERY +PREHOOK: Input: default@src1 +PREHOOK: Output: default@alter_coltype_temp@dt=100/ts=3.0 +POSTHOOK: query: insert overwrite table alter_coltype_temp partition(dt=100, ts='3.0') select * from src1 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src1 +POSTHOOK: Output: default@alter_coltype_temp@dt=100/ts=3.0 +POSTHOOK: Lineage: alter_coltype_temp PARTITION(dt=100,ts=3.0).key SIMPLE [(src1)src1.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: alter_coltype_temp PARTITION(dt=100,ts=3.0).value SIMPLE [(src1)src1.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: select count(*) from alter_coltype_temp where dt = '100' +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_coltype_temp +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from alter_coltype_temp where dt = '100' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_coltype_temp +#### A masked pattern was here #### +50 +PREHOOK: query: explain extended select count(*) from alter_coltype_temp where dt = '100' +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_coltype_temp +#### A masked pattern was here #### +POSTHOOK: query: explain extended select count(*) from alter_coltype_temp where dt = '100' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_coltype_temp +#### A masked pattern was here #### +OPTIMIZED SQL: SELECT COUNT(*) AS `$f0` +FROM `default`.`alter_coltype_temp` +WHERE `dt` = 100 +STAGE DEPENDENCIES: + Stage-0 is a root stage + +STAGE PLANS: + Stage: Stage-0 + Fetch Operator + limit: 1 + Processor Tree: + ListSink + +PREHOOK: query: alter table alter_coltype_temp partition column (ts double) +PREHOOK: type: ALTERTABLE_PARTCOLTYPE +PREHOOK: Input: default@alter_coltype_temp +POSTHOOK: query: alter table alter_coltype_temp partition column (ts double) +POSTHOOK: type: ALTERTABLE_PARTCOLTYPE +POSTHOOK: Input: default@alter_coltype_temp +POSTHOOK: Output: default@alter_coltype_temp +PREHOOK: query: alter table alter_coltype_temp partition column (dt string) +PREHOOK: type: ALTERTABLE_PARTCOLTYPE +PREHOOK: Input: default@alter_coltype_temp +POSTHOOK: query: alter table alter_coltype_temp partition column (dt string) +POSTHOOK: type: ALTERTABLE_PARTCOLTYPE +POSTHOOK: Input: default@alter_coltype_temp +POSTHOOK: Output: default@alter_coltype_temp +PREHOOK: query: insert overwrite table alter_coltype_temp partition(dt='100', ts=3.0) select * from src1 +PREHOOK: type: QUERY +PREHOOK: Input: default@src1 +PREHOOK: Output: default@alter_coltype_temp@dt=100/ts=3.0 +POSTHOOK: query: insert overwrite table alter_coltype_temp partition(dt='100', ts=3.0) select * from src1 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src1 +POSTHOOK: Output: default@alter_coltype_temp@dt=100/ts=3.0 +POSTHOOK: Lineage: alter_coltype_temp PARTITION(dt=100,ts=3.0).key SIMPLE [(src1)src1.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: alter_coltype_temp PARTITION(dt=100,ts=3.0).value SIMPLE [(src1)src1.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: select count(*) from alter_coltype_temp where ts = '6.30' +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_coltype_temp +PREHOOK: Input: default@alter_coltype_temp@dt=100/ts=3.0 +PREHOOK: Input: default@alter_coltype_temp@dt=100/ts=6.30 +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from alter_coltype_temp where ts = '6.30' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_coltype_temp +POSTHOOK: Input: default@alter_coltype_temp@dt=100/ts=3.0 +POSTHOOK: Input: default@alter_coltype_temp@dt=100/ts=6.30 +#### A masked pattern was here #### +25 +PREHOOK: query: explain extended select count(*) from alter_coltype_temp where ts = '6.30' +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_coltype_temp +PREHOOK: Input: default@alter_coltype_temp@dt=100/ts=3.0 +PREHOOK: Input: default@alter_coltype_temp@dt=100/ts=6.30 +#### A masked pattern was here #### +POSTHOOK: query: explain extended select count(*) from alter_coltype_temp where ts = '6.30' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_coltype_temp +POSTHOOK: Input: default@alter_coltype_temp@dt=100/ts=3.0 +POSTHOOK: Input: default@alter_coltype_temp@dt=100/ts=6.30 +#### A masked pattern was here #### +OPTIMIZED SQL: SELECT COUNT(*) AS `$f0` +FROM `default`.`alter_coltype_temp` +WHERE `ts` = 6.3 +STAGE DEPENDENCIES: + Stage-1 is a root stage + Stage-0 depends on stages: Stage-1 + +STAGE PLANS: + Stage: Stage-1 + Map Reduce + Map Operator Tree: + TableScan + alias: alter_coltype_temp + filterExpr: (ts = 6.3D) (type: boolean) + Statistics: Num rows: 50 Data size: 782 Basic stats: COMPLETE Column stats: COMPLETE + GatherStats: false + Filter Operator + isSamplingPred: false + predicate: (ts = 6.3D) (type: boolean) + Statistics: Num rows: 50 Data size: 400 Basic stats: COMPLETE Column stats: COMPLETE + Select Operator + Statistics: Num rows: 50 Data size: 400 Basic stats: COMPLETE Column stats: COMPLETE + Group By Operator + aggregations: count() + minReductionHashAggr: 0.99 + mode: hash + outputColumnNames: _col0 + Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE + Reduce Output Operator + null sort order: + sort order: + Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE + tag: -1 + value expressions: _col0 (type: bigint) + auto parallelism: false + Execution mode: vectorized + Path -> Alias: +#### A masked pattern was here #### + Path -> Partition: +#### A masked pattern was here #### + Partition + base file name: ts=3.0 + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + partition values: + dt 100 + ts 3.0 + properties: + COLUMN_STATS_ACCURATE {"BASIC_STATS":"true","COLUMN_STATS":{"key":"true","value":"true"}} + bucket_count -1 + column.name.delimiter , + columns key,value + columns.comments + columns.types string:string +#### A masked pattern was here #### + name default.alter_coltype_temp + numFiles 1 + numRows 25 + partition_columns dt/ts + partition_columns.types string:double + rawDataSize 191 + serialization.ddl struct alter_coltype_temp { string key, string value} + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + totalSize 216 + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + properties: + COLUMN_STATS_ACCURATE {"BASIC_STATS":"true","COLUMN_STATS":{"key":"true","value":"true"}} + bucket_count -1 + bucketing_version 2 + column.name.delimiter , + columns key,value + columns.comments + columns.types string:string +#### A masked pattern was here #### + name default.alter_coltype_temp + numFiles 0 + numRows 0 + partition_columns dt/ts + partition_columns.types string:double + rawDataSize 0 + serialization.ddl struct alter_coltype_temp { string key, string value} + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + totalSize 0 + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.alter_coltype_temp + name: default.alter_coltype_temp +#### A masked pattern was here #### + Partition + base file name: ts=6.30 + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + partition values: + dt 100 + ts 6.30 + properties: + COLUMN_STATS_ACCURATE {"BASIC_STATS":"true","COLUMN_STATS":{"key":"true","value":"true"}} + bucket_count -1 + column.name.delimiter , + columns key,value + columns.comments + columns.types string:string +#### A masked pattern was here #### + name default.alter_coltype_temp + numFiles 1 + numRows 25 + partition_columns dt/ts + partition_columns.types string:double + rawDataSize 191 + serialization.ddl struct alter_coltype_temp { string key, string value} + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + totalSize 216 + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + properties: + COLUMN_STATS_ACCURATE {"BASIC_STATS":"true","COLUMN_STATS":{"key":"true","value":"true"}} + bucket_count -1 + bucketing_version 2 + column.name.delimiter , + columns key,value + columns.comments + columns.types string:string +#### A masked pattern was here #### + name default.alter_coltype_temp + numFiles 0 + numRows 0 + partition_columns dt/ts + partition_columns.types string:double + rawDataSize 0 + serialization.ddl struct alter_coltype_temp { string key, string value} + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + totalSize 0 + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.alter_coltype_temp + name: default.alter_coltype_temp + Truncated Path -> Alias: +#### A masked pattern was here #### + Needs Tagging: false + Reduce Operator Tree: + Group By Operator + aggregations: count(VALUE._col0) + mode: mergepartial + outputColumnNames: _col0 + Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE + File Output Operator + compressed: false + GlobalTableId: 0 +#### A masked pattern was here #### + NumFilesPerFileSink: 1 + Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE +#### A masked pattern was here #### + 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 \ + hive.serialization.extend.additional.nesting.levels true + serialization.escape.crlf true + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + TotalFiles: 1 + GatherStats: false + MultiFileSpray: false + + Stage: Stage-0 + Fetch Operator + limit: -1 + Processor Tree: + ListSink + +PREHOOK: query: select count(*) from alter_coltype_temp where ts = 3.0 and dt=100 +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_coltype_temp +PREHOOK: Input: default@alter_coltype_temp@dt=100/ts=3.0 +PREHOOK: Input: default@alter_coltype_temp@dt=100/ts=6.30 +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from alter_coltype_temp where ts = 3.0 and dt=100 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_coltype_temp +POSTHOOK: Input: default@alter_coltype_temp@dt=100/ts=3.0 +POSTHOOK: Input: default@alter_coltype_temp@dt=100/ts=6.30 +#### A masked pattern was here #### +25 +PREHOOK: query: explain extended select count(*) from alter_coltype_temp where ts = 3.0 and dt=100 +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_coltype_temp +PREHOOK: Input: default@alter_coltype_temp@dt=100/ts=3.0 +PREHOOK: Input: default@alter_coltype_temp@dt=100/ts=6.30 +#### A masked pattern was here #### +POSTHOOK: query: explain extended select count(*) from alter_coltype_temp where ts = 3.0 and dt=100 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_coltype_temp +POSTHOOK: Input: default@alter_coltype_temp@dt=100/ts=3.0 +POSTHOOK: Input: default@alter_coltype_temp@dt=100/ts=6.30 +#### A masked pattern was here #### +OPTIMIZED SQL: SELECT COUNT(*) AS `$f0` +FROM `default`.`alter_coltype_temp` +WHERE `ts` = 3.0 AND `dt` = 100 +STAGE DEPENDENCIES: + Stage-1 is a root stage + Stage-0 depends on stages: Stage-1 + +STAGE PLANS: + Stage: Stage-1 + Map Reduce + Map Operator Tree: + TableScan + alias: alter_coltype_temp + filterExpr: ((ts = 3.0D) and (100.0D = 100.0D)) (type: boolean) + Statistics: Num rows: 50 Data size: 782 Basic stats: COMPLETE Column stats: COMPLETE + GatherStats: false + Filter Operator + isSamplingPred: false + predicate: (ts = 3.0D) (type: boolean) + Statistics: Num rows: 50 Data size: 400 Basic stats: COMPLETE Column stats: COMPLETE + Select Operator + Statistics: Num rows: 50 Data size: 400 Basic stats: COMPLETE Column stats: COMPLETE + Group By Operator + aggregations: count() + minReductionHashAggr: 0.99 + mode: hash + outputColumnNames: _col0 + Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE + Reduce Output Operator + null sort order: + sort order: + Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE + tag: -1 + value expressions: _col0 (type: bigint) + auto parallelism: false + Execution mode: vectorized + Path -> Alias: +#### A masked pattern was here #### + Path -> Partition: +#### A masked pattern was here #### + Partition + base file name: ts=3.0 + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + partition values: + dt 100 + ts 3.0 + properties: + COLUMN_STATS_ACCURATE {"BASIC_STATS":"true","COLUMN_STATS":{"key":"true","value":"true"}} + bucket_count -1 + column.name.delimiter , + columns key,value + columns.comments + columns.types string:string +#### A masked pattern was here #### + name default.alter_coltype_temp + numFiles 1 + numRows 25 + partition_columns dt/ts + partition_columns.types string:double + rawDataSize 191 + serialization.ddl struct alter_coltype_temp { string key, string value} + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + totalSize 216 + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + properties: + COLUMN_STATS_ACCURATE {"BASIC_STATS":"true","COLUMN_STATS":{"key":"true","value":"true"}} + bucket_count -1 + bucketing_version 2 + column.name.delimiter , + columns key,value + columns.comments + columns.types string:string +#### A masked pattern was here #### + name default.alter_coltype_temp + numFiles 0 + numRows 0 + partition_columns dt/ts + partition_columns.types string:double + rawDataSize 0 + serialization.ddl struct alter_coltype_temp { string key, string value} + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + totalSize 0 + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.alter_coltype_temp + name: default.alter_coltype_temp +#### A masked pattern was here #### + Partition + base file name: ts=6.30 + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + partition values: + dt 100 + ts 6.30 + properties: + COLUMN_STATS_ACCURATE {"BASIC_STATS":"true","COLUMN_STATS":{"key":"true","value":"true"}} + bucket_count -1 + column.name.delimiter , + columns key,value + columns.comments + columns.types string:string +#### A masked pattern was here #### + name default.alter_coltype_temp + numFiles 1 + numRows 25 + partition_columns dt/ts + partition_columns.types string:double + rawDataSize 191 + serialization.ddl struct alter_coltype_temp { string key, string value} + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + totalSize 216 + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + properties: + COLUMN_STATS_ACCURATE {"BASIC_STATS":"true","COLUMN_STATS":{"key":"true","value":"true"}} + bucket_count -1 + bucketing_version 2 + column.name.delimiter , + columns key,value + columns.comments + columns.types string:string +#### A masked pattern was here #### + name default.alter_coltype_temp + numFiles 0 + numRows 0 + partition_columns dt/ts + partition_columns.types string:double + rawDataSize 0 + serialization.ddl struct alter_coltype_temp { string key, string value} + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + totalSize 0 + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.alter_coltype_temp + name: default.alter_coltype_temp + Truncated Path -> Alias: +#### A masked pattern was here #### + Needs Tagging: false + Reduce Operator Tree: + Group By Operator + aggregations: count(VALUE._col0) + mode: mergepartial + outputColumnNames: _col0 + Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE + File Output Operator + compressed: false + GlobalTableId: 0 +#### A masked pattern was here #### + NumFilesPerFileSink: 1 + Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE +#### A masked pattern was here #### + 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 \ + hive.serialization.extend.additional.nesting.levels true + serialization.escape.crlf true + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + TotalFiles: 1 + GatherStats: false + MultiFileSpray: false + + Stage: Stage-0 + Fetch Operator + limit: -1 + Processor Tree: + ListSink + +PREHOOK: query: select key, value, dt, ts from alter_coltype_temp where dt is not null +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_coltype_temp +PREHOOK: Input: default@alter_coltype_temp@dt=100/ts=3.0 +PREHOOK: Input: default@alter_coltype_temp@dt=100/ts=6.30 +#### A masked pattern was here #### +POSTHOOK: query: select key, value, dt, ts from alter_coltype_temp where dt is not null +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_coltype_temp +POSTHOOK: Input: default@alter_coltype_temp@dt=100/ts=3.0 +POSTHOOK: Input: default@alter_coltype_temp@dt=100/ts=6.30 +#### A masked pattern was here #### +238 val_238 100 6.3 + 100 6.3 +311 val_311 100 6.3 + val_27 100 6.3 + val_165 100 6.3 + val_409 100 6.3 +255 val_255 100 6.3 +278 val_278 100 6.3 +98 val_98 100 6.3 + val_484 100 6.3 + val_265 100 6.3 + val_193 100 6.3 +401 val_401 100 6.3 +150 val_150 100 6.3 +273 val_273 100 6.3 +224 100 6.3 +369 100 6.3 +66 val_66 100 6.3 +128 100 6.3 +213 val_213 100 6.3 +146 val_146 100 6.3 +406 val_406 100 6.3 + 100 6.3 + 100 6.3 + 100 6.3 +238 val_238 100 3.0 + 100 3.0 +311 val_311 100 3.0 + val_27 100 3.0 + val_165 100 3.0 + val_409 100 3.0 +255 val_255 100 3.0 +278 val_278 100 3.0 +98 val_98 100 3.0 + val_484 100 3.0 + val_265 100 3.0 + val_193 100 3.0 +401 val_401 100 3.0 +150 val_150 100 3.0 +273 val_273 100 3.0 +224 100 3.0 +369 100 3.0 +66 val_66 100 3.0 +128 100 3.0 +213 val_213 100 3.0 +146 val_146 100 3.0 +406 val_406 100 3.0 + 100 3.0 + 100 3.0 + 100 3.0 +PREHOOK: query: explain extended select key, value, dt, ts from alter_coltype_temp where dt is not null +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_coltype_temp +PREHOOK: Input: default@alter_coltype_temp@dt=100/ts=3.0 +PREHOOK: Input: default@alter_coltype_temp@dt=100/ts=6.30 +#### A masked pattern was here #### +POSTHOOK: query: explain extended select key, value, dt, ts from alter_coltype_temp where dt is not null +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_coltype_temp +POSTHOOK: Input: default@alter_coltype_temp@dt=100/ts=3.0 +POSTHOOK: Input: default@alter_coltype_temp@dt=100/ts=6.30 +#### A masked pattern was here #### +OPTIMIZED SQL: SELECT `key`, `value`, `dt`, `ts` +FROM `default`.`alter_coltype_temp` +WHERE `dt` IS NOT NULL +STAGE DEPENDENCIES: + Stage-0 is a root stage + +STAGE PLANS: + Stage: Stage-0 + Fetch Operator + limit: -1 + Partition Description: + Partition + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + partition values: + dt 100 + ts 3.0 + properties: + COLUMN_STATS_ACCURATE {"BASIC_STATS":"true","COLUMN_STATS":{"key":"true","value":"true"}} + bucket_count -1 + column.name.delimiter , + columns key,value + columns.comments + columns.types string:string +#### A masked pattern was here #### + name default.alter_coltype_temp + numFiles 1 + numRows 25 + partition_columns dt/ts + partition_columns.types string:double + rawDataSize 191 + serialization.ddl struct alter_coltype_temp { string key, string value} + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + totalSize 216 + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + properties: + COLUMN_STATS_ACCURATE {"BASIC_STATS":"true","COLUMN_STATS":{"key":"true","value":"true"}} + bucket_count -1 + bucketing_version 2 + column.name.delimiter , + columns key,value + columns.comments + columns.types string:string +#### A masked pattern was here #### + name default.alter_coltype_temp + numFiles 0 + numRows 0 + partition_columns dt/ts + partition_columns.types string:double + rawDataSize 0 + serialization.ddl struct alter_coltype_temp { string key, string value} + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + totalSize 0 + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.alter_coltype_temp + name: default.alter_coltype_temp + Partition + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + partition values: + dt 100 + ts 6.30 + properties: + COLUMN_STATS_ACCURATE {"BASIC_STATS":"true","COLUMN_STATS":{"key":"true","value":"true"}} + bucket_count -1 + column.name.delimiter , + columns key,value + columns.comments + columns.types string:string +#### A masked pattern was here #### + name default.alter_coltype_temp + numFiles 1 + numRows 25 + partition_columns dt/ts + partition_columns.types string:double + rawDataSize 191 + serialization.ddl struct alter_coltype_temp { string key, string value} + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + totalSize 216 + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + properties: + COLUMN_STATS_ACCURATE {"BASIC_STATS":"true","COLUMN_STATS":{"key":"true","value":"true"}} + bucket_count -1 + bucketing_version 2 + column.name.delimiter , + columns key,value + columns.comments + columns.types string:string +#### A masked pattern was here #### + name default.alter_coltype_temp + numFiles 0 + numRows 0 + partition_columns dt/ts + partition_columns.types string:double + rawDataSize 0 + serialization.ddl struct alter_coltype_temp { string key, string value} + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + totalSize 0 + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.alter_coltype_temp + name: default.alter_coltype_temp + Processor Tree: + TableScan + alias: alter_coltype_temp + filterExpr: dt is not null (type: boolean) + Statistics: Num rows: 50 Data size: 27632 Basic stats: COMPLETE Column stats: PARTIAL + GatherStats: false + Select Operator + expressions: key (type: string), value (type: string), dt (type: string), ts (type: double) + outputColumnNames: _col0, _col1, _col2, _col3 + Statistics: Num rows: 50 Data size: 27632 Basic stats: COMPLETE Column stats: PARTIAL + ListSink + +PREHOOK: query: select count(*) from alter_coltype_temp where ts = 3.0 +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_coltype_temp +PREHOOK: Input: default@alter_coltype_temp@dt=100/ts=3.0 +PREHOOK: Input: default@alter_coltype_temp@dt=100/ts=6.30 +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from alter_coltype_temp where ts = 3.0 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_coltype_temp +POSTHOOK: Input: default@alter_coltype_temp@dt=100/ts=3.0 +POSTHOOK: Input: default@alter_coltype_temp@dt=100/ts=6.30 +#### A masked pattern was here #### +25 +PREHOOK: query: select count(*) from alter_coltype_temp where dt = '100' +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_coltype_temp +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from alter_coltype_temp where dt = '100' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_coltype_temp +#### A masked pattern was here #### +50 +PREHOOK: query: desc alter_coltype_temp +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@alter_coltype_temp +POSTHOOK: query: desc alter_coltype_temp +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@alter_coltype_temp +key string +value string +dt string +ts double + +# Partition Information +# col_name data_type comment +dt string +ts double +PREHOOK: query: desc alter_coltype_temp partition (dt='100', ts='6.30') +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@alter_coltype_temp +POSTHOOK: query: desc alter_coltype_temp partition (dt='100', ts='6.30') +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@alter_coltype_temp +key string +value string +dt string +ts double + +# Partition Information +# col_name data_type comment +dt string +ts double +PREHOOK: query: desc alter_coltype_temp partition (dt='100', ts=3.0) +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@alter_coltype_temp +POSTHOOK: query: desc alter_coltype_temp partition (dt='100', ts=3.0) +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@alter_coltype_temp +key string +value string +dt string +ts double + +# Partition Information +# col_name data_type comment +dt string +ts double +PREHOOK: query: drop table alter_coltype_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@alter_coltype_temp +PREHOOK: Output: default@alter_coltype_temp +POSTHOOK: query: drop table alter_coltype_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@alter_coltype_temp +POSTHOOK: Output: default@alter_coltype_temp +PREHOOK: query: create database pt +PREHOOK: type: CREATEDATABASE +PREHOOK: Output: database:pt +POSTHOOK: query: create database pt +POSTHOOK: type: CREATEDATABASE +POSTHOOK: Output: database:pt +PREHOOK: query: create temporary table pt.alterdynamic_part_table_temp(intcol string) partitioned by (partcol1 string, partcol2 string) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:pt +PREHOOK: Output: pt@alterdynamic_part_table_temp +POSTHOOK: query: create temporary table pt.alterdynamic_part_table_temp(intcol string) partitioned by (partcol1 string, partcol2 string) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:pt +POSTHOOK: Output: pt@alterdynamic_part_table_temp +PREHOOK: query: insert into table pt.alterdynamic_part_table_temp partition(partcol1, partcol2) select '1', '1', '1' from src where key=150 limit 5 +PREHOOK: type: QUERY +PREHOOK: Input: default@src +PREHOOK: Output: pt@alterdynamic_part_table_temp +POSTHOOK: query: insert into table pt.alterdynamic_part_table_temp partition(partcol1, partcol2) select '1', '1', '1' from src where key=150 limit 5 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src +POSTHOOK: Output: pt@alterdynamic_part_table_temp@partcol1=1/partcol2=1 +POSTHOOK: Lineage: alterdynamic_part_table_temp PARTITION(partcol1=1,partcol2=1).intcol SIMPLE [] +PREHOOK: query: insert into table pt.alterdynamic_part_table_temp partition(partcol1, partcol2) select '1', '2', '1' from src where key=150 limit 5 +PREHOOK: type: QUERY +PREHOOK: Input: default@src +PREHOOK: Output: pt@alterdynamic_part_table_temp +POSTHOOK: query: insert into table pt.alterdynamic_part_table_temp partition(partcol1, partcol2) select '1', '2', '1' from src where key=150 limit 5 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src +POSTHOOK: Output: pt@alterdynamic_part_table_temp@partcol1=2/partcol2=1 +POSTHOOK: Lineage: alterdynamic_part_table_temp PARTITION(partcol1=2,partcol2=1).intcol SIMPLE [] +PREHOOK: query: insert into table pt.alterdynamic_part_table_temp partition(partcol1, partcol2) select NULL, '1', '1' from src where key=150 limit 5 +PREHOOK: type: QUERY +PREHOOK: Input: default@src +PREHOOK: Output: pt@alterdynamic_part_table_temp +POSTHOOK: query: insert into table pt.alterdynamic_part_table_temp partition(partcol1, partcol2) select NULL, '1', '1' from src where key=150 limit 5 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src +POSTHOOK: Output: pt@alterdynamic_part_table_temp@partcol1=1/partcol2=1 +POSTHOOK: Lineage: alterdynamic_part_table_temp PARTITION(partcol1=1,partcol2=1).intcol EXPRESSION [] +PREHOOK: query: alter table pt.alterdynamic_part_table_temp partition column (partcol1 int) +PREHOOK: type: ALTERTABLE_PARTCOLTYPE +PREHOOK: Input: pt@alterdynamic_part_table_temp +POSTHOOK: query: alter table pt.alterdynamic_part_table_temp partition column (partcol1 int) +POSTHOOK: type: ALTERTABLE_PARTCOLTYPE +POSTHOOK: Input: pt@alterdynamic_part_table_temp +POSTHOOK: Output: pt@alterdynamic_part_table_temp +PREHOOK: query: explain extended select intcol from pt.alterdynamic_part_table_temp where partcol1='1' and partcol2='1' +PREHOOK: type: QUERY +PREHOOK: Input: pt@alterdynamic_part_table_temp +PREHOOK: Input: pt@alterdynamic_part_table_temp@partcol1=1/partcol2=1 +#### A masked pattern was here #### +POSTHOOK: query: explain extended select intcol from pt.alterdynamic_part_table_temp where partcol1='1' and partcol2='1' +POSTHOOK: type: QUERY +POSTHOOK: Input: pt@alterdynamic_part_table_temp +POSTHOOK: Input: pt@alterdynamic_part_table_temp@partcol1=1/partcol2=1 +#### A masked pattern was here #### +OPTIMIZED SQL: SELECT `intcol` +FROM `pt`.`alterdynamic_part_table_temp` +WHERE `partcol1` = 1 AND `partcol2` = '1' +STAGE DEPENDENCIES: + Stage-0 is a root stage + +STAGE PLANS: + Stage: Stage-0 + Fetch Operator + limit: -1 + Partition Description: + Partition + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + partition values: + partcol1 1 + partcol2 1 + properties: + COLUMN_STATS_ACCURATE {"BASIC_STATS":"true"} + bucket_count -1 + column.name.delimiter , + columns intcol + columns.comments + columns.types string +#### A masked pattern was here #### + name pt.alterdynamic_part_table_temp + numFiles 2 + numRows 2 + partition_columns partcol1/partcol2 + partition_columns.types int:string + rawDataSize 3 + serialization.ddl struct alterdynamic_part_table_temp { string intcol} + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + totalSize 5 + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + properties: + COLUMN_STATS_ACCURATE {"BASIC_STATS":"true","COLUMN_STATS":{"intcol":"true"}} + bucket_count -1 + bucketing_version 2 + column.name.delimiter , + columns intcol + columns.comments + columns.types string +#### A masked pattern was here #### + name pt.alterdynamic_part_table_temp + numFiles 0 + numRows 0 + partition_columns partcol1/partcol2 + partition_columns.types int:string + rawDataSize 0 + serialization.ddl struct alterdynamic_part_table_temp { string intcol} + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + totalSize 0 + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: pt.alterdynamic_part_table_temp + name: pt.alterdynamic_part_table_temp + Processor Tree: + TableScan + alias: alterdynamic_part_table_temp + filterExpr: ((partcol1 = 1) and (partcol2 = '1')) (type: boolean) + Statistics: Num rows: 2 Data size: 368 Basic stats: COMPLETE Column stats: NONE + GatherStats: false + Select Operator + expressions: intcol (type: string) + outputColumnNames: _col0 + Statistics: Num rows: 2 Data size: 368 Basic stats: COMPLETE Column stats: NONE + ListSink + +PREHOOK: query: explain extended select intcol from pt.alterdynamic_part_table_temp where (partcol1='2' and partcol2='1')or (partcol1='1' and partcol2='__HIVE_DEFAULT_PARTITION__') +PREHOOK: type: QUERY +PREHOOK: Input: pt@alterdynamic_part_table_temp +PREHOOK: Input: pt@alterdynamic_part_table_temp@partcol1=2/partcol2=1 +#### A masked pattern was here #### +POSTHOOK: query: explain extended select intcol from pt.alterdynamic_part_table_temp where (partcol1='2' and partcol2='1')or (partcol1='1' and partcol2='__HIVE_DEFAULT_PARTITION__') +POSTHOOK: type: QUERY +POSTHOOK: Input: pt@alterdynamic_part_table_temp +POSTHOOK: Input: pt@alterdynamic_part_table_temp@partcol1=2/partcol2=1 +#### A masked pattern was here #### +OPTIMIZED SQL: SELECT `intcol` +FROM `pt`.`alterdynamic_part_table_temp` +WHERE ROW(`partcol1`, `partcol2`) IN (ROW(2, '1'), ROW(1, '__HIVE_DEFAULT_PARTITION__')) +STAGE DEPENDENCIES: + Stage-0 is a root stage + +STAGE PLANS: + Stage: Stage-0 + Fetch Operator + limit: -1 + Partition Description: + Partition + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + partition values: + partcol1 2 + partcol2 1 + properties: + COLUMN_STATS_ACCURATE {"BASIC_STATS":"true"} + bucket_count -1 + column.name.delimiter , + columns intcol + columns.comments + columns.types string +#### A masked pattern was here #### + name pt.alterdynamic_part_table_temp + numFiles 1 + numRows 1 + partition_columns partcol1/partcol2 + partition_columns.types int:string + rawDataSize 1 + serialization.ddl struct alterdynamic_part_table_temp { string intcol} + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + totalSize 2 + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + properties: + COLUMN_STATS_ACCURATE {"BASIC_STATS":"true","COLUMN_STATS":{"intcol":"true"}} + bucket_count -1 + bucketing_version 2 + column.name.delimiter , + columns intcol + columns.comments + columns.types string +#### A masked pattern was here #### + name pt.alterdynamic_part_table_temp + numFiles 0 + numRows 0 + partition_columns partcol1/partcol2 + partition_columns.types int:string + rawDataSize 0 + serialization.ddl struct alterdynamic_part_table_temp { string intcol} + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + totalSize 0 + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: pt.alterdynamic_part_table_temp + name: pt.alterdynamic_part_table_temp + Processor Tree: + TableScan + alias: alterdynamic_part_table_temp + filterExpr: (struct(partcol1,partcol2)) IN (const struct(2,'1'), const struct(1,'__HIVE_DEFAULT_PARTITION__')) (type: boolean) + Statistics: Num rows: 1 Data size: 185 Basic stats: COMPLETE Column stats: NONE + GatherStats: false + Select Operator + expressions: intcol (type: string) + outputColumnNames: _col0 + Statistics: Num rows: 1 Data size: 185 Basic stats: COMPLETE Column stats: NONE + ListSink + +PREHOOK: query: select intcol from pt.alterdynamic_part_table_temp where (partcol1='2' and partcol2='1')or (partcol1='1' and partcol2='__HIVE_DEFAULT_PARTITION__') +PREHOOK: type: QUERY +PREHOOK: Input: pt@alterdynamic_part_table_temp +PREHOOK: Input: pt@alterdynamic_part_table_temp@partcol1=2/partcol2=1 +#### A masked pattern was here #### +POSTHOOK: query: select intcol from pt.alterdynamic_part_table_temp where (partcol1='2' and partcol2='1')or (partcol1='1' and partcol2='__HIVE_DEFAULT_PARTITION__') +POSTHOOK: type: QUERY +POSTHOOK: Input: pt@alterdynamic_part_table_temp +POSTHOOK: Input: pt@alterdynamic_part_table_temp@partcol1=2/partcol2=1 +#### A masked pattern was here #### +1 +PREHOOK: query: drop table pt.alterdynamic_part_table_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: pt@alterdynamic_part_table_temp +PREHOOK: Output: pt@alterdynamic_part_table_temp +POSTHOOK: query: drop table pt.alterdynamic_part_table_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: pt@alterdynamic_part_table_temp +POSTHOOK: Output: pt@alterdynamic_part_table_temp +PREHOOK: query: drop database pt +PREHOOK: type: DROPDATABASE +PREHOOK: Input: database:pt +PREHOOK: Output: database:pt +POSTHOOK: query: drop database pt +POSTHOOK: type: DROPDATABASE +POSTHOOK: Input: database:pt +POSTHOOK: Output: database:pt diff --git a/ql/src/test/results/clientpositive/temp_table_alter_partition_onto_nocurrent_db.q.out b/ql/src/test/results/clientpositive/temp_table_alter_partition_onto_nocurrent_db.q.out new file mode 100644 index 0000000000..0fbb30fb82 --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_alter_partition_onto_nocurrent_db.q.out @@ -0,0 +1,83 @@ +PREHOOK: query: CREATE DATABASE test_db_nocurr +PREHOOK: type: CREATEDATABASE +PREHOOK: Output: database:test_db_nocurr +POSTHOOK: query: CREATE DATABASE test_db_nocurr +POSTHOOK: type: CREATEDATABASE +POSTHOOK: Output: database:test_db_nocurr +PREHOOK: query: CREATE TEMPORARY TABLE test_db_nocurr.test_table_for_alter_partition_nocurrentdb_temp (a INT) PARTITIONED BY (ds STRING) STORED AS SEQUENCEFILE +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:test_db_nocurr +PREHOOK: Output: test_db_nocurr@test_table_for_alter_partition_nocurrentdb_temp +POSTHOOK: query: CREATE TEMPORARY TABLE test_db_nocurr.test_table_for_alter_partition_nocurrentdb_temp (a INT) PARTITIONED BY (ds STRING) STORED AS SEQUENCEFILE +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:test_db_nocurr +POSTHOOK: Output: test_db_nocurr@test_table_for_alter_partition_nocurrentdb_temp +PREHOOK: query: ALTER TABLE test_db_nocurr.test_table_for_alter_partition_nocurrentdb_temp Add PARTITION(ds='eleme_haihua') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: test_db_nocurr@test_table_for_alter_partition_nocurrentdb_temp +POSTHOOK: query: ALTER TABLE test_db_nocurr.test_table_for_alter_partition_nocurrentdb_temp Add PARTITION(ds='eleme_haihua') +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: test_db_nocurr@test_table_for_alter_partition_nocurrentdb_temp +POSTHOOK: Output: test_db_nocurr@test_table_for_alter_partition_nocurrentdb_temp@ds=eleme_haihua +PREHOOK: query: INSERT OVERWRITE TABLE test_db_nocurr.test_table_for_alter_partition_nocurrentdb_temp PARTITION(ds='eleme_haihua') SELECT 1 +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: test_db_nocurr@test_table_for_alter_partition_nocurrentdb_temp@ds=eleme_haihua +POSTHOOK: query: INSERT OVERWRITE TABLE test_db_nocurr.test_table_for_alter_partition_nocurrentdb_temp PARTITION(ds='eleme_haihua') SELECT 1 +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: test_db_nocurr@test_table_for_alter_partition_nocurrentdb_temp@ds=eleme_haihua +POSTHOOK: Lineage: test_table_for_alter_partition_nocurrentdb_temp PARTITION(ds=eleme_haihua).a SIMPLE [] +PREHOOK: query: desc extended test_db_nocurr.test_table_for_alter_partition_nocurrentdb_temp partition(ds='eleme_haihua') +PREHOOK: type: DESCTABLE +PREHOOK: Input: test_db_nocurr@test_table_for_alter_partition_nocurrentdb_temp +POSTHOOK: query: desc extended test_db_nocurr.test_table_for_alter_partition_nocurrentdb_temp partition(ds='eleme_haihua') +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: test_db_nocurr@test_table_for_alter_partition_nocurrentdb_temp +a int +ds string + +# Partition Information +# col_name data_type comment +ds string + +#### A masked pattern was here #### +PREHOOK: query: ALTER TABLE test_db_nocurr.test_table_for_alter_partition_nocurrentdb_temp partition(ds='eleme_haihua') CHANGE COLUMN a a_new BOOLEAN +PREHOOK: type: ALTERTABLE_RENAMECOL +PREHOOK: Input: test_db_nocurr@test_table_for_alter_partition_nocurrentdb_temp +PREHOOK: Output: test_db_nocurr@test_table_for_alter_partition_nocurrentdb_temp@ds=eleme_haihua +POSTHOOK: query: ALTER TABLE test_db_nocurr.test_table_for_alter_partition_nocurrentdb_temp partition(ds='eleme_haihua') CHANGE COLUMN a a_new BOOLEAN +POSTHOOK: type: ALTERTABLE_RENAMECOL +POSTHOOK: Input: test_db_nocurr@test_table_for_alter_partition_nocurrentdb_temp +POSTHOOK: Input: test_db_nocurr@test_table_for_alter_partition_nocurrentdb_temp@ds=eleme_haihua +POSTHOOK: Output: test_db_nocurr@test_table_for_alter_partition_nocurrentdb_temp@ds=eleme_haihua +PREHOOK: query: desc extended test_db_nocurr.test_table_for_alter_partition_nocurrentdb_temp partition(ds='eleme_haihua') +PREHOOK: type: DESCTABLE +PREHOOK: Input: test_db_nocurr@test_table_for_alter_partition_nocurrentdb_temp +POSTHOOK: query: desc extended test_db_nocurr.test_table_for_alter_partition_nocurrentdb_temp partition(ds='eleme_haihua') +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: test_db_nocurr@test_table_for_alter_partition_nocurrentdb_temp +a_new boolean +ds string + +# Partition Information +# col_name data_type comment +ds string + +#### A masked pattern was here #### +PREHOOK: query: DROP TABLE test_db_nocurr.test_table_for_alter_partition_nocurrentdb_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: test_db_nocurr@test_table_for_alter_partition_nocurrentdb_temp +PREHOOK: Output: test_db_nocurr@test_table_for_alter_partition_nocurrentdb_temp +POSTHOOK: query: DROP TABLE test_db_nocurr.test_table_for_alter_partition_nocurrentdb_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: test_db_nocurr@test_table_for_alter_partition_nocurrentdb_temp +POSTHOOK: Output: test_db_nocurr@test_table_for_alter_partition_nocurrentdb_temp +PREHOOK: query: DROP DATABASE test_db_nocurr +PREHOOK: type: DROPDATABASE +PREHOOK: Input: database:test_db_nocurr +PREHOOK: Output: database:test_db_nocurr +POSTHOOK: query: DROP DATABASE test_db_nocurr +POSTHOOK: type: DROPDATABASE +POSTHOOK: Input: database:test_db_nocurr +POSTHOOK: Output: database:test_db_nocurr diff --git a/ql/src/test/results/clientpositive/temp_table_alter_rename_partition.q.out b/ql/src/test/results/clientpositive/temp_table_alter_rename_partition.q.out new file mode 100644 index 0000000000..60c10c3d84 --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_alter_rename_partition.q.out @@ -0,0 +1,244 @@ +PREHOOK: query: DROP TABLE alter_rename_partition_src_temp +PREHOOK: type: DROPTABLE +POSTHOOK: query: DROP TABLE alter_rename_partition_src_temp +POSTHOOK: type: DROPTABLE +PREHOOK: query: DROP TABLE alter_rename_partition_temp +PREHOOK: type: DROPTABLE +POSTHOOK: query: DROP TABLE alter_rename_partition_temp +POSTHOOK: type: DROPTABLE +PREHOOK: query: create temporary table alter_rename_partition_src_temp ( col1 string ) stored as textfile +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@alter_rename_partition_src_temp +POSTHOOK: query: create temporary table alter_rename_partition_src_temp ( col1 string ) stored as textfile +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@alter_rename_partition_src_temp +PREHOOK: query: load data local inpath '../../data/files/test.dat' overwrite into table alter_rename_partition_src_temp +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@alter_rename_partition_src_temp +POSTHOOK: query: load data local inpath '../../data/files/test.dat' overwrite into table alter_rename_partition_src_temp +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@alter_rename_partition_src_temp +PREHOOK: query: create temporary table alter_rename_partition_temp ( col1 string ) partitioned by (pcol1 string , pcol2 string) stored as sequencefile +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@alter_rename_partition_temp +POSTHOOK: query: create temporary table alter_rename_partition_temp ( col1 string ) partitioned by (pcol1 string , pcol2 string) stored as sequencefile +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@alter_rename_partition_temp +PREHOOK: query: insert overwrite table alter_rename_partition_temp partition (pCol1='old_part1:', pcol2='old_part2:') select col1 from alter_rename_partition_src_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_rename_partition_src_temp +PREHOOK: Output: default@alter_rename_partition_temp@pcol1=old_part1%3A/pcol2=old_part2%3A +POSTHOOK: query: insert overwrite table alter_rename_partition_temp partition (pCol1='old_part1:', pcol2='old_part2:') select col1 from alter_rename_partition_src_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_rename_partition_src_temp +POSTHOOK: Output: default@alter_rename_partition_temp@pcol1=old_part1%3A/pcol2=old_part2%3A +POSTHOOK: Lineage: alter_rename_partition_temp PARTITION(pcol1=old_part1:,pcol2=old_part2:).col1 SIMPLE [(alter_rename_partition_src_temp)alter_rename_partition_src_temp.FieldSchema(name:col1, type:string, comment:null), ] +PREHOOK: query: select * from alter_rename_partition_temp where pcol1='old_part1:' and pcol2='old_part2:' +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_rename_partition_temp +PREHOOK: Input: default@alter_rename_partition_temp@pcol1=old_part1%3A/pcol2=old_part2%3A +#### A masked pattern was here #### +POSTHOOK: query: select * from alter_rename_partition_temp where pcol1='old_part1:' and pcol2='old_part2:' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_rename_partition_temp +POSTHOOK: Input: default@alter_rename_partition_temp@pcol1=old_part1%3A/pcol2=old_part2%3A +#### A masked pattern was here #### +1 old_part1: old_part2: +2 old_part1: old_part2: +3 old_part1: old_part2: +4 old_part1: old_part2: +5 old_part1: old_part2: +6 old_part1: old_part2: +PREHOOK: query: alter table alter_rename_partition_temp partition (pCol1='old_part1:', pcol2='old_part2:') rename to partition (pCol1='new_part1:', pcol2='new_part2:') +PREHOOK: type: ALTERTABLE_RENAMEPART +PREHOOK: Input: default@alter_rename_partition_temp +PREHOOK: Output: default@alter_rename_partition_temp@pcol1=old_part1%3A/pcol2=old_part2%3A +POSTHOOK: query: alter table alter_rename_partition_temp partition (pCol1='old_part1:', pcol2='old_part2:') rename to partition (pCol1='new_part1:', pcol2='new_part2:') +POSTHOOK: type: ALTERTABLE_RENAMEPART +POSTHOOK: Input: default@alter_rename_partition_temp +POSTHOOK: Input: default@alter_rename_partition_temp@pcol1=old_part1%3A/pcol2=old_part2%3A +POSTHOOK: Output: default@alter_rename_partition_temp@pcol1=new_part1%3A/pcol2=new_part2%3A +POSTHOOK: Output: default@alter_rename_partition_temp@pcol1=old_part1%3A/pcol2=old_part2%3A +PREHOOK: query: SHOW PARTITIONS alter_rename_partition_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@alter_rename_partition_temp +POSTHOOK: query: SHOW PARTITIONS alter_rename_partition_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@alter_rename_partition_temp +pcol1=new_part1%3A/pcol2=new_part2%3A +PREHOOK: query: select * from alter_rename_partition_temp where pcol1='old_part1:' and pcol2='old_part2:' +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_rename_partition_temp +#### A masked pattern was here #### +POSTHOOK: query: select * from alter_rename_partition_temp where pcol1='old_part1:' and pcol2='old_part2:' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_rename_partition_temp +#### A masked pattern was here #### +PREHOOK: query: select * from alter_rename_partition_temp where pcol1='new_part1:' and pcol2='new_part2:' +PREHOOK: type: QUERY +PREHOOK: Input: default@alter_rename_partition_temp +PREHOOK: Input: default@alter_rename_partition_temp@pcol1=new_part1%3A/pcol2=new_part2%3A +#### A masked pattern was here #### +POSTHOOK: query: select * from alter_rename_partition_temp where pcol1='new_part1:' and pcol2='new_part2:' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alter_rename_partition_temp +POSTHOOK: Input: default@alter_rename_partition_temp@pcol1=new_part1%3A/pcol2=new_part2%3A +#### A masked pattern was here #### +1 new_part1: new_part2: +2 new_part1: new_part2: +3 new_part1: new_part2: +4 new_part1: new_part2: +5 new_part1: new_part2: +6 new_part1: new_part2: +PREHOOK: query: DROP TABLE alter_rename_partition_src_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@alter_rename_partition_src_temp +PREHOOK: Output: default@alter_rename_partition_src_temp +POSTHOOK: query: DROP TABLE alter_rename_partition_src_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@alter_rename_partition_src_temp +POSTHOOK: Output: default@alter_rename_partition_src_temp +PREHOOK: query: DROP TABLE alter_rename_partition_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@alter_rename_partition_temp +PREHOOK: Output: default@alter_rename_partition_temp +POSTHOOK: query: DROP TABLE alter_rename_partition_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@alter_rename_partition_temp +POSTHOOK: Output: default@alter_rename_partition_temp +PREHOOK: query: CREATE DATABASE alter_rename_partition_db +PREHOOK: type: CREATEDATABASE +PREHOOK: Output: database:alter_rename_partition_db +POSTHOOK: query: CREATE DATABASE alter_rename_partition_db +POSTHOOK: type: CREATEDATABASE +POSTHOOK: Output: database:alter_rename_partition_db +PREHOOK: query: USE alter_rename_partition_db +PREHOOK: type: SWITCHDATABASE +PREHOOK: Input: database:alter_rename_partition_db +POSTHOOK: query: USE alter_rename_partition_db +POSTHOOK: type: SWITCHDATABASE +POSTHOOK: Input: database:alter_rename_partition_db +PREHOOK: query: SHOW TABLES +PREHOOK: type: SHOWTABLES +PREHOOK: Input: database:alter_rename_partition_db +POSTHOOK: query: SHOW TABLES +POSTHOOK: type: SHOWTABLES +POSTHOOK: Input: database:alter_rename_partition_db +PREHOOK: query: CREATE TEMPORARY TABLE alter_rename_partition_src_temp (col1 STRING) STORED AS TEXTFILE +PREHOOK: type: CREATETABLE +PREHOOK: Output: alter_rename_partition_db@alter_rename_partition_src_temp +PREHOOK: Output: database:alter_rename_partition_db +POSTHOOK: query: CREATE TEMPORARY TABLE alter_rename_partition_src_temp (col1 STRING) STORED AS TEXTFILE +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: alter_rename_partition_db@alter_rename_partition_src_temp +POSTHOOK: Output: database:alter_rename_partition_db +PREHOOK: query: LOAD DATA LOCAL INPATH '../../data/files/test.dat' OVERWRITE INTO TABLE alter_rename_partition_src_temp +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: alter_rename_partition_db@alter_rename_partition_src_temp +POSTHOOK: query: LOAD DATA LOCAL INPATH '../../data/files/test.dat' OVERWRITE INTO TABLE alter_rename_partition_src_temp +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: alter_rename_partition_db@alter_rename_partition_src_temp +PREHOOK: query: CREATE TEMPORARY TABLE alter_rename_partition_temp (col1 STRING) PARTITIONED BY (pcol1 STRING, pcol2 STRING) STORED AS SEQUENCEFILE +PREHOOK: type: CREATETABLE +PREHOOK: Output: alter_rename_partition_db@alter_rename_partition_temp +PREHOOK: Output: database:alter_rename_partition_db +POSTHOOK: query: CREATE TEMPORARY TABLE alter_rename_partition_temp (col1 STRING) PARTITIONED BY (pcol1 STRING, pcol2 STRING) STORED AS SEQUENCEFILE +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: alter_rename_partition_db@alter_rename_partition_temp +POSTHOOK: Output: database:alter_rename_partition_db +PREHOOK: query: INSERT OVERWRITE TABLE alter_rename_partition_temp PARTITION (pCol1='old_part1:', pcol2='old_part2:') SELECT col1 FROM alter_rename_partition_src_temp +PREHOOK: type: QUERY +PREHOOK: Input: alter_rename_partition_db@alter_rename_partition_src_temp +PREHOOK: Output: alter_rename_partition_db@alter_rename_partition_temp@pcol1=old_part1%3A/pcol2=old_part2%3A +POSTHOOK: query: INSERT OVERWRITE TABLE alter_rename_partition_temp PARTITION (pCol1='old_part1:', pcol2='old_part2:') SELECT col1 FROM alter_rename_partition_src_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: alter_rename_partition_db@alter_rename_partition_src_temp +POSTHOOK: Output: alter_rename_partition_db@alter_rename_partition_temp@pcol1=old_part1%3A/pcol2=old_part2%3A +POSTHOOK: Lineage: alter_rename_partition_temp PARTITION(pcol1=old_part1:,pcol2=old_part2:).col1 SIMPLE [(alter_rename_partition_src_temp)alter_rename_partition_src_temp.FieldSchema(name:col1, type:string, comment:null), ] +PREHOOK: query: SELECT * FROM alter_rename_partition_temp WHERE pcol1='old_part1:' AND pcol2='old_part2:' +PREHOOK: type: QUERY +PREHOOK: Input: alter_rename_partition_db@alter_rename_partition_temp +PREHOOK: Input: alter_rename_partition_db@alter_rename_partition_temp@pcol1=old_part1%3A/pcol2=old_part2%3A +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM alter_rename_partition_temp WHERE pcol1='old_part1:' AND pcol2='old_part2:' +POSTHOOK: type: QUERY +POSTHOOK: Input: alter_rename_partition_db@alter_rename_partition_temp +POSTHOOK: Input: alter_rename_partition_db@alter_rename_partition_temp@pcol1=old_part1%3A/pcol2=old_part2%3A +#### A masked pattern was here #### +1 old_part1: old_part2: +2 old_part1: old_part2: +3 old_part1: old_part2: +4 old_part1: old_part2: +5 old_part1: old_part2: +6 old_part1: old_part2: +PREHOOK: query: EXPLAIN ALTER TABLE alter_rename_partition_temp PARTITION (pCol1='old_part1:', pcol2='old_part2:') RENAME TO PARTITION (pCol1='new_part1:', pcol2='new_part2:') +PREHOOK: type: ALTERTABLE_RENAMEPART +PREHOOK: Input: alter_rename_partition_db@alter_rename_partition_temp +PREHOOK: Output: alter_rename_partition_db@alter_rename_partition_temp@pcol1=old_part1%3A/pcol2=old_part2%3A +POSTHOOK: query: EXPLAIN ALTER TABLE alter_rename_partition_temp PARTITION (pCol1='old_part1:', pcol2='old_part2:') RENAME TO PARTITION (pCol1='new_part1:', pcol2='new_part2:') +POSTHOOK: type: ALTERTABLE_RENAMEPART +POSTHOOK: Input: alter_rename_partition_db@alter_rename_partition_temp +POSTHOOK: Output: alter_rename_partition_db@alter_rename_partition_temp@pcol1=old_part1%3A/pcol2=old_part2%3A +STAGE DEPENDENCIES: + Stage-0 is a root stage + +STAGE PLANS: + Stage: Stage-0 + Rename Partition + new partitions: + pcol1 new_part1: + pcol2 new_part2: + old partitions: + pcol1 old_part1: + pcol2 old_part2: + table: alter_rename_partition_db.alter_rename_partition_temp + +PREHOOK: query: ALTER TABLE alter_rename_partition_temp PARTITION (pCol1='old_part1:', pcol2='old_part2:') RENAME TO PARTITION (pCol1='new_part1:', pcol2='new_part2:') +PREHOOK: type: ALTERTABLE_RENAMEPART +PREHOOK: Input: alter_rename_partition_db@alter_rename_partition_temp +PREHOOK: Output: alter_rename_partition_db@alter_rename_partition_temp@pcol1=old_part1%3A/pcol2=old_part2%3A +POSTHOOK: query: ALTER TABLE alter_rename_partition_temp PARTITION (pCol1='old_part1:', pcol2='old_part2:') RENAME TO PARTITION (pCol1='new_part1:', pcol2='new_part2:') +POSTHOOK: type: ALTERTABLE_RENAMEPART +POSTHOOK: Input: alter_rename_partition_db@alter_rename_partition_temp +POSTHOOK: Input: alter_rename_partition_db@alter_rename_partition_temp@pcol1=old_part1%3A/pcol2=old_part2%3A +POSTHOOK: Output: alter_rename_partition_db@alter_rename_partition_temp@pcol1=new_part1%3A/pcol2=new_part2%3A +POSTHOOK: Output: alter_rename_partition_db@alter_rename_partition_temp@pcol1=old_part1%3A/pcol2=old_part2%3A +PREHOOK: query: SHOW PARTITIONS alter_rename_partition_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: alter_rename_partition_db@alter_rename_partition_temp +POSTHOOK: query: SHOW PARTITIONS alter_rename_partition_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: alter_rename_partition_db@alter_rename_partition_temp +pcol1=new_part1%3A/pcol2=new_part2%3A +PREHOOK: query: SELECT * FROM alter_rename_partition_temp WHERE pcol1='old_part1:' and pcol2='old_part2:' +PREHOOK: type: QUERY +PREHOOK: Input: alter_rename_partition_db@alter_rename_partition_temp +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM alter_rename_partition_temp WHERE pcol1='old_part1:' and pcol2='old_part2:' +POSTHOOK: type: QUERY +POSTHOOK: Input: alter_rename_partition_db@alter_rename_partition_temp +#### A masked pattern was here #### +PREHOOK: query: SELECT * FROM alter_rename_partition_temp WHERE pcol1='new_part1:' and pcol2='new_part2:' +PREHOOK: type: QUERY +PREHOOK: Input: alter_rename_partition_db@alter_rename_partition_temp +PREHOOK: Input: alter_rename_partition_db@alter_rename_partition_temp@pcol1=new_part1%3A/pcol2=new_part2%3A +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM alter_rename_partition_temp WHERE pcol1='new_part1:' and pcol2='new_part2:' +POSTHOOK: type: QUERY +POSTHOOK: Input: alter_rename_partition_db@alter_rename_partition_temp +POSTHOOK: Input: alter_rename_partition_db@alter_rename_partition_temp@pcol1=new_part1%3A/pcol2=new_part2%3A +#### A masked pattern was here #### +1 new_part1: new_part2: +2 new_part1: new_part2: +3 new_part1: new_part2: +4 new_part1: new_part2: +5 new_part1: new_part2: +6 new_part1: new_part2: diff --git a/ql/src/test/results/clientpositive/temp_table_avro_partitioned.q.out b/ql/src/test/results/clientpositive/temp_table_avro_partitioned.q.out new file mode 100644 index 0000000000..4d46a899ef --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_avro_partitioned.q.out @@ -0,0 +1,424 @@ +PREHOOK: query: CREATE TEMPORARY TABLE episodes_n2_temp +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_n2_temp", + "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" + } + ] +}') +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@episodes_n2_temp +POSTHOOK: query: CREATE TEMPORARY TABLE episodes_n2_temp +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_n2_temp", + "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" + } + ] +}') +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@episodes_n2_temp +PREHOOK: query: LOAD DATA LOCAL INPATH '../../data/files/episodes.avro' INTO TABLE episodes_n2_temp +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@episodes_n2_temp +POSTHOOK: query: LOAD DATA LOCAL INPATH '../../data/files/episodes.avro' INTO TABLE episodes_n2_temp +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@episodes_n2_temp +PREHOOK: query: CREATE TEMPORARY TABLE episodes_partitioned_n1_temp +PARTITIONED BY (doctor_pt INT) +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_n2_temp", + "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" + } + ] +}') +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@episodes_partitioned_n1_temp +POSTHOOK: query: CREATE TEMPORARY TABLE episodes_partitioned_n1_temp +PARTITIONED BY (doctor_pt INT) +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_n2_temp", + "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" + } + ] +}') +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@episodes_partitioned_n1_temp +PREHOOK: query: INSERT OVERWRITE TABLE episodes_partitioned_n1_temp PARTITION (doctor_pt) SELECT title, air_date, doctor, doctor as doctor_pt FROM episodes_n2_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@episodes_n2_temp +PREHOOK: Output: default@episodes_partitioned_n1_temp +POSTHOOK: query: INSERT OVERWRITE TABLE episodes_partitioned_n1_temp PARTITION (doctor_pt) SELECT title, air_date, doctor, doctor as doctor_pt FROM episodes_n2_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@episodes_n2_temp +POSTHOOK: Output: default@episodes_partitioned_n1_temp@doctor_pt=1 +POSTHOOK: Output: default@episodes_partitioned_n1_temp@doctor_pt=11 +POSTHOOK: Output: default@episodes_partitioned_n1_temp@doctor_pt=2 +POSTHOOK: Output: default@episodes_partitioned_n1_temp@doctor_pt=4 +POSTHOOK: Output: default@episodes_partitioned_n1_temp@doctor_pt=5 +POSTHOOK: Output: default@episodes_partitioned_n1_temp@doctor_pt=6 +POSTHOOK: Output: default@episodes_partitioned_n1_temp@doctor_pt=9 +POSTHOOK: Lineage: episodes_partitioned_n1_temp PARTITION(doctor_pt=11).air_date SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:air_date, type:string, comment:initial date), ] +POSTHOOK: Lineage: episodes_partitioned_n1_temp PARTITION(doctor_pt=11).doctor SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:doctor, type:int, comment:main actor playing the Doctor in episode), ] +POSTHOOK: Lineage: episodes_partitioned_n1_temp PARTITION(doctor_pt=11).title SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:title, type:string, comment:episode title), ] +POSTHOOK: Lineage: episodes_partitioned_n1_temp PARTITION(doctor_pt=1).air_date SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:air_date, type:string, comment:initial date), ] +POSTHOOK: Lineage: episodes_partitioned_n1_temp PARTITION(doctor_pt=1).doctor SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:doctor, type:int, comment:main actor playing the Doctor in episode), ] +POSTHOOK: Lineage: episodes_partitioned_n1_temp PARTITION(doctor_pt=1).title SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:title, type:string, comment:episode title), ] +POSTHOOK: Lineage: episodes_partitioned_n1_temp PARTITION(doctor_pt=2).air_date SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:air_date, type:string, comment:initial date), ] +POSTHOOK: Lineage: episodes_partitioned_n1_temp PARTITION(doctor_pt=2).doctor SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:doctor, type:int, comment:main actor playing the Doctor in episode), ] +POSTHOOK: Lineage: episodes_partitioned_n1_temp PARTITION(doctor_pt=2).title SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:title, type:string, comment:episode title), ] +POSTHOOK: Lineage: episodes_partitioned_n1_temp PARTITION(doctor_pt=4).air_date SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:air_date, type:string, comment:initial date), ] +POSTHOOK: Lineage: episodes_partitioned_n1_temp PARTITION(doctor_pt=4).doctor SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:doctor, type:int, comment:main actor playing the Doctor in episode), ] +POSTHOOK: Lineage: episodes_partitioned_n1_temp PARTITION(doctor_pt=4).title SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:title, type:string, comment:episode title), ] +POSTHOOK: Lineage: episodes_partitioned_n1_temp PARTITION(doctor_pt=5).air_date SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:air_date, type:string, comment:initial date), ] +POSTHOOK: Lineage: episodes_partitioned_n1_temp PARTITION(doctor_pt=5).doctor SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:doctor, type:int, comment:main actor playing the Doctor in episode), ] +POSTHOOK: Lineage: episodes_partitioned_n1_temp PARTITION(doctor_pt=5).title SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:title, type:string, comment:episode title), ] +POSTHOOK: Lineage: episodes_partitioned_n1_temp PARTITION(doctor_pt=6).air_date SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:air_date, type:string, comment:initial date), ] +POSTHOOK: Lineage: episodes_partitioned_n1_temp PARTITION(doctor_pt=6).doctor SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:doctor, type:int, comment:main actor playing the Doctor in episode), ] +POSTHOOK: Lineage: episodes_partitioned_n1_temp PARTITION(doctor_pt=6).title SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:title, type:string, comment:episode title), ] +POSTHOOK: Lineage: episodes_partitioned_n1_temp PARTITION(doctor_pt=9).air_date SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:air_date, type:string, comment:initial date), ] +POSTHOOK: Lineage: episodes_partitioned_n1_temp PARTITION(doctor_pt=9).doctor SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:doctor, type:int, comment:main actor playing the Doctor in episode), ] +POSTHOOK: Lineage: episodes_partitioned_n1_temp PARTITION(doctor_pt=9).title SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:title, type:string, comment:episode title), ] +PREHOOK: query: SELECT * FROM episodes_partitioned_n1_temp ORDER BY air_date LIMIT 5 +PREHOOK: type: QUERY +PREHOOK: Input: default@episodes_partitioned_n1_temp +PREHOOK: Input: default@episodes_partitioned_n1_temp@doctor_pt=1 +PREHOOK: Input: default@episodes_partitioned_n1_temp@doctor_pt=11 +PREHOOK: Input: default@episodes_partitioned_n1_temp@doctor_pt=2 +PREHOOK: Input: default@episodes_partitioned_n1_temp@doctor_pt=4 +PREHOOK: Input: default@episodes_partitioned_n1_temp@doctor_pt=5 +PREHOOK: Input: default@episodes_partitioned_n1_temp@doctor_pt=6 +PREHOOK: Input: default@episodes_partitioned_n1_temp@doctor_pt=9 +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM episodes_partitioned_n1_temp ORDER BY air_date LIMIT 5 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@episodes_partitioned_n1_temp +POSTHOOK: Input: default@episodes_partitioned_n1_temp@doctor_pt=1 +POSTHOOK: Input: default@episodes_partitioned_n1_temp@doctor_pt=11 +POSTHOOK: Input: default@episodes_partitioned_n1_temp@doctor_pt=2 +POSTHOOK: Input: default@episodes_partitioned_n1_temp@doctor_pt=4 +POSTHOOK: Input: default@episodes_partitioned_n1_temp@doctor_pt=5 +POSTHOOK: Input: default@episodes_partitioned_n1_temp@doctor_pt=6 +POSTHOOK: Input: default@episodes_partitioned_n1_temp@doctor_pt=9 +#### A masked pattern was here #### +An Unearthly Child 23 November 1963 1 1 +Horror of Fang Rock 3 September 1977 4 4 +Rose 26 March 2005 9 9 +The Doctor's Wife 14 May 2011 11 11 +The Eleventh Hour 3 April 2010 11 11 +PREHOOK: query: SELECT * FROM episodes_partitioned_n1_temp WHERE doctor_pt = 6 +PREHOOK: type: QUERY +PREHOOK: Input: default@episodes_partitioned_n1_temp +PREHOOK: Input: default@episodes_partitioned_n1_temp@doctor_pt=6 +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM episodes_partitioned_n1_temp WHERE doctor_pt = 6 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@episodes_partitioned_n1_temp +POSTHOOK: Input: default@episodes_partitioned_n1_temp@doctor_pt=6 +#### A masked pattern was here #### +The Mysterious Planet 6 September 1986 6 6 +PREHOOK: query: SELECT * FROM episodes_partitioned_n1_temp WHERE doctor_pt = 7 LIMIT 5 +PREHOOK: type: QUERY +PREHOOK: Input: default@episodes_partitioned_n1_temp +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM episodes_partitioned_n1_temp WHERE doctor_pt = 7 LIMIT 5 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@episodes_partitioned_n1_temp +#### A masked pattern was here #### +PREHOOK: query: ALTER TABLE episodes_partitioned_n1_temp ADD PARTITION (doctor_pt=7) +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@episodes_partitioned_n1_temp +POSTHOOK: query: ALTER TABLE episodes_partitioned_n1_temp ADD PARTITION (doctor_pt=7) +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@episodes_partitioned_n1_temp +POSTHOOK: Output: default@episodes_partitioned_n1_temp@doctor_pt=7 +PREHOOK: query: SELECT COUNT(*) FROM episodes_partitioned_n1_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@episodes_partitioned_n1_temp +#### A masked pattern was here #### +POSTHOOK: query: SELECT COUNT(*) FROM episodes_partitioned_n1_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@episodes_partitioned_n1_temp +#### A masked pattern was here #### +8 +PREHOOK: query: CREATE TEMPORARY TABLE episodes_partitioned_serdeproperties_temp +PARTITIONED BY (doctor_pt INT) +ROW FORMAT +SERDE 'org.apache.hadoop.hive.serde2.avro.AvroSerDe' +WITH SERDEPROPERTIES ('avro.schema.literal'='{ + "namespace": "testing.hive.avro.serde", + "name": "episodes_n2_temp", + "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" + } + ] +}') +STORED AS +INPUTFORMAT 'org.apache.hadoop.hive.ql.io.avro.AvroContainerInputFormat' +OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.avro.AvroContainerOutputFormat' +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@episodes_partitioned_serdeproperties_temp +POSTHOOK: query: CREATE TEMPORARY TABLE episodes_partitioned_serdeproperties_temp +PARTITIONED BY (doctor_pt INT) +ROW FORMAT +SERDE 'org.apache.hadoop.hive.serde2.avro.AvroSerDe' +WITH SERDEPROPERTIES ('avro.schema.literal'='{ + "namespace": "testing.hive.avro.serde", + "name": "episodes_n2_temp", + "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" + } + ] +}') +STORED AS +INPUTFORMAT 'org.apache.hadoop.hive.ql.io.avro.AvroContainerInputFormat' +OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.avro.AvroContainerOutputFormat' +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@episodes_partitioned_serdeproperties_temp +PREHOOK: query: INSERT INTO TABLE episodes_partitioned_serdeproperties_temp PARTITION (doctor_pt) SELECT title, air_date, doctor, doctor as doctor_pt FROM episodes_n2_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@episodes_n2_temp +PREHOOK: Output: default@episodes_partitioned_serdeproperties_temp +POSTHOOK: query: INSERT INTO TABLE episodes_partitioned_serdeproperties_temp PARTITION (doctor_pt) SELECT title, air_date, doctor, doctor as doctor_pt FROM episodes_n2_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@episodes_n2_temp +POSTHOOK: Output: default@episodes_partitioned_serdeproperties_temp@doctor_pt=1 +POSTHOOK: Output: default@episodes_partitioned_serdeproperties_temp@doctor_pt=11 +POSTHOOK: Output: default@episodes_partitioned_serdeproperties_temp@doctor_pt=2 +POSTHOOK: Output: default@episodes_partitioned_serdeproperties_temp@doctor_pt=4 +POSTHOOK: Output: default@episodes_partitioned_serdeproperties_temp@doctor_pt=5 +POSTHOOK: Output: default@episodes_partitioned_serdeproperties_temp@doctor_pt=6 +POSTHOOK: Output: default@episodes_partitioned_serdeproperties_temp@doctor_pt=9 +POSTHOOK: Lineage: episodes_partitioned_serdeproperties_temp PARTITION(doctor_pt=11).air_date SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:air_date, type:string, comment:initial date), ] +POSTHOOK: Lineage: episodes_partitioned_serdeproperties_temp PARTITION(doctor_pt=11).doctor SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:doctor, type:int, comment:main actor playing the Doctor in episode), ] +POSTHOOK: Lineage: episodes_partitioned_serdeproperties_temp PARTITION(doctor_pt=11).title SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:title, type:string, comment:episode title), ] +POSTHOOK: Lineage: episodes_partitioned_serdeproperties_temp PARTITION(doctor_pt=1).air_date SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:air_date, type:string, comment:initial date), ] +POSTHOOK: Lineage: episodes_partitioned_serdeproperties_temp PARTITION(doctor_pt=1).doctor SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:doctor, type:int, comment:main actor playing the Doctor in episode), ] +POSTHOOK: Lineage: episodes_partitioned_serdeproperties_temp PARTITION(doctor_pt=1).title SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:title, type:string, comment:episode title), ] +POSTHOOK: Lineage: episodes_partitioned_serdeproperties_temp PARTITION(doctor_pt=2).air_date SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:air_date, type:string, comment:initial date), ] +POSTHOOK: Lineage: episodes_partitioned_serdeproperties_temp PARTITION(doctor_pt=2).doctor SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:doctor, type:int, comment:main actor playing the Doctor in episode), ] +POSTHOOK: Lineage: episodes_partitioned_serdeproperties_temp PARTITION(doctor_pt=2).title SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:title, type:string, comment:episode title), ] +POSTHOOK: Lineage: episodes_partitioned_serdeproperties_temp PARTITION(doctor_pt=4).air_date SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:air_date, type:string, comment:initial date), ] +POSTHOOK: Lineage: episodes_partitioned_serdeproperties_temp PARTITION(doctor_pt=4).doctor SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:doctor, type:int, comment:main actor playing the Doctor in episode), ] +POSTHOOK: Lineage: episodes_partitioned_serdeproperties_temp PARTITION(doctor_pt=4).title SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:title, type:string, comment:episode title), ] +POSTHOOK: Lineage: episodes_partitioned_serdeproperties_temp PARTITION(doctor_pt=5).air_date SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:air_date, type:string, comment:initial date), ] +POSTHOOK: Lineage: episodes_partitioned_serdeproperties_temp PARTITION(doctor_pt=5).doctor SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:doctor, type:int, comment:main actor playing the Doctor in episode), ] +POSTHOOK: Lineage: episodes_partitioned_serdeproperties_temp PARTITION(doctor_pt=5).title SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:title, type:string, comment:episode title), ] +POSTHOOK: Lineage: episodes_partitioned_serdeproperties_temp PARTITION(doctor_pt=6).air_date SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:air_date, type:string, comment:initial date), ] +POSTHOOK: Lineage: episodes_partitioned_serdeproperties_temp PARTITION(doctor_pt=6).doctor SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:doctor, type:int, comment:main actor playing the Doctor in episode), ] +POSTHOOK: Lineage: episodes_partitioned_serdeproperties_temp PARTITION(doctor_pt=6).title SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:title, type:string, comment:episode title), ] +POSTHOOK: Lineage: episodes_partitioned_serdeproperties_temp PARTITION(doctor_pt=9).air_date SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:air_date, type:string, comment:initial date), ] +POSTHOOK: Lineage: episodes_partitioned_serdeproperties_temp PARTITION(doctor_pt=9).doctor SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:doctor, type:int, comment:main actor playing the Doctor in episode), ] +POSTHOOK: Lineage: episodes_partitioned_serdeproperties_temp PARTITION(doctor_pt=9).title SIMPLE [(episodes_n2_temp)episodes_n2_temp.FieldSchema(name:title, type:string, comment:episode title), ] +PREHOOK: query: ALTER TABLE episodes_partitioned_serdeproperties_temp +SET SERDE 'org.apache.hadoop.hive.serde2.avro.AvroSerDe' +WITH SERDEPROPERTIES ('avro.schema.literal'='{ + "namespace": "testing.hive.avro.serde", + "name": "episodes_n2_temp", + "type": "record", + "fields": [ + { + "name":"cast_and_crew", + "type":{"type":"array","items":"string"}, + "default":[] + }, + { + "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" + } + ] +}') +PREHOOK: type: ALTERTABLE_SERIALIZER +PREHOOK: Input: default@episodes_partitioned_serdeproperties_temp +PREHOOK: Output: default@episodes_partitioned_serdeproperties_temp +POSTHOOK: query: ALTER TABLE episodes_partitioned_serdeproperties_temp +SET SERDE 'org.apache.hadoop.hive.serde2.avro.AvroSerDe' +WITH SERDEPROPERTIES ('avro.schema.literal'='{ + "namespace": "testing.hive.avro.serde", + "name": "episodes_n2_temp", + "type": "record", + "fields": [ + { + "name":"cast_and_crew", + "type":{"type":"array","items":"string"}, + "default":[] + }, + { + "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" + } + ] +}') +POSTHOOK: type: ALTERTABLE_SERIALIZER +POSTHOOK: Input: default@episodes_partitioned_serdeproperties_temp +POSTHOOK: Output: default@episodes_partitioned_serdeproperties_temp +PREHOOK: query: SELECT * FROM episodes_partitioned_serdeproperties_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@episodes_partitioned_serdeproperties_temp +PREHOOK: Input: default@episodes_partitioned_serdeproperties_temp@doctor_pt=1 +PREHOOK: Input: default@episodes_partitioned_serdeproperties_temp@doctor_pt=11 +PREHOOK: Input: default@episodes_partitioned_serdeproperties_temp@doctor_pt=2 +PREHOOK: Input: default@episodes_partitioned_serdeproperties_temp@doctor_pt=4 +PREHOOK: Input: default@episodes_partitioned_serdeproperties_temp@doctor_pt=5 +PREHOOK: Input: default@episodes_partitioned_serdeproperties_temp@doctor_pt=6 +PREHOOK: Input: default@episodes_partitioned_serdeproperties_temp@doctor_pt=9 +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM episodes_partitioned_serdeproperties_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@episodes_partitioned_serdeproperties_temp +POSTHOOK: Input: default@episodes_partitioned_serdeproperties_temp@doctor_pt=1 +POSTHOOK: Input: default@episodes_partitioned_serdeproperties_temp@doctor_pt=11 +POSTHOOK: Input: default@episodes_partitioned_serdeproperties_temp@doctor_pt=2 +POSTHOOK: Input: default@episodes_partitioned_serdeproperties_temp@doctor_pt=4 +POSTHOOK: Input: default@episodes_partitioned_serdeproperties_temp@doctor_pt=5 +POSTHOOK: Input: default@episodes_partitioned_serdeproperties_temp@doctor_pt=6 +POSTHOOK: Input: default@episodes_partitioned_serdeproperties_temp@doctor_pt=9 +#### A masked pattern was here #### +[] An Unearthly Child 23 November 1963 1 1 +[] Castrolava 4 January 1982 5 5 +[] Horror of Fang Rock 3 September 1977 4 4 +[] Rose 26 March 2005 9 9 +[] The Doctor's Wife 14 May 2011 11 11 +[] The Eleventh Hour 3 April 2010 11 11 +[] The Mysterious Planet 6 September 1986 6 6 +[] The Power of the Daleks 5 November 1966 2 2 diff --git a/ql/src/test/results/clientpositive/temp_table_avro_partitioned_native.q.out b/ql/src/test/results/clientpositive/temp_table_avro_partitioned_native.q.out new file mode 100644 index 0000000000..06c124a9af --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_avro_partitioned_native.q.out @@ -0,0 +1,125 @@ +PREHOOK: query: CREATE TABLE episodes ( + title string COMMENT "episode title", + air_date string COMMENT "initial date", + doctor int COMMENT "main actor playing the Doctor in episode") +STORED AS AVRO +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@episodes +POSTHOOK: query: CREATE TABLE episodes ( + title string COMMENT "episode title", + air_date string COMMENT "initial date", + doctor int COMMENT "main actor playing the Doctor in episode") +STORED AS AVRO +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@episodes +PREHOOK: query: LOAD DATA LOCAL INPATH '../../data/files/episodes.avro' INTO TABLE episodes +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@episodes +POSTHOOK: query: LOAD DATA LOCAL INPATH '../../data/files/episodes.avro' INTO TABLE episodes +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@episodes +PREHOOK: query: CREATE TABLE episodes_partitioned ( + title string COMMENT "episode title", + air_date string COMMENT "initial date", + doctor int COMMENT "main actor playing the Doctor in episode") +PARTITIONED BY (doctor_pt INT) +STORED AS AVRO +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@episodes_partitioned +POSTHOOK: query: CREATE TABLE episodes_partitioned ( + title string COMMENT "episode title", + air_date string COMMENT "initial date", + doctor int COMMENT "main actor playing the Doctor in episode") +PARTITIONED BY (doctor_pt INT) +STORED AS AVRO +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@episodes_partitioned +PREHOOK: query: INSERT OVERWRITE TABLE episodes_partitioned PARTITION (doctor_pt) + SELECT title, air_date, doctor, doctor as doctor_pt FROM episodes +PREHOOK: type: QUERY +PREHOOK: Input: default@episodes +PREHOOK: Output: default@episodes_partitioned +POSTHOOK: query: INSERT OVERWRITE TABLE episodes_partitioned PARTITION (doctor_pt) + SELECT title, air_date, doctor, doctor as doctor_pt FROM episodes +POSTHOOK: type: QUERY +POSTHOOK: Input: default@episodes +POSTHOOK: Output: default@episodes_partitioned@doctor_pt=1 +POSTHOOK: Output: default@episodes_partitioned@doctor_pt=11 +POSTHOOK: Output: default@episodes_partitioned@doctor_pt=2 +POSTHOOK: Output: default@episodes_partitioned@doctor_pt=4 +POSTHOOK: Output: default@episodes_partitioned@doctor_pt=5 +POSTHOOK: Output: default@episodes_partitioned@doctor_pt=6 +POSTHOOK: Output: default@episodes_partitioned@doctor_pt=9 +POSTHOOK: Lineage: episodes_partitioned PARTITION(doctor_pt=11).air_date SIMPLE [(episodes)episodes.FieldSchema(name:air_date, type:string, comment:initial date), ] +POSTHOOK: Lineage: episodes_partitioned PARTITION(doctor_pt=11).doctor SIMPLE [(episodes)episodes.FieldSchema(name:doctor, type:int, comment:main actor playing the Doctor in episode), ] +POSTHOOK: Lineage: episodes_partitioned PARTITION(doctor_pt=11).title SIMPLE [(episodes)episodes.FieldSchema(name:title, type:string, comment:episode title), ] +POSTHOOK: Lineage: episodes_partitioned PARTITION(doctor_pt=1).air_date SIMPLE [(episodes)episodes.FieldSchema(name:air_date, type:string, comment:initial date), ] +POSTHOOK: Lineage: episodes_partitioned PARTITION(doctor_pt=1).doctor SIMPLE [(episodes)episodes.FieldSchema(name:doctor, type:int, comment:main actor playing the Doctor in episode), ] +POSTHOOK: Lineage: episodes_partitioned PARTITION(doctor_pt=1).title SIMPLE [(episodes)episodes.FieldSchema(name:title, type:string, comment:episode title), ] +POSTHOOK: Lineage: episodes_partitioned PARTITION(doctor_pt=2).air_date SIMPLE [(episodes)episodes.FieldSchema(name:air_date, type:string, comment:initial date), ] +POSTHOOK: Lineage: episodes_partitioned PARTITION(doctor_pt=2).doctor SIMPLE [(episodes)episodes.FieldSchema(name:doctor, type:int, comment:main actor playing the Doctor in episode), ] +POSTHOOK: Lineage: episodes_partitioned PARTITION(doctor_pt=2).title SIMPLE [(episodes)episodes.FieldSchema(name:title, type:string, comment:episode title), ] +POSTHOOK: Lineage: episodes_partitioned PARTITION(doctor_pt=4).air_date SIMPLE [(episodes)episodes.FieldSchema(name:air_date, type:string, comment:initial date), ] +POSTHOOK: Lineage: episodes_partitioned PARTITION(doctor_pt=4).doctor SIMPLE [(episodes)episodes.FieldSchema(name:doctor, type:int, comment:main actor playing the Doctor in episode), ] +POSTHOOK: Lineage: episodes_partitioned PARTITION(doctor_pt=4).title SIMPLE [(episodes)episodes.FieldSchema(name:title, type:string, comment:episode title), ] +POSTHOOK: Lineage: episodes_partitioned PARTITION(doctor_pt=5).air_date SIMPLE [(episodes)episodes.FieldSchema(name:air_date, type:string, comment:initial date), ] +POSTHOOK: Lineage: episodes_partitioned PARTITION(doctor_pt=5).doctor SIMPLE [(episodes)episodes.FieldSchema(name:doctor, type:int, comment:main actor playing the Doctor in episode), ] +POSTHOOK: Lineage: episodes_partitioned PARTITION(doctor_pt=5).title SIMPLE [(episodes)episodes.FieldSchema(name:title, type:string, comment:episode title), ] +POSTHOOK: Lineage: episodes_partitioned PARTITION(doctor_pt=6).air_date SIMPLE [(episodes)episodes.FieldSchema(name:air_date, type:string, comment:initial date), ] +POSTHOOK: Lineage: episodes_partitioned PARTITION(doctor_pt=6).doctor SIMPLE [(episodes)episodes.FieldSchema(name:doctor, type:int, comment:main actor playing the Doctor in episode), ] +POSTHOOK: Lineage: episodes_partitioned PARTITION(doctor_pt=6).title SIMPLE [(episodes)episodes.FieldSchema(name:title, type:string, comment:episode title), ] +POSTHOOK: Lineage: episodes_partitioned PARTITION(doctor_pt=9).air_date SIMPLE [(episodes)episodes.FieldSchema(name:air_date, type:string, comment:initial date), ] +POSTHOOK: Lineage: episodes_partitioned PARTITION(doctor_pt=9).doctor SIMPLE [(episodes)episodes.FieldSchema(name:doctor, type:int, comment:main actor playing the Doctor in episode), ] +POSTHOOK: Lineage: episodes_partitioned PARTITION(doctor_pt=9).title SIMPLE [(episodes)episodes.FieldSchema(name:title, type:string, comment:episode title), ] +PREHOOK: query: SELECT * FROM episodes_partitioned ORDER BY air_date LIMIT 5 +PREHOOK: type: QUERY +PREHOOK: Input: default@episodes_partitioned +PREHOOK: Input: default@episodes_partitioned@doctor_pt=1 +PREHOOK: Input: default@episodes_partitioned@doctor_pt=11 +PREHOOK: Input: default@episodes_partitioned@doctor_pt=2 +PREHOOK: Input: default@episodes_partitioned@doctor_pt=4 +PREHOOK: Input: default@episodes_partitioned@doctor_pt=5 +PREHOOK: Input: default@episodes_partitioned@doctor_pt=6 +PREHOOK: Input: default@episodes_partitioned@doctor_pt=9 +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM episodes_partitioned ORDER BY air_date LIMIT 5 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@episodes_partitioned +POSTHOOK: Input: default@episodes_partitioned@doctor_pt=1 +POSTHOOK: Input: default@episodes_partitioned@doctor_pt=11 +POSTHOOK: Input: default@episodes_partitioned@doctor_pt=2 +POSTHOOK: Input: default@episodes_partitioned@doctor_pt=4 +POSTHOOK: Input: default@episodes_partitioned@doctor_pt=5 +POSTHOOK: Input: default@episodes_partitioned@doctor_pt=6 +POSTHOOK: Input: default@episodes_partitioned@doctor_pt=9 +#### A masked pattern was here #### +An Unearthly Child 23 November 1963 1 1 +Horror of Fang Rock 3 September 1977 4 4 +Rose 26 March 2005 9 9 +The Doctor's Wife 14 May 2011 11 11 +The Eleventh Hour 3 April 2010 11 11 +PREHOOK: query: SELECT * FROM episodes_partitioned WHERE doctor_pt = 6 +PREHOOK: type: QUERY +PREHOOK: Input: default@episodes_partitioned +PREHOOK: Input: default@episodes_partitioned@doctor_pt=6 +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM episodes_partitioned WHERE doctor_pt = 6 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@episodes_partitioned +POSTHOOK: Input: default@episodes_partitioned@doctor_pt=6 +#### A masked pattern was here #### +The Mysterious Planet 6 September 1986 6 6 +PREHOOK: query: SELECT * FROM episodes_partitioned WHERE doctor_pt = 7 LIMIT 5 +PREHOOK: type: QUERY +PREHOOK: Input: default@episodes_partitioned +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM episodes_partitioned WHERE doctor_pt = 7 LIMIT 5 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@episodes_partitioned +#### A masked pattern was here #### diff --git a/ql/src/test/results/clientpositive/temp_table_default_partition_name.q.out b/ql/src/test/results/clientpositive/temp_table_default_partition_name.q.out new file mode 100644 index 0000000000..f3b620662a --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_default_partition_name.q.out @@ -0,0 +1,22 @@ +PREHOOK: query: create temporary table default_partition_name_temp (key int, value string) partitioned by (ds string) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@default_partition_name_temp +POSTHOOK: query: create temporary table default_partition_name_temp (key int, value string) partitioned by (ds string) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@default_partition_name_temp +PREHOOK: query: alter table default_partition_name_temp add partition(ds='__HIVE_DEFAULT_PARTITION__') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@default_partition_name_temp +POSTHOOK: query: alter table default_partition_name_temp add partition(ds='__HIVE_DEFAULT_PARTITION__') +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@default_partition_name_temp +POSTHOOK: Output: default@default_partition_name_temp@ds=__HIVE_DEFAULT_PARTITION__ +PREHOOK: query: show partitions default_partition_name_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@default_partition_name_temp +POSTHOOK: query: show partitions default_partition_name_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@default_partition_name_temp +ds=__HIVE_DEFAULT_PARTITION__ diff --git a/ql/src/test/results/clientpositive/temp_table_drop_multi_partitions.q.out b/ql/src/test/results/clientpositive/temp_table_drop_multi_partitions.q.out new file mode 100644 index 0000000000..d79d37870f --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_drop_multi_partitions.q.out @@ -0,0 +1,63 @@ +PREHOOK: query: create temporary table mp_n0_temp (a string) partitioned by (b string, c string) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@mp_n0_temp +POSTHOOK: query: create temporary table mp_n0_temp (a string) partitioned by (b string, c string) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@mp_n0_temp +PREHOOK: query: alter table mp_n0_temp add partition (b='1', c='1') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@mp_n0_temp +POSTHOOK: query: alter table mp_n0_temp add partition (b='1', c='1') +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@mp_n0_temp +POSTHOOK: Output: default@mp_n0_temp@b=1/c=1 +PREHOOK: query: alter table mp_n0_temp add partition (b='1', c='2') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@mp_n0_temp +POSTHOOK: query: alter table mp_n0_temp add partition (b='1', c='2') +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@mp_n0_temp +POSTHOOK: Output: default@mp_n0_temp@b=1/c=2 +PREHOOK: query: alter table mp_n0_temp add partition (b='2', c='2') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@mp_n0_temp +POSTHOOK: query: alter table mp_n0_temp add partition (b='2', c='2') +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@mp_n0_temp +POSTHOOK: Output: default@mp_n0_temp@b=2/c=2 +PREHOOK: query: show partitions mp_n0_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@mp_n0_temp +POSTHOOK: query: show partitions mp_n0_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@mp_n0_temp +b=1/c=1 +b=1/c=2 +b=2/c=2 +PREHOOK: query: alter table mp_n0_temp drop partition (b='1') +PREHOOK: type: ALTERTABLE_DROPPARTS +PREHOOK: Input: default@mp_n0_temp +PREHOOK: Output: default@mp_n0_temp@b=1/c=1 +PREHOOK: Output: default@mp_n0_temp@b=1/c=2 +POSTHOOK: query: alter table mp_n0_temp drop partition (b='1') +POSTHOOK: type: ALTERTABLE_DROPPARTS +POSTHOOK: Input: default@mp_n0_temp +POSTHOOK: Output: default@mp_n0_temp@b=1/c=1 +POSTHOOK: Output: default@mp_n0_temp@b=1/c=2 +PREHOOK: query: show partitions mp_n0_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@mp_n0_temp +POSTHOOK: query: show partitions mp_n0_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@mp_n0_temp +b=2/c=2 +PREHOOK: query: drop table mp_n0_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@mp_n0_temp +PREHOOK: Output: default@mp_n0_temp +POSTHOOK: query: drop table mp_n0_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@mp_n0_temp +POSTHOOK: Output: default@mp_n0_temp diff --git a/ql/src/test/results/clientpositive/temp_table_drop_partitions_filter.q.out b/ql/src/test/results/clientpositive/temp_table_drop_partitions_filter.q.out new file mode 100644 index 0000000000..ec4d537ced --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_drop_partitions_filter.q.out @@ -0,0 +1,286 @@ +PREHOOK: query: create temporary table ptestfilter_n1_temp (a string, b int) partitioned by (c string, d string) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@ptestfilter_n1_temp +POSTHOOK: query: create temporary table ptestfilter_n1_temp (a string, b int) partitioned by (c string, d string) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@ptestfilter_n1_temp +PREHOOK: query: describe ptestfilter_n1_temp +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@ptestfilter_n1_temp +POSTHOOK: query: describe ptestfilter_n1_temp +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@ptestfilter_n1_temp +a string +b int +c string +d string + +# Partition Information +# col_name data_type comment +c string +d string +PREHOOK: query: explain alter table ptestfilter_n1_temp add partition (c='US', d=1) +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@ptestfilter_n1_temp +POSTHOOK: query: explain alter table ptestfilter_n1_temp add partition (c='US', d=1) +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@ptestfilter_n1_temp +STAGE DEPENDENCIES: + Stage-0 is a root stage + +STAGE PLANS: + Stage: Stage-0 + Add Partition + db name: default + partitions: + Partition + params: {totalSize=0, numRows=0, rawDataSize=0, COLUMN_STATS_ACCURATE={"BASIC_STATS":"true","COLUMN_STATS":{"a":"true","b":"true"}}, numFiles=0, numFilesErasureCoded=0} + partition spec: {c=US, d=1} + table name: ptestfilter_n1_temp + +PREHOOK: query: alter table ptestfilter_n1_temp add partition (c='US', d=1) +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@ptestfilter_n1_temp +POSTHOOK: query: alter table ptestfilter_n1_temp add partition (c='US', d=1) +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@ptestfilter_n1_temp +POSTHOOK: Output: default@ptestfilter_n1_temp@c=US/d=1 +PREHOOK: query: alter table ptestfilter_n1_temp add partition (c='US', d=2) +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@ptestfilter_n1_temp +POSTHOOK: query: alter table ptestfilter_n1_temp add partition (c='US', d=2) +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@ptestfilter_n1_temp +POSTHOOK: Output: default@ptestfilter_n1_temp@c=US/d=2 +PREHOOK: query: alter table ptestfilter_n1_temp add partition (c='Uganda', d=2) +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@ptestfilter_n1_temp +POSTHOOK: query: alter table ptestfilter_n1_temp add partition (c='Uganda', d=2) +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@ptestfilter_n1_temp +POSTHOOK: Output: default@ptestfilter_n1_temp@c=Uganda/d=2 +PREHOOK: query: alter table ptestfilter_n1_temp add partition (c='Germany', d=2) +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@ptestfilter_n1_temp +POSTHOOK: query: alter table ptestfilter_n1_temp add partition (c='Germany', d=2) +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@ptestfilter_n1_temp +POSTHOOK: Output: default@ptestfilter_n1_temp@c=Germany/d=2 +PREHOOK: query: alter table ptestfilter_n1_temp add partition (c='Canada', d=3) +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@ptestfilter_n1_temp +POSTHOOK: query: alter table ptestfilter_n1_temp add partition (c='Canada', d=3) +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@ptestfilter_n1_temp +POSTHOOK: Output: default@ptestfilter_n1_temp@c=Canada/d=3 +PREHOOK: query: alter table ptestfilter_n1_temp add partition (c='Russia', d=3) +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@ptestfilter_n1_temp +POSTHOOK: query: alter table ptestfilter_n1_temp add partition (c='Russia', d=3) +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@ptestfilter_n1_temp +POSTHOOK: Output: default@ptestfilter_n1_temp@c=Russia/d=3 +PREHOOK: query: alter table ptestfilter_n1_temp add partition (c='Greece', d=2) +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@ptestfilter_n1_temp +POSTHOOK: query: alter table ptestfilter_n1_temp add partition (c='Greece', d=2) +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@ptestfilter_n1_temp +POSTHOOK: Output: default@ptestfilter_n1_temp@c=Greece/d=2 +PREHOOK: query: alter table ptestfilter_n1_temp add partition (c='India', d=3) +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@ptestfilter_n1_temp +POSTHOOK: query: alter table ptestfilter_n1_temp add partition (c='India', d=3) +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@ptestfilter_n1_temp +POSTHOOK: Output: default@ptestfilter_n1_temp@c=India/d=3 +PREHOOK: query: alter table ptestfilter_n1_temp add partition (c='France', d=4) +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@ptestfilter_n1_temp +POSTHOOK: query: alter table ptestfilter_n1_temp add partition (c='France', d=4) +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@ptestfilter_n1_temp +POSTHOOK: Output: default@ptestfilter_n1_temp@c=France/d=4 +PREHOOK: query: show partitions ptestfilter_n1_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@ptestfilter_n1_temp +POSTHOOK: query: show partitions ptestfilter_n1_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@ptestfilter_n1_temp +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 +PREHOOK: query: explain alter table ptestfilter_n1_temp drop partition (c='US', d<'2') +PREHOOK: type: ALTERTABLE_DROPPARTS +PREHOOK: Input: default@ptestfilter_n1_temp +PREHOOK: Output: default@ptestfilter_n1_temp@c=US/d=1 +POSTHOOK: query: explain alter table ptestfilter_n1_temp drop partition (c='US', d<'2') +POSTHOOK: type: ALTERTABLE_DROPPARTS +POSTHOOK: Input: default@ptestfilter_n1_temp +POSTHOOK: Output: default@ptestfilter_n1_temp@c=US/d=1 +STAGE DEPENDENCIES: + Stage-0 is a root stage + +STAGE PLANS: + Stage: Stage-0 + Drop Partition + table: default.ptestfilter_n1_temp + +PREHOOK: query: alter table ptestfilter_n1_temp drop partition (c='US', d<'2') +PREHOOK: type: ALTERTABLE_DROPPARTS +PREHOOK: Input: default@ptestfilter_n1_temp +PREHOOK: Output: default@ptestfilter_n1_temp@c=US/d=1 +POSTHOOK: query: alter table ptestfilter_n1_temp drop partition (c='US', d<'2') +POSTHOOK: type: ALTERTABLE_DROPPARTS +POSTHOOK: Input: default@ptestfilter_n1_temp +POSTHOOK: Output: default@ptestfilter_n1_temp@c=US/d=1 +PREHOOK: query: explain show partitions ptestfilter_n1_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@ptestfilter_n1_temp +POSTHOOK: query: explain show partitions ptestfilter_n1_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@ptestfilter_n1_temp +STAGE DEPENDENCIES: + Stage-0 is a root stage + Stage-1 depends on stages: Stage-0 + +STAGE PLANS: + Stage: Stage-0 + Show Partitions + table: ptestfilter_n1_temp + + Stage: Stage-1 + Fetch Operator + limit: -1 + Processor Tree: + ListSink + +PREHOOK: query: show partitions ptestfilter_n1_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@ptestfilter_n1_temp +POSTHOOK: query: show partitions ptestfilter_n1_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@ptestfilter_n1_temp +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 +PREHOOK: query: alter table ptestfilter_n1_temp drop partition (c>='US', d<='2') +PREHOOK: type: ALTERTABLE_DROPPARTS +PREHOOK: Input: default@ptestfilter_n1_temp +PREHOOK: Output: default@ptestfilter_n1_temp@c=US/d=2 +PREHOOK: Output: default@ptestfilter_n1_temp@c=Uganda/d=2 +POSTHOOK: query: alter table ptestfilter_n1_temp drop partition (c>='US', d<='2') +POSTHOOK: type: ALTERTABLE_DROPPARTS +POSTHOOK: Input: default@ptestfilter_n1_temp +POSTHOOK: Output: default@ptestfilter_n1_temp@c=US/d=2 +POSTHOOK: Output: default@ptestfilter_n1_temp@c=Uganda/d=2 +PREHOOK: query: show partitions ptestfilter_n1_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@ptestfilter_n1_temp +POSTHOOK: query: show partitions ptestfilter_n1_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@ptestfilter_n1_temp +c=Canada/d=3 +c=France/d=4 +c=Germany/d=2 +c=Greece/d=2 +c=India/d=3 +c=Russia/d=3 +PREHOOK: query: alter table ptestfilter_n1_temp drop partition (c >'India') +PREHOOK: type: ALTERTABLE_DROPPARTS +PREHOOK: Input: default@ptestfilter_n1_temp +PREHOOK: Output: default@ptestfilter_n1_temp@c=Russia/d=3 +POSTHOOK: query: alter table ptestfilter_n1_temp drop partition (c >'India') +POSTHOOK: type: ALTERTABLE_DROPPARTS +POSTHOOK: Input: default@ptestfilter_n1_temp +POSTHOOK: Output: default@ptestfilter_n1_temp@c=Russia/d=3 +PREHOOK: query: show partitions ptestfilter_n1_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@ptestfilter_n1_temp +POSTHOOK: query: show partitions ptestfilter_n1_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@ptestfilter_n1_temp +c=Canada/d=3 +c=France/d=4 +c=Germany/d=2 +c=Greece/d=2 +c=India/d=3 +PREHOOK: query: explain alter table ptestfilter_n1_temp drop partition (c >='India'), +partition (c='Greece', d='2') +PREHOOK: type: ALTERTABLE_DROPPARTS +PREHOOK: Input: default@ptestfilter_n1_temp +PREHOOK: Output: default@ptestfilter_n1_temp@c=Greece/d=2 +PREHOOK: Output: default@ptestfilter_n1_temp@c=India/d=3 +POSTHOOK: query: explain alter table ptestfilter_n1_temp drop partition (c >='India'), +partition (c='Greece', d='2') +POSTHOOK: type: ALTERTABLE_DROPPARTS +POSTHOOK: Input: default@ptestfilter_n1_temp +POSTHOOK: Output: default@ptestfilter_n1_temp@c=Greece/d=2 +POSTHOOK: Output: default@ptestfilter_n1_temp@c=India/d=3 +STAGE DEPENDENCIES: + Stage-0 is a root stage + +STAGE PLANS: + Stage: Stage-0 + Drop Partition + table: default.ptestfilter_n1_temp + +PREHOOK: query: alter table ptestfilter_n1_temp drop partition (c >='India'), +partition (c='Greece', d='2') +PREHOOK: type: ALTERTABLE_DROPPARTS +PREHOOK: Input: default@ptestfilter_n1_temp +PREHOOK: Output: default@ptestfilter_n1_temp@c=Greece/d=2 +PREHOOK: Output: default@ptestfilter_n1_temp@c=India/d=3 +POSTHOOK: query: alter table ptestfilter_n1_temp drop partition (c >='India'), +partition (c='Greece', d='2') +POSTHOOK: type: ALTERTABLE_DROPPARTS +POSTHOOK: Input: default@ptestfilter_n1_temp +POSTHOOK: Output: default@ptestfilter_n1_temp@c=Greece/d=2 +POSTHOOK: Output: default@ptestfilter_n1_temp@c=India/d=3 +PREHOOK: query: show partitions ptestfilter_n1_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@ptestfilter_n1_temp +POSTHOOK: query: show partitions ptestfilter_n1_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@ptestfilter_n1_temp +c=Canada/d=3 +c=France/d=4 +c=Germany/d=2 +PREHOOK: query: alter table ptestfilter_n1_temp drop partition (c != 'France') +PREHOOK: type: ALTERTABLE_DROPPARTS +PREHOOK: Input: default@ptestfilter_n1_temp +PREHOOK: Output: default@ptestfilter_n1_temp@c=Canada/d=3 +PREHOOK: Output: default@ptestfilter_n1_temp@c=Germany/d=2 +POSTHOOK: query: alter table ptestfilter_n1_temp drop partition (c != 'France') +POSTHOOK: type: ALTERTABLE_DROPPARTS +POSTHOOK: Input: default@ptestfilter_n1_temp +POSTHOOK: Output: default@ptestfilter_n1_temp@c=Canada/d=3 +POSTHOOK: Output: default@ptestfilter_n1_temp@c=Germany/d=2 +PREHOOK: query: show partitions ptestfilter_n1_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@ptestfilter_n1_temp +POSTHOOK: query: show partitions ptestfilter_n1_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@ptestfilter_n1_temp +c=France/d=4 +PREHOOK: query: drop table ptestfilter_n1_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@ptestfilter_n1_temp +PREHOOK: Output: default@ptestfilter_n1_temp +POSTHOOK: query: drop table ptestfilter_n1_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@ptestfilter_n1_temp +POSTHOOK: Output: default@ptestfilter_n1_temp diff --git a/ql/src/test/results/clientpositive/temp_table_drop_partitions_filter2.q.out b/ql/src/test/results/clientpositive/temp_table_drop_partitions_filter2.q.out new file mode 100644 index 0000000000..1e8bf45da3 --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_drop_partitions_filter2.q.out @@ -0,0 +1,123 @@ +PREHOOK: query: create temporary table ptestfilter_n0_temp (a string, b int) partitioned by (c int, d int) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@ptestfilter_n0_temp +POSTHOOK: query: create temporary table ptestfilter_n0_temp (a string, b int) partitioned by (c int, d int) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@ptestfilter_n0_temp +PREHOOK: query: describe ptestfilter_n0_temp +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@ptestfilter_n0_temp +POSTHOOK: query: describe ptestfilter_n0_temp +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@ptestfilter_n0_temp +a string +b int +c int +d int + +# Partition Information +# col_name data_type comment +c int +d int +PREHOOK: query: alter table ptestfilter_n0_temp add partition (c=1, d=1) +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@ptestfilter_n0_temp +POSTHOOK: query: alter table ptestfilter_n0_temp add partition (c=1, d=1) +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@ptestfilter_n0_temp +POSTHOOK: Output: default@ptestfilter_n0_temp@c=1/d=1 +PREHOOK: query: alter table ptestfilter_n0_temp add partition (c=1, d=2) +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@ptestfilter_n0_temp +POSTHOOK: query: alter table ptestfilter_n0_temp add partition (c=1, d=2) +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@ptestfilter_n0_temp +POSTHOOK: Output: default@ptestfilter_n0_temp@c=1/d=2 +PREHOOK: query: alter table ptestfilter_n0_temp add partition (c=2, d=1) +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@ptestfilter_n0_temp +POSTHOOK: query: alter table ptestfilter_n0_temp add partition (c=2, d=1) +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@ptestfilter_n0_temp +POSTHOOK: Output: default@ptestfilter_n0_temp@c=2/d=1 +PREHOOK: query: alter table ptestfilter_n0_temp add partition (c=2, d=2) +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@ptestfilter_n0_temp +POSTHOOK: query: alter table ptestfilter_n0_temp add partition (c=2, d=2) +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@ptestfilter_n0_temp +POSTHOOK: Output: default@ptestfilter_n0_temp@c=2/d=2 +PREHOOK: query: alter table ptestfilter_n0_temp add partition (c=3, d=1) +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@ptestfilter_n0_temp +POSTHOOK: query: alter table ptestfilter_n0_temp add partition (c=3, d=1) +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@ptestfilter_n0_temp +POSTHOOK: Output: default@ptestfilter_n0_temp@c=3/d=1 +PREHOOK: query: alter table ptestfilter_n0_temp add partition (c=30, d=2) +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@ptestfilter_n0_temp +POSTHOOK: query: alter table ptestfilter_n0_temp add partition (c=30, d=2) +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@ptestfilter_n0_temp +POSTHOOK: Output: default@ptestfilter_n0_temp@c=30/d=2 +PREHOOK: query: show partitions ptestfilter_n0_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@ptestfilter_n0_temp +POSTHOOK: query: show partitions ptestfilter_n0_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@ptestfilter_n0_temp +c=1/d=1 +c=1/d=2 +c=2/d=1 +c=2/d=2 +c=3/d=1 +c=30/d=2 +PREHOOK: query: alter table ptestfilter_n0_temp drop partition (c=1, d=1) +PREHOOK: type: ALTERTABLE_DROPPARTS +PREHOOK: Input: default@ptestfilter_n0_temp +PREHOOK: Output: default@ptestfilter_n0_temp@c=1/d=1 +POSTHOOK: query: alter table ptestfilter_n0_temp drop partition (c=1, d=1) +POSTHOOK: type: ALTERTABLE_DROPPARTS +POSTHOOK: Input: default@ptestfilter_n0_temp +POSTHOOK: Output: default@ptestfilter_n0_temp@c=1/d=1 +PREHOOK: query: show partitions ptestfilter_n0_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@ptestfilter_n0_temp +POSTHOOK: query: show partitions ptestfilter_n0_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@ptestfilter_n0_temp +c=1/d=2 +c=2/d=1 +c=2/d=2 +c=3/d=1 +c=30/d=2 +PREHOOK: query: alter table ptestfilter_n0_temp drop partition (c=2) +PREHOOK: type: ALTERTABLE_DROPPARTS +PREHOOK: Input: default@ptestfilter_n0_temp +PREHOOK: Output: default@ptestfilter_n0_temp@c=2/d=1 +PREHOOK: Output: default@ptestfilter_n0_temp@c=2/d=2 +POSTHOOK: query: alter table ptestfilter_n0_temp drop partition (c=2) +POSTHOOK: type: ALTERTABLE_DROPPARTS +POSTHOOK: Input: default@ptestfilter_n0_temp +POSTHOOK: Output: default@ptestfilter_n0_temp@c=2/d=1 +POSTHOOK: Output: default@ptestfilter_n0_temp@c=2/d=2 +PREHOOK: query: show partitions ptestfilter_n0_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@ptestfilter_n0_temp +POSTHOOK: query: show partitions ptestfilter_n0_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@ptestfilter_n0_temp +c=1/d=2 +c=3/d=1 +c=30/d=2 +PREHOOK: query: drop table ptestfilter_n0_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@ptestfilter_n0_temp +PREHOOK: Output: default@ptestfilter_n0_temp +POSTHOOK: query: drop table ptestfilter_n0_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@ptestfilter_n0_temp +POSTHOOK: Output: default@ptestfilter_n0_temp diff --git a/ql/src/test/results/clientpositive/temp_table_drop_partitions_filter3.q.out b/ql/src/test/results/clientpositive/temp_table_drop_partitions_filter3.q.out new file mode 100644 index 0000000000..dd3b452c63 --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_drop_partitions_filter3.q.out @@ -0,0 +1,123 @@ +PREHOOK: query: create temporary table ptestfilter_n3_temp (a string, b int) partitioned by (c string, d int) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@ptestfilter_n3_temp +POSTHOOK: query: create temporary table ptestfilter_n3_temp (a string, b int) partitioned by (c string, d int) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@ptestfilter_n3_temp +PREHOOK: query: describe ptestfilter_n3_temp +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@ptestfilter_n3_temp +POSTHOOK: query: describe ptestfilter_n3_temp +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@ptestfilter_n3_temp +a string +b int +c string +d int + +# Partition Information +# col_name data_type comment +c string +d int +PREHOOK: query: alter table ptestfilter_n3_temp add partition (c='1', d=1) +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@ptestfilter_n3_temp +POSTHOOK: query: alter table ptestfilter_n3_temp add partition (c='1', d=1) +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@ptestfilter_n3_temp +POSTHOOK: Output: default@ptestfilter_n3_temp@c=1/d=1 +PREHOOK: query: alter table ptestfilter_n3_temp add partition (c='1', d=2) +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@ptestfilter_n3_temp +POSTHOOK: query: alter table ptestfilter_n3_temp add partition (c='1', d=2) +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@ptestfilter_n3_temp +POSTHOOK: Output: default@ptestfilter_n3_temp@c=1/d=2 +PREHOOK: query: alter table ptestfilter_n3_temp add partition (c='2', d=1) +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@ptestfilter_n3_temp +POSTHOOK: query: alter table ptestfilter_n3_temp add partition (c='2', d=1) +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@ptestfilter_n3_temp +POSTHOOK: Output: default@ptestfilter_n3_temp@c=2/d=1 +PREHOOK: query: alter table ptestfilter_n3_temp add partition (c='2', d=2) +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@ptestfilter_n3_temp +POSTHOOK: query: alter table ptestfilter_n3_temp add partition (c='2', d=2) +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@ptestfilter_n3_temp +POSTHOOK: Output: default@ptestfilter_n3_temp@c=2/d=2 +PREHOOK: query: alter table ptestfilter_n3_temp add partition (c='3', d=1) +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@ptestfilter_n3_temp +POSTHOOK: query: alter table ptestfilter_n3_temp add partition (c='3', d=1) +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@ptestfilter_n3_temp +POSTHOOK: Output: default@ptestfilter_n3_temp@c=3/d=1 +PREHOOK: query: alter table ptestfilter_n3_temp add partition (c='3', d=2) +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@ptestfilter_n3_temp +POSTHOOK: query: alter table ptestfilter_n3_temp add partition (c='3', d=2) +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@ptestfilter_n3_temp +POSTHOOK: Output: default@ptestfilter_n3_temp@c=3/d=2 +PREHOOK: query: show partitions ptestfilter_n3_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@ptestfilter_n3_temp +POSTHOOK: query: show partitions ptestfilter_n3_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@ptestfilter_n3_temp +c=1/d=1 +c=1/d=2 +c=2/d=1 +c=2/d=2 +c=3/d=1 +c=3/d=2 +PREHOOK: query: alter table ptestfilter_n3_temp drop partition (c='1', d=1) +PREHOOK: type: ALTERTABLE_DROPPARTS +PREHOOK: Input: default@ptestfilter_n3_temp +PREHOOK: Output: default@ptestfilter_n3_temp@c=1/d=1 +POSTHOOK: query: alter table ptestfilter_n3_temp drop partition (c='1', d=1) +POSTHOOK: type: ALTERTABLE_DROPPARTS +POSTHOOK: Input: default@ptestfilter_n3_temp +POSTHOOK: Output: default@ptestfilter_n3_temp@c=1/d=1 +PREHOOK: query: show partitions ptestfilter_n3_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@ptestfilter_n3_temp +POSTHOOK: query: show partitions ptestfilter_n3_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@ptestfilter_n3_temp +c=1/d=2 +c=2/d=1 +c=2/d=2 +c=3/d=1 +c=3/d=2 +PREHOOK: query: alter table ptestfilter_n3_temp drop partition (c='2') +PREHOOK: type: ALTERTABLE_DROPPARTS +PREHOOK: Input: default@ptestfilter_n3_temp +PREHOOK: Output: default@ptestfilter_n3_temp@c=2/d=1 +PREHOOK: Output: default@ptestfilter_n3_temp@c=2/d=2 +POSTHOOK: query: alter table ptestfilter_n3_temp drop partition (c='2') +POSTHOOK: type: ALTERTABLE_DROPPARTS +POSTHOOK: Input: default@ptestfilter_n3_temp +POSTHOOK: Output: default@ptestfilter_n3_temp@c=2/d=1 +POSTHOOK: Output: default@ptestfilter_n3_temp@c=2/d=2 +PREHOOK: query: show partitions ptestfilter_n3_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@ptestfilter_n3_temp +POSTHOOK: query: show partitions ptestfilter_n3_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@ptestfilter_n3_temp +c=1/d=2 +c=3/d=1 +c=3/d=2 +PREHOOK: query: drop table ptestfilter_n3_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@ptestfilter_n3_temp +PREHOOK: Output: default@ptestfilter_n3_temp +POSTHOOK: query: drop table ptestfilter_n3_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@ptestfilter_n3_temp +POSTHOOK: Output: default@ptestfilter_n3_temp diff --git a/ql/src/test/results/clientpositive/temp_table_drop_partitions_filter4.q.out b/ql/src/test/results/clientpositive/temp_table_drop_partitions_filter4.q.out new file mode 100644 index 0000000000..3f2a7cc56c --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_drop_partitions_filter4.q.out @@ -0,0 +1,224 @@ +PREHOOK: query: create temporary table ptestfilter_n2_temp (a string, b int) partitioned by (c string) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: query: create temporary table ptestfilter_n2_temp (a string, b int) partitioned by (c string) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@ptestfilter_n2_temp +PREHOOK: query: INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c) select 'Col1', 1, null +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: query: INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c) select 'Col1', 1, null +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@ptestfilter_n2_temp@c=__HIVE_DEFAULT_PARTITION__ +POSTHOOK: Lineage: ptestfilter_n2_temp PARTITION(c=__HIVE_DEFAULT_PARTITION__).a SIMPLE [] +POSTHOOK: Lineage: ptestfilter_n2_temp PARTITION(c=__HIVE_DEFAULT_PARTITION__).b SIMPLE [] +PREHOOK: query: alter table ptestfilter_n2_temp add partition (c=3) +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: query: alter table ptestfilter_n2_temp add partition (c=3) +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: Output: default@ptestfilter_n2_temp@c=3 +PREHOOK: query: alter table ptestfilter_n2_temp add partition (c=5) +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: query: alter table ptestfilter_n2_temp add partition (c=5) +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: Output: default@ptestfilter_n2_temp@c=5 +PREHOOK: query: show partitions ptestfilter_n2_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: query: show partitions ptestfilter_n2_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@ptestfilter_n2_temp +c=__HIVE_DEFAULT_PARTITION__ +c=3 +c=5 +PREHOOK: query: alter table ptestfilter_n2_temp drop partition(c = 3) +PREHOOK: type: ALTERTABLE_DROPPARTS +PREHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: query: alter table ptestfilter_n2_temp drop partition(c = 3) +POSTHOOK: type: ALTERTABLE_DROPPARTS +POSTHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: Output: default@ptestfilter_n2_temp@c=3 +PREHOOK: query: show partitions ptestfilter_n2_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: query: show partitions ptestfilter_n2_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@ptestfilter_n2_temp +c=__HIVE_DEFAULT_PARTITION__ +c=5 +PREHOOK: query: INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c) select 'Col1', 1, null +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: query: INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c) select 'Col1', 1, null +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@ptestfilter_n2_temp@c=__HIVE_DEFAULT_PARTITION__ +POSTHOOK: Lineage: ptestfilter_n2_temp PARTITION(c=__HIVE_DEFAULT_PARTITION__).a SIMPLE [] +POSTHOOK: Lineage: ptestfilter_n2_temp PARTITION(c=__HIVE_DEFAULT_PARTITION__).b SIMPLE [] +PREHOOK: query: alter table ptestfilter_n2_temp drop partition(c != '__HIVE_DEFAULT_PARTITION__') +PREHOOK: type: ALTERTABLE_DROPPARTS +PREHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: query: alter table ptestfilter_n2_temp drop partition(c != '__HIVE_DEFAULT_PARTITION__') +POSTHOOK: type: ALTERTABLE_DROPPARTS +POSTHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: Output: default@ptestfilter_n2_temp@c=5 +PREHOOK: query: show partitions ptestfilter_n2_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: query: show partitions ptestfilter_n2_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@ptestfilter_n2_temp +c=__HIVE_DEFAULT_PARTITION__ +PREHOOK: query: drop table ptestfilter_n2_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@ptestfilter_n2_temp +PREHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: query: drop table ptestfilter_n2_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: Output: default@ptestfilter_n2_temp +PREHOOK: query: create temporary table ptestfilter_n2_temp (a string, b int) partitioned by (c string, d int) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: query: create temporary table ptestfilter_n2_temp (a string, b int) partitioned by (c string, d int) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@ptestfilter_n2_temp +PREHOOK: query: INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c,d) select 'Col1', 1, null, null +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: query: INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c,d) select 'Col1', 1, null, null +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@ptestfilter_n2_temp@c=__HIVE_DEFAULT_PARTITION__/d=__HIVE_DEFAULT_PARTITION__ +POSTHOOK: Lineage: ptestfilter_n2_temp PARTITION(c=__HIVE_DEFAULT_PARTITION__,d=__HIVE_DEFAULT_PARTITION__).a SIMPLE [] +POSTHOOK: Lineage: ptestfilter_n2_temp PARTITION(c=__HIVE_DEFAULT_PARTITION__,d=__HIVE_DEFAULT_PARTITION__).b SIMPLE [] +PREHOOK: query: INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c,d) select 'Col2', 2, null, 2 +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: query: INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c,d) select 'Col2', 2, null, 2 +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@ptestfilter_n2_temp@c=__HIVE_DEFAULT_PARTITION__/d=2 +POSTHOOK: Lineage: ptestfilter_n2_temp PARTITION(c=__HIVE_DEFAULT_PARTITION__,d=2).a SIMPLE [] +POSTHOOK: Lineage: ptestfilter_n2_temp PARTITION(c=__HIVE_DEFAULT_PARTITION__,d=2).b SIMPLE [] +PREHOOK: query: INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c,d) select 'Col3', 3, 'Uganda', null +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: query: INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c,d) select 'Col3', 3, 'Uganda', null +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@ptestfilter_n2_temp@c=Uganda/d=__HIVE_DEFAULT_PARTITION__ +POSTHOOK: Lineage: ptestfilter_n2_temp PARTITION(c=Uganda,d=__HIVE_DEFAULT_PARTITION__).a SIMPLE [] +POSTHOOK: Lineage: ptestfilter_n2_temp PARTITION(c=Uganda,d=__HIVE_DEFAULT_PARTITION__).b SIMPLE [] +PREHOOK: query: alter table ptestfilter_n2_temp add partition (c='Germany', d=2) +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: query: alter table ptestfilter_n2_temp add partition (c='Germany', d=2) +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: Output: default@ptestfilter_n2_temp@c=Germany/d=2 +PREHOOK: query: show partitions ptestfilter_n2_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: query: show partitions ptestfilter_n2_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@ptestfilter_n2_temp +c=__HIVE_DEFAULT_PARTITION__/d=__HIVE_DEFAULT_PARTITION__ +c=__HIVE_DEFAULT_PARTITION__/d=2 +c=Uganda/d=__HIVE_DEFAULT_PARTITION__ +c=Germany/d=2 +PREHOOK: query: alter table ptestfilter_n2_temp drop partition (c='__HIVE_DEFAULT_PARTITION__') +PREHOOK: type: ALTERTABLE_DROPPARTS +PREHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: query: alter table ptestfilter_n2_temp drop partition (c='__HIVE_DEFAULT_PARTITION__') +POSTHOOK: type: ALTERTABLE_DROPPARTS +POSTHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: Output: default@ptestfilter_n2_temp@c=__HIVE_DEFAULT_PARTITION__/d=2 +POSTHOOK: Output: default@ptestfilter_n2_temp@c=__HIVE_DEFAULT_PARTITION__/d=__HIVE_DEFAULT_PARTITION__ +PREHOOK: query: alter table ptestfilter_n2_temp drop partition (c='Uganda', d='__HIVE_DEFAULT_PARTITION__') +PREHOOK: type: ALTERTABLE_DROPPARTS +PREHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: query: alter table ptestfilter_n2_temp drop partition (c='Uganda', d='__HIVE_DEFAULT_PARTITION__') +POSTHOOK: type: ALTERTABLE_DROPPARTS +POSTHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: Output: default@ptestfilter_n2_temp@c=Uganda/d=__HIVE_DEFAULT_PARTITION__ +PREHOOK: query: alter table ptestfilter_n2_temp drop partition (c='Germany', d=2) +PREHOOK: type: ALTERTABLE_DROPPARTS +PREHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: query: alter table ptestfilter_n2_temp drop partition (c='Germany', d=2) +POSTHOOK: type: ALTERTABLE_DROPPARTS +POSTHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: Output: default@ptestfilter_n2_temp@c=Germany/d=2 +PREHOOK: query: show partitions ptestfilter_n2_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: query: show partitions ptestfilter_n2_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@ptestfilter_n2_temp +PREHOOK: query: INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c,d) select 'Col2', 2, null, 2 +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: query: INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c,d) select 'Col2', 2, null, 2 +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@ptestfilter_n2_temp@c=__HIVE_DEFAULT_PARTITION__/d=2 +POSTHOOK: Lineage: ptestfilter_n2_temp PARTITION(c=__HIVE_DEFAULT_PARTITION__,d=2).a SIMPLE [] +POSTHOOK: Lineage: ptestfilter_n2_temp PARTITION(c=__HIVE_DEFAULT_PARTITION__,d=2).b SIMPLE [] +PREHOOK: query: INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c,d) select 'Col2', 2, null, 3 +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: query: INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c,d) select 'Col2', 2, null, 3 +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@ptestfilter_n2_temp@c=__HIVE_DEFAULT_PARTITION__/d=3 +POSTHOOK: Lineage: ptestfilter_n2_temp PARTITION(c=__HIVE_DEFAULT_PARTITION__,d=3).a SIMPLE [] +POSTHOOK: Lineage: ptestfilter_n2_temp PARTITION(c=__HIVE_DEFAULT_PARTITION__,d=3).b SIMPLE [] +PREHOOK: query: INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c,d) select 'Col3', 3, 'Uganda', null +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: query: INSERT OVERWRITE TABLE ptestfilter_n2_temp PARTITION (c,d) select 'Col3', 3, 'Uganda', null +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@ptestfilter_n2_temp@c=Uganda/d=__HIVE_DEFAULT_PARTITION__ +POSTHOOK: Lineage: ptestfilter_n2_temp PARTITION(c=Uganda,d=__HIVE_DEFAULT_PARTITION__).a SIMPLE [] +POSTHOOK: Lineage: ptestfilter_n2_temp PARTITION(c=Uganda,d=__HIVE_DEFAULT_PARTITION__).b SIMPLE [] +PREHOOK: query: alter table ptestfilter_n2_temp drop partition (d != 3) +PREHOOK: type: ALTERTABLE_DROPPARTS +PREHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: query: alter table ptestfilter_n2_temp drop partition (d != 3) +POSTHOOK: type: ALTERTABLE_DROPPARTS +POSTHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: Output: default@ptestfilter_n2_temp@c=Uganda/d=__HIVE_DEFAULT_PARTITION__ +POSTHOOK: Output: default@ptestfilter_n2_temp@c=__HIVE_DEFAULT_PARTITION__/d=2 +PREHOOK: query: show partitions ptestfilter_n2_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: query: show partitions ptestfilter_n2_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@ptestfilter_n2_temp +c=__HIVE_DEFAULT_PARTITION__/d=3 +PREHOOK: query: drop table ptestfilter_n2_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@ptestfilter_n2_temp +PREHOOK: Output: default@ptestfilter_n2_temp +POSTHOOK: query: drop table ptestfilter_n2_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@ptestfilter_n2_temp +POSTHOOK: Output: default@ptestfilter_n2_temp diff --git a/ql/src/test/results/clientpositive/temp_table_exchange_partition.q.out b/ql/src/test/results/clientpositive/temp_table_exchange_partition.q.out new file mode 100644 index 0000000000..5cfc57b82f --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_exchange_partition.q.out @@ -0,0 +1,84 @@ +PREHOOK: query: create database ex1 +PREHOOK: type: CREATEDATABASE +PREHOOK: Output: database:ex1 +POSTHOOK: query: create database ex1 +POSTHOOK: type: CREATEDATABASE +POSTHOOK: Output: database:ex1 +PREHOOK: query: create database ex2 +PREHOOK: type: CREATEDATABASE +PREHOOK: Output: database:ex2 +POSTHOOK: query: create database ex2 +POSTHOOK: type: CREATEDATABASE +POSTHOOK: Output: database:ex2 +PREHOOK: query: CREATE TEMPORARY TABLE ex1.exchange_part_test1 (f1 string) PARTITIONED BY (ds STRING) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:ex1 +PREHOOK: Output: ex1@exchange_part_test1 +POSTHOOK: query: CREATE TEMPORARY TABLE ex1.exchange_part_test1 (f1 string) PARTITIONED BY (ds STRING) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:ex1 +POSTHOOK: Output: ex1@exchange_part_test1 +PREHOOK: query: CREATE TEMPORARY TABLE ex2.exchange_part_test2 (f1 string) PARTITIONED BY (ds STRING) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:ex2 +PREHOOK: Output: ex2@exchange_part_test2 +POSTHOOK: query: CREATE TEMPORARY TABLE ex2.exchange_part_test2 (f1 string) PARTITIONED BY (ds STRING) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:ex2 +POSTHOOK: Output: ex2@exchange_part_test2 +PREHOOK: query: SHOW PARTITIONS ex1.exchange_part_test1 +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: ex1@exchange_part_test1 +POSTHOOK: query: SHOW PARTITIONS ex1.exchange_part_test1 +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: ex1@exchange_part_test1 +PREHOOK: query: SHOW PARTITIONS ex2.exchange_part_test2 +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: ex2@exchange_part_test2 +POSTHOOK: query: SHOW PARTITIONS ex2.exchange_part_test2 +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: ex2@exchange_part_test2 +PREHOOK: query: ALTER TABLE ex2.exchange_part_test2 ADD PARTITION (ds='2013-04-05') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: ex2@exchange_part_test2 +POSTHOOK: query: ALTER TABLE ex2.exchange_part_test2 ADD PARTITION (ds='2013-04-05') +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: ex2@exchange_part_test2 +POSTHOOK: Output: ex2@exchange_part_test2@ds=2013-04-05 +PREHOOK: query: SHOW PARTITIONS ex1.exchange_part_test1 +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: ex1@exchange_part_test1 +POSTHOOK: query: SHOW PARTITIONS ex1.exchange_part_test1 +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: ex1@exchange_part_test1 +PREHOOK: query: SHOW PARTITIONS ex2.exchange_part_test2 +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: ex2@exchange_part_test2 +POSTHOOK: query: SHOW PARTITIONS ex2.exchange_part_test2 +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: ex2@exchange_part_test2 +ds=2013-04-05 +PREHOOK: query: ALTER TABLE ex1.exchange_part_test1 EXCHANGE PARTITION (ds='2013-04-05') WITH TABLE ex2.exchange_part_test2 +PREHOOK: type: ALTERTABLE_EXCHANGEPARTITION +PREHOOK: Input: ex2@exchange_part_test2 +PREHOOK: Output: ex1@exchange_part_test1 +POSTHOOK: query: ALTER TABLE ex1.exchange_part_test1 EXCHANGE PARTITION (ds='2013-04-05') WITH TABLE ex2.exchange_part_test2 +POSTHOOK: type: ALTERTABLE_EXCHANGEPARTITION +POSTHOOK: Input: ex2@exchange_part_test2 +POSTHOOK: Input: ex2@exchange_part_test2@ds=2013-04-05 +POSTHOOK: Output: ex1@exchange_part_test1 +POSTHOOK: Output: ex1@exchange_part_test1@ds=2013-04-05 +POSTHOOK: Output: ex2@exchange_part_test2@ds=2013-04-05 +PREHOOK: query: SHOW PARTITIONS ex1.exchange_part_test1 +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: ex1@exchange_part_test1 +POSTHOOK: query: SHOW PARTITIONS ex1.exchange_part_test1 +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: ex1@exchange_part_test1 +ds=2013-04-05 +PREHOOK: query: SHOW PARTITIONS ex2.exchange_part_test2 +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: ex2@exchange_part_test2 +POSTHOOK: query: SHOW PARTITIONS ex2.exchange_part_test2 +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: ex2@exchange_part_test2 diff --git a/ql/src/test/results/clientpositive/temp_table_exchange_partition2.q.out b/ql/src/test/results/clientpositive/temp_table_exchange_partition2.q.out new file mode 100644 index 0000000000..67f53f7a1f --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_exchange_partition2.q.out @@ -0,0 +1,72 @@ +PREHOOK: query: CREATE TEMPORARY TABLE exchange_part_test1 (f1 string) PARTITIONED BY (ds STRING, hr STRING) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@exchange_part_test1 +POSTHOOK: query: CREATE TEMPORARY TABLE exchange_part_test1 (f1 string) PARTITIONED BY (ds STRING, hr STRING) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@exchange_part_test1 +PREHOOK: query: CREATE TEMPORARY TABLE exchange_part_test2 (f1 string) PARTITIONED BY (ds STRING, hr STRING) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@exchange_part_test2 +POSTHOOK: query: CREATE TEMPORARY TABLE exchange_part_test2 (f1 string) PARTITIONED BY (ds STRING, hr STRING) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@exchange_part_test2 +PREHOOK: query: SHOW PARTITIONS exchange_part_test1 +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@exchange_part_test1 +POSTHOOK: query: SHOW PARTITIONS exchange_part_test1 +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@exchange_part_test1 +PREHOOK: query: SHOW PARTITIONS exchange_part_test2 +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@exchange_part_test2 +POSTHOOK: query: SHOW PARTITIONS exchange_part_test2 +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@exchange_part_test2 +PREHOOK: query: ALTER TABLE exchange_part_test2 ADD PARTITION (ds='2013-04-05', hr='1') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@exchange_part_test2 +POSTHOOK: query: ALTER TABLE exchange_part_test2 ADD PARTITION (ds='2013-04-05', hr='1') +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@exchange_part_test2 +POSTHOOK: Output: default@exchange_part_test2@ds=2013-04-05/hr=1 +PREHOOK: query: SHOW PARTITIONS exchange_part_test1 +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@exchange_part_test1 +POSTHOOK: query: SHOW PARTITIONS exchange_part_test1 +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@exchange_part_test1 +PREHOOK: query: SHOW PARTITIONS exchange_part_test2 +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@exchange_part_test2 +POSTHOOK: query: SHOW PARTITIONS exchange_part_test2 +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@exchange_part_test2 +ds=2013-04-05/hr=1 +PREHOOK: query: ALTER TABLE exchange_part_test1 EXCHANGE PARTITION (ds='2013-04-05', hr='1') WITH TABLE exchange_part_test2 +PREHOOK: type: ALTERTABLE_EXCHANGEPARTITION +PREHOOK: Input: default@exchange_part_test2 +PREHOOK: Output: default@exchange_part_test1 +POSTHOOK: query: ALTER TABLE exchange_part_test1 EXCHANGE PARTITION (ds='2013-04-05', hr='1') WITH TABLE exchange_part_test2 +POSTHOOK: type: ALTERTABLE_EXCHANGEPARTITION +POSTHOOK: Input: default@exchange_part_test2 +POSTHOOK: Input: default@exchange_part_test2@ds=2013-04-05/hr=1 +POSTHOOK: Output: default@exchange_part_test1 +POSTHOOK: Output: default@exchange_part_test1@ds=2013-04-05/hr=1 +POSTHOOK: Output: default@exchange_part_test2@ds=2013-04-05/hr=1 +PREHOOK: query: SHOW PARTITIONS exchange_part_test1 +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@exchange_part_test1 +POSTHOOK: query: SHOW PARTITIONS exchange_part_test1 +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@exchange_part_test1 +ds=2013-04-05/hr=1 +PREHOOK: query: SHOW PARTITIONS exchange_part_test2 +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@exchange_part_test2 +POSTHOOK: query: SHOW PARTITIONS exchange_part_test2 +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@exchange_part_test2 diff --git a/ql/src/test/results/clientpositive/temp_table_exchange_partition3.q.out b/ql/src/test/results/clientpositive/temp_table_exchange_partition3.q.out new file mode 100644 index 0000000000..f816162bca --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_exchange_partition3.q.out @@ -0,0 +1,93 @@ +PREHOOK: query: CREATE TEMPORARY TABLE exchange_part_test1_n0 (f1 string) PARTITIONED BY (ds STRING, hr STRING) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@exchange_part_test1_n0 +POSTHOOK: query: CREATE TEMPORARY TABLE exchange_part_test1_n0 (f1 string) PARTITIONED BY (ds STRING, hr STRING) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@exchange_part_test1_n0 +PREHOOK: query: CREATE TEMPORARY TABLE exchange_part_test2_n0 (f1 string) PARTITIONED BY (ds STRING, hr STRING) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@exchange_part_test2_n0 +POSTHOOK: query: CREATE TEMPORARY TABLE exchange_part_test2_n0 (f1 string) PARTITIONED BY (ds STRING, hr STRING) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@exchange_part_test2_n0 +PREHOOK: query: SHOW PARTITIONS exchange_part_test1_n0 +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@exchange_part_test1_n0 +POSTHOOK: query: SHOW PARTITIONS exchange_part_test1_n0 +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@exchange_part_test1_n0 +PREHOOK: query: SHOW PARTITIONS exchange_part_test2_n0 +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@exchange_part_test2_n0 +POSTHOOK: query: SHOW PARTITIONS exchange_part_test2_n0 +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@exchange_part_test2_n0 +PREHOOK: query: ALTER TABLE exchange_part_test1_n0 ADD PARTITION (ds='2014-01-03', hr='1') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@exchange_part_test1_n0 +POSTHOOK: query: ALTER TABLE exchange_part_test1_n0 ADD PARTITION (ds='2014-01-03', hr='1') +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@exchange_part_test1_n0 +POSTHOOK: Output: default@exchange_part_test1_n0@ds=2014-01-03/hr=1 +PREHOOK: query: ALTER TABLE exchange_part_test2_n0 ADD PARTITION (ds='2013-04-05', hr='1') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@exchange_part_test2_n0 +POSTHOOK: query: ALTER TABLE exchange_part_test2_n0 ADD PARTITION (ds='2013-04-05', hr='1') +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@exchange_part_test2_n0 +POSTHOOK: Output: default@exchange_part_test2_n0@ds=2013-04-05/hr=1 +PREHOOK: query: ALTER TABLE exchange_part_test2_n0 ADD PARTITION (ds='2013-04-05', hr='2') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@exchange_part_test2_n0 +POSTHOOK: query: ALTER TABLE exchange_part_test2_n0 ADD PARTITION (ds='2013-04-05', hr='2') +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@exchange_part_test2_n0 +POSTHOOK: Output: default@exchange_part_test2_n0@ds=2013-04-05/hr=2 +PREHOOK: query: SHOW PARTITIONS exchange_part_test1_n0 +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@exchange_part_test1_n0 +POSTHOOK: query: SHOW PARTITIONS exchange_part_test1_n0 +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@exchange_part_test1_n0 +ds=2014-01-03/hr=1 +PREHOOK: query: SHOW PARTITIONS exchange_part_test2_n0 +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@exchange_part_test2_n0 +POSTHOOK: query: SHOW PARTITIONS exchange_part_test2_n0 +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@exchange_part_test2_n0 +ds=2013-04-05/hr=1 +ds=2013-04-05/hr=2 +PREHOOK: query: ALTER TABLE exchange_part_test1_n0 EXCHANGE PARTITION (ds='2013-04-05') WITH TABLE exchange_part_test2_n0 +PREHOOK: type: ALTERTABLE_EXCHANGEPARTITION +PREHOOK: Input: default@exchange_part_test2_n0 +PREHOOK: Output: default@exchange_part_test1_n0 +POSTHOOK: query: ALTER TABLE exchange_part_test1_n0 EXCHANGE PARTITION (ds='2013-04-05') WITH TABLE exchange_part_test2_n0 +POSTHOOK: type: ALTERTABLE_EXCHANGEPARTITION +POSTHOOK: Input: default@exchange_part_test2_n0 +POSTHOOK: Input: default@exchange_part_test2_n0@ds=2013-04-05/hr=1 +POSTHOOK: Input: default@exchange_part_test2_n0@ds=2013-04-05/hr=2 +POSTHOOK: Output: default@exchange_part_test1_n0 +POSTHOOK: Output: default@exchange_part_test1_n0@ds=2013-04-05/hr=1 +POSTHOOK: Output: default@exchange_part_test1_n0@ds=2013-04-05/hr=2 +POSTHOOK: Output: default@exchange_part_test2_n0@ds=2013-04-05/hr=1 +POSTHOOK: Output: default@exchange_part_test2_n0@ds=2013-04-05/hr=2 +PREHOOK: query: SHOW PARTITIONS exchange_part_test1_n0 +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@exchange_part_test1_n0 +POSTHOOK: query: SHOW PARTITIONS exchange_part_test1_n0 +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@exchange_part_test1_n0 +ds=2013-04-05/hr=1 +ds=2013-04-05/hr=2 +ds=2014-01-03/hr=1 +PREHOOK: query: SHOW PARTITIONS exchange_part_test2_n0 +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@exchange_part_test2_n0 +POSTHOOK: query: SHOW PARTITIONS exchange_part_test2_n0 +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@exchange_part_test2_n0 diff --git a/ql/src/test/results/clientpositive/temp_table_exchgpartition2lel.q.out b/ql/src/test/results/clientpositive/temp_table_exchgpartition2lel.q.out new file mode 100644 index 0000000000..865601f403 --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_exchgpartition2lel.q.out @@ -0,0 +1,222 @@ +PREHOOK: query: DROP TABLE IF EXISTS t1_n72_temp +PREHOOK: type: DROPTABLE +POSTHOOK: query: DROP TABLE IF EXISTS t1_n72_temp +POSTHOOK: type: DROPTABLE +PREHOOK: query: DROP TABLE IF EXISTS t2_n44_temp +PREHOOK: type: DROPTABLE +POSTHOOK: query: DROP TABLE IF EXISTS t2_n44_temp +POSTHOOK: type: DROPTABLE +PREHOOK: query: DROP TABLE IF EXISTS t3_n15_temp +PREHOOK: type: DROPTABLE +POSTHOOK: query: DROP TABLE IF EXISTS t3_n15_temp +POSTHOOK: type: DROPTABLE +PREHOOK: query: DROP TABLE IF EXISTS t4_n7_temp +PREHOOK: type: DROPTABLE +POSTHOOK: query: DROP TABLE IF EXISTS t4_n7_temp +POSTHOOK: type: DROPTABLE +PREHOOK: query: CREATE TEMPORARY TABLE t1_n72_temp (a int) PARTITIONED BY (d1 int) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@t1_n72_temp +POSTHOOK: query: CREATE TEMPORARY TABLE t1_n72_temp (a int) PARTITIONED BY (d1 int) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@t1_n72_temp +PREHOOK: query: CREATE TEMPORARY TABLE t2_n44_temp (a int) PARTITIONED BY (d1 int) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@t2_n44_temp +POSTHOOK: query: CREATE TEMPORARY TABLE t2_n44_temp (a int) PARTITIONED BY (d1 int) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@t2_n44_temp +PREHOOK: query: CREATE TEMPORARY TABLE t3_n15_temp (a int) PARTITIONED BY (d1 int, d2 int) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@t3_n15_temp +POSTHOOK: query: CREATE TEMPORARY TABLE t3_n15_temp (a int) PARTITIONED BY (d1 int, d2 int) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@t3_n15_temp +PREHOOK: query: CREATE TEMPORARY TABLE t4_n7_temp (a int) PARTITIONED BY (d1 int, d2 int) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@t4_n7_temp +POSTHOOK: query: CREATE TEMPORARY TABLE t4_n7_temp (a int) PARTITIONED BY (d1 int, d2 int) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@t4_n7_temp +PREHOOK: query: CREATE TEMPORARY TABLE t5_n3_temp (a int) PARTITIONED BY (d1 int, d2 int, d3 int) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@t5_n3_temp +POSTHOOK: query: CREATE TEMPORARY TABLE t5_n3_temp (a int) PARTITIONED BY (d1 int, d2 int, d3 int) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@t5_n3_temp +PREHOOK: query: CREATE TEMPORARY TABLE t6_n2_temp (a int) PARTITIONED BY (d1 int, d2 int, d3 int) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@t6_n2_temp +POSTHOOK: query: CREATE TEMPORARY TABLE t6_n2_temp (a int) PARTITIONED BY (d1 int, d2 int, d3 int) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@t6_n2_temp +PREHOOK: query: INSERT OVERWRITE TABLE t1_n72_temp PARTITION (d1 = 1) SELECT key FROM src where key = 100 limit 1 +PREHOOK: type: QUERY +PREHOOK: Input: default@src +PREHOOK: Output: default@t1_n72_temp@d1=1 +POSTHOOK: query: INSERT OVERWRITE TABLE t1_n72_temp PARTITION (d1 = 1) SELECT key FROM src where key = 100 limit 1 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src +POSTHOOK: Output: default@t1_n72_temp@d1=1 +POSTHOOK: Lineage: t1_n72_temp PARTITION(d1=1).a EXPRESSION [(src)src.FieldSchema(name:key, type:string, comment:default), ] +PREHOOK: query: INSERT OVERWRITE TABLE t3_n15_temp PARTITION (d1 = 1, d2 = 1) SELECT key FROM src where key = 100 limit 1 +PREHOOK: type: QUERY +PREHOOK: Input: default@src +PREHOOK: Output: default@t3_n15_temp@d1=1/d2=1 +POSTHOOK: query: INSERT OVERWRITE TABLE t3_n15_temp PARTITION (d1 = 1, d2 = 1) SELECT key FROM src where key = 100 limit 1 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src +POSTHOOK: Output: default@t3_n15_temp@d1=1/d2=1 +POSTHOOK: Lineage: t3_n15_temp PARTITION(d1=1,d2=1).a EXPRESSION [(src)src.FieldSchema(name:key, type:string, comment:default), ] +PREHOOK: query: INSERT OVERWRITE TABLE t5_n3_temp PARTITION (d1 = 1, d2 = 1, d3=1) SELECT key FROM src where key = 100 limit 1 +PREHOOK: type: QUERY +PREHOOK: Input: default@src +PREHOOK: Output: default@t5_n3_temp@d1=1/d2=1/d3=1 +POSTHOOK: query: INSERT OVERWRITE TABLE t5_n3_temp PARTITION (d1 = 1, d2 = 1, d3=1) SELECT key FROM src where key = 100 limit 1 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src +POSTHOOK: Output: default@t5_n3_temp@d1=1/d2=1/d3=1 +POSTHOOK: Lineage: t5_n3_temp PARTITION(d1=1,d2=1,d3=1).a EXPRESSION [(src)src.FieldSchema(name:key, type:string, comment:default), ] +PREHOOK: query: SELECT * FROM t1_n72_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@t1_n72_temp +PREHOOK: Input: default@t1_n72_temp@d1=1 +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM t1_n72_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@t1_n72_temp +POSTHOOK: Input: default@t1_n72_temp@d1=1 +#### A masked pattern was here #### +100 1 +PREHOOK: query: SELECT * FROM t3_n15_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@t3_n15_temp +PREHOOK: Input: default@t3_n15_temp@d1=1/d2=1 +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM t3_n15_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@t3_n15_temp +POSTHOOK: Input: default@t3_n15_temp@d1=1/d2=1 +#### A masked pattern was here #### +100 1 1 +PREHOOK: query: ALTER TABLE t2_n44_temp EXCHANGE PARTITION (d1 = 1) WITH TABLE t1_n72_temp +PREHOOK: type: ALTERTABLE_EXCHANGEPARTITION +PREHOOK: Input: default@t1_n72_temp +PREHOOK: Output: default@t2_n44_temp +POSTHOOK: query: ALTER TABLE t2_n44_temp EXCHANGE PARTITION (d1 = 1) WITH TABLE t1_n72_temp +POSTHOOK: type: ALTERTABLE_EXCHANGEPARTITION +POSTHOOK: Input: default@t1_n72_temp +POSTHOOK: Input: default@t1_n72_temp@d1=1 +POSTHOOK: Output: default@t1_n72_temp@d1=1 +POSTHOOK: Output: default@t2_n44_temp +POSTHOOK: Output: default@t2_n44_temp@d1=1 +PREHOOK: query: SELECT * FROM t1_n72_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@t1_n72_temp +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM t1_n72_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@t1_n72_temp +#### A masked pattern was here #### +PREHOOK: query: SELECT * FROM t2_n44_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@t2_n44_temp +PREHOOK: Input: default@t2_n44_temp@d1=1 +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM t2_n44_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@t2_n44_temp +POSTHOOK: Input: default@t2_n44_temp@d1=1 +#### A masked pattern was here #### +100 1 +PREHOOK: query: ALTER TABLE t4_n7_temp EXCHANGE PARTITION (d1 = 1, d2 = 1) WITH TABLE t3_n15_temp +PREHOOK: type: ALTERTABLE_EXCHANGEPARTITION +PREHOOK: Input: default@t3_n15_temp +PREHOOK: Output: default@t4_n7_temp +POSTHOOK: query: ALTER TABLE t4_n7_temp EXCHANGE PARTITION (d1 = 1, d2 = 1) WITH TABLE t3_n15_temp +POSTHOOK: type: ALTERTABLE_EXCHANGEPARTITION +POSTHOOK: Input: default@t3_n15_temp +POSTHOOK: Input: default@t3_n15_temp@d1=1/d2=1 +POSTHOOK: Output: default@t3_n15_temp@d1=1/d2=1 +POSTHOOK: Output: default@t4_n7_temp +POSTHOOK: Output: default@t4_n7_temp@d1=1/d2=1 +PREHOOK: query: SELECT * FROM t3_n15_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@t3_n15_temp +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM t3_n15_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@t3_n15_temp +#### A masked pattern was here #### +PREHOOK: query: SELECT * FROM t4_n7_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@t4_n7_temp +PREHOOK: Input: default@t4_n7_temp@d1=1/d2=1 +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM t4_n7_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@t4_n7_temp +POSTHOOK: Input: default@t4_n7_temp@d1=1/d2=1 +#### A masked pattern was here #### +100 1 1 +PREHOOK: query: EXPLAIN ALTER TABLE t6_n2_temp EXCHANGE PARTITION (d1 = 1, d2 = 1, d3 = 1) WITH TABLE t5_n3_temp +PREHOOK: type: ALTERTABLE_EXCHANGEPARTITION +PREHOOK: Input: default@t5_n3_temp +PREHOOK: Output: default@t6_n2_temp +POSTHOOK: query: EXPLAIN ALTER TABLE t6_n2_temp EXCHANGE PARTITION (d1 = 1, d2 = 1, d3 = 1) WITH TABLE t5_n3_temp +POSTHOOK: type: ALTERTABLE_EXCHANGEPARTITION +POSTHOOK: Input: default@t5_n3_temp +POSTHOOK: Output: default@t6_n2_temp +STAGE DEPENDENCIES: + Stage-0 is a root stage + +STAGE PLANS: + Stage: Stage-0 + Exchange Partitions + partitions: + d1 1 + d2 1 + d3 1 + +PREHOOK: query: ALTER TABLE t6_n2_temp EXCHANGE PARTITION (d1 = 1, d2 = 1, d3 = 1) WITH TABLE t5_n3_temp +PREHOOK: type: ALTERTABLE_EXCHANGEPARTITION +PREHOOK: Input: default@t5_n3_temp +PREHOOK: Output: default@t6_n2_temp +POSTHOOK: query: ALTER TABLE t6_n2_temp EXCHANGE PARTITION (d1 = 1, d2 = 1, d3 = 1) WITH TABLE t5_n3_temp +POSTHOOK: type: ALTERTABLE_EXCHANGEPARTITION +POSTHOOK: Input: default@t5_n3_temp +POSTHOOK: Input: default@t5_n3_temp@d1=1/d2=1/d3=1 +POSTHOOK: Output: default@t5_n3_temp@d1=1/d2=1/d3=1 +POSTHOOK: Output: default@t6_n2_temp +POSTHOOK: Output: default@t6_n2_temp@d1=1/d2=1/d3=1 +PREHOOK: query: SELECT * FROM t5_n3_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@t5_n3_temp +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM t5_n3_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@t5_n3_temp +#### A masked pattern was here #### +PREHOOK: query: SELECT * FROM t6_n2_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@t6_n2_temp +PREHOOK: Input: default@t6_n2_temp@d1=1/d2=1/d3=1 +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM t6_n2_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@t6_n2_temp +POSTHOOK: Input: default@t6_n2_temp@d1=1/d2=1/d3=1 +#### A masked pattern was here #### +100 1 1 1 diff --git a/ql/src/test/results/clientpositive/temp_table_insert1_overwrite_partitions.q.out b/ql/src/test/results/clientpositive/temp_table_insert1_overwrite_partitions.q.out new file mode 100644 index 0000000000..33ccd70690 --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_insert1_overwrite_partitions.q.out @@ -0,0 +1,498 @@ +PREHOOK: query: CREATE TEMPORARY TABLE sourceTable_temp (one string,two string) PARTITIONED BY (ds string,hr string) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@sourceTable_temp +POSTHOOK: query: CREATE TEMPORARY TABLE sourceTable_temp (one string,two string) PARTITIONED BY (ds string,hr string) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@sourceTable_temp +PREHOOK: query: load data local inpath '../../data/files/kv1.txt' INTO TABLE sourceTable_temp partition(ds='2011-11-11', hr='11') +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@sourcetable_temp +POSTHOOK: query: load data local inpath '../../data/files/kv1.txt' INTO TABLE sourceTable_temp partition(ds='2011-11-11', hr='11') +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@sourcetable_temp +POSTHOOK: Output: default@sourcetable_temp@ds=2011-11-11/hr=11 +PREHOOK: query: load data local inpath '../../data/files/kv3.txt' INTO TABLE sourceTable_temp partition(ds='2011-11-11', hr='12') +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@sourcetable_temp +POSTHOOK: query: load data local inpath '../../data/files/kv3.txt' INTO TABLE sourceTable_temp partition(ds='2011-11-11', hr='12') +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@sourcetable_temp +POSTHOOK: Output: default@sourcetable_temp@ds=2011-11-11/hr=12 +PREHOOK: query: CREATE TEMPORARY TABLE destinTable_temp (one string,two string) PARTITIONED BY (ds string,hr string) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@destinTable_temp +POSTHOOK: query: CREATE TEMPORARY TABLE destinTable_temp (one string,two string) PARTITIONED BY (ds string,hr string) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@destinTable_temp +PREHOOK: query: EXPLAIN INSERT OVERWRITE TABLE destinTable_temp PARTITION (ds='2011-11-11', hr='11') if not exists + SELECT one,two FROM sourceTable_temp WHERE ds='2011-11-11' AND hr='11' order by one desc, two desc limit 5 +PREHOOK: type: QUERY +PREHOOK: Input: default@sourcetable_temp +PREHOOK: Input: default@sourcetable_temp@ds=2011-11-11/hr=11 +PREHOOK: Output: default@destintable_temp@ds=2011-11-11/hr=11 +POSTHOOK: query: EXPLAIN INSERT OVERWRITE TABLE destinTable_temp PARTITION (ds='2011-11-11', hr='11') if not exists + SELECT one,two FROM sourceTable_temp WHERE ds='2011-11-11' AND hr='11' order by one desc, two desc limit 5 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@sourcetable_temp +POSTHOOK: Input: default@sourcetable_temp@ds=2011-11-11/hr=11 +POSTHOOK: Output: default@destintable_temp@ds=2011-11-11/hr=11 +STAGE DEPENDENCIES: + Stage-1 is a root stage + Stage-0 depends on stages: Stage-1 + Stage-2 depends on stages: Stage-0, Stage-3 + Stage-3 depends on stages: Stage-1 + +STAGE PLANS: + Stage: Stage-1 + Map Reduce + Map Operator Tree: + TableScan + alias: sourcetable_temp + filterExpr: ((ds = '2011-11-11') and (hr = '11')) (type: boolean) + Statistics: Num rows: 99 Data size: 31648 Basic stats: PARTIAL Column stats: NONE + Select Operator + expressions: one (type: string), two (type: string) + outputColumnNames: _col0, _col1 + Statistics: Num rows: 99 Data size: 31648 Basic stats: PARTIAL Column stats: NONE + Reduce Output Operator + key expressions: _col0 (type: string), _col1 (type: string) + sort order: -- + Statistics: Num rows: 99 Data size: 31648 Basic stats: PARTIAL Column stats: NONE + TopN Hash Memory Usage: 0.1 + Execution mode: vectorized + Reduce Operator Tree: + Select Operator + expressions: KEY.reducesinkkey0 (type: string), KEY.reducesinkkey1 (type: string) + outputColumnNames: _col0, _col1 + Statistics: Num rows: 99 Data size: 31648 Basic stats: PARTIAL Column stats: NONE + Limit + Number of rows: 5 + Statistics: Num rows: 5 Data size: 1595 Basic stats: PARTIAL Column stats: NONE + File Output Operator + compressed: false + Statistics: Num rows: 5 Data size: 1595 Basic stats: PARTIAL Column stats: NONE + table: + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.destintable_temp + Select Operator + expressions: _col0 (type: string), _col1 (type: string), '2011-11-11' (type: string), '11' (type: string) + outputColumnNames: one, two, ds, hr + Statistics: Num rows: 5 Data size: 1595 Basic stats: PARTIAL Column stats: NONE + Group By Operator + aggregations: compute_stats(one, 'hll'), compute_stats(two, 'hll') + keys: ds (type: string), hr (type: string) + minReductionHashAggr: 0.99 + mode: hash + outputColumnNames: _col0, _col1, _col2, _col3 + Statistics: Num rows: 5 Data size: 1595 Basic stats: PARTIAL Column stats: NONE + File Output Operator + compressed: false + table: + input format: org.apache.hadoop.mapred.SequenceFileInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat + serde: org.apache.hadoop.hive.serde2.lazybinary.LazyBinarySerDe + + 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: default.destintable_temp + + Stage: Stage-2 + Stats Work + Basic Stats Work: + Column Stats Desc: + Columns: one, two + Column Types: string, string + Table: default.destintable_temp + + Stage: Stage-3 + Map Reduce + Map Operator Tree: + TableScan + Reduce Output Operator + key expressions: _col0 (type: string), _col1 (type: string) + sort order: ++ + Map-reduce partition columns: _col0 (type: string), _col1 (type: string) + Statistics: Num rows: 5 Data size: 1595 Basic stats: PARTIAL Column stats: NONE + value expressions: _col2 (type: struct), _col3 (type: struct) + Execution mode: vectorized + Reduce Operator Tree: + Group By Operator + aggregations: compute_stats(VALUE._col0), compute_stats(VALUE._col1) + keys: KEY._col0 (type: string), KEY._col1 (type: string) + mode: mergepartial + outputColumnNames: _col0, _col1, _col2, _col3 + Statistics: Num rows: 2 Data size: 638 Basic stats: PARTIAL Column stats: NONE + Select Operator + expressions: _col2 (type: struct), _col3 (type: struct), _col0 (type: string), _col1 (type: string) + outputColumnNames: _col0, _col1, _col2, _col3 + Statistics: Num rows: 2 Data size: 638 Basic stats: PARTIAL Column stats: NONE + File Output Operator + compressed: false + Statistics: Num rows: 2 Data size: 638 Basic stats: PARTIAL Column stats: NONE + 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 + +PREHOOK: query: INSERT OVERWRITE TABLE destinTable_temp PARTITION (ds='2011-11-11', hr='11') if not exists + SELECT one,two FROM sourceTable_temp WHERE ds='2011-11-11' AND hr='11' order by one desc, two desc limit 5 +PREHOOK: type: QUERY +PREHOOK: Input: default@sourcetable_temp +PREHOOK: Input: default@sourcetable_temp@ds=2011-11-11/hr=11 +PREHOOK: Output: default@destintable_temp@ds=2011-11-11/hr=11 +POSTHOOK: query: INSERT OVERWRITE TABLE destinTable_temp PARTITION (ds='2011-11-11', hr='11') if not exists + SELECT one,two FROM sourceTable_temp WHERE ds='2011-11-11' AND hr='11' order by one desc, two desc limit 5 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@sourcetable_temp +POSTHOOK: Input: default@sourcetable_temp@ds=2011-11-11/hr=11 +POSTHOOK: Output: default@destintable_temp@ds=2011-11-11/hr=11 +POSTHOOK: Lineage: destintable_temp PARTITION(ds=2011-11-11,hr=11).one SIMPLE [(sourcetable_temp)sourcetable_temp.FieldSchema(name:one, type:string, comment:null), ] +POSTHOOK: Lineage: destintable_temp PARTITION(ds=2011-11-11,hr=11).two SIMPLE [(sourcetable_temp)sourcetable_temp.FieldSchema(name:two, type:string, comment:null), ] +PREHOOK: query: select one,two from destinTable_temp order by one desc, two desc +PREHOOK: type: QUERY +PREHOOK: Input: default@destintable_temp +PREHOOK: Input: default@destintable_temp@ds=2011-11-11/hr=11 +#### A masked pattern was here #### +POSTHOOK: query: select one,two from destinTable_temp order by one desc, two desc +POSTHOOK: type: QUERY +POSTHOOK: Input: default@destintable_temp +POSTHOOK: Input: default@destintable_temp@ds=2011-11-11/hr=11 +#### A masked pattern was here #### +98 val_98 +98 val_98 +97 val_97 +97 val_97 +96 val_96 +PREHOOK: query: EXPLAIN INSERT OVERWRITE TABLE destinTable_temp PARTITION (ds='2011-11-11', hr='11') if not exists + SELECT one,two FROM sourceTable_temp WHERE ds='2011-11-11' AND hr='12' order by one desc, two desc limit 5 +PREHOOK: type: QUERY +POSTHOOK: query: EXPLAIN INSERT OVERWRITE TABLE destinTable_temp PARTITION (ds='2011-11-11', hr='11') if not exists + SELECT one,two FROM sourceTable_temp WHERE ds='2011-11-11' AND hr='12' order by one desc, two desc limit 5 +POSTHOOK: type: QUERY +STAGE DEPENDENCIES: + +STAGE PLANS: +PREHOOK: query: INSERT OVERWRITE TABLE destinTable_temp PARTITION (ds='2011-11-11', hr='11') if not exists + SELECT one,two FROM sourceTable_temp WHERE ds='2011-11-11' AND hr='12' order by one desc, two desc limit 5 +PREHOOK: type: QUERY +POSTHOOK: query: INSERT OVERWRITE TABLE destinTable_temp PARTITION (ds='2011-11-11', hr='11') if not exists + SELECT one,two FROM sourceTable_temp WHERE ds='2011-11-11' AND hr='12' order by one desc, two desc limit 5 +POSTHOOK: type: QUERY +PREHOOK: query: select one,two from destinTable_temp order by one desc, two desc +PREHOOK: type: QUERY +PREHOOK: Input: default@destintable_temp +PREHOOK: Input: default@destintable_temp@ds=2011-11-11/hr=11 +#### A masked pattern was here #### +POSTHOOK: query: select one,two from destinTable_temp order by one desc, two desc +POSTHOOK: type: QUERY +POSTHOOK: Input: default@destintable_temp +POSTHOOK: Input: default@destintable_temp@ds=2011-11-11/hr=11 +#### A masked pattern was here #### +98 val_98 +98 val_98 +97 val_97 +97 val_97 +96 val_96 +PREHOOK: query: drop table destinTable_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@destintable_temp +PREHOOK: Output: default@destintable_temp +POSTHOOK: query: drop table destinTable_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@destintable_temp +POSTHOOK: Output: default@destintable_temp +PREHOOK: query: CREATE TEMPORARY TABLE destinTable_temp (one string,two string) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@destinTable_temp +POSTHOOK: query: CREATE TEMPORARY TABLE destinTable_temp (one string,two string) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@destinTable_temp +PREHOOK: query: EXPLAIN INSERT OVERWRITE TABLE destinTable_temp SELECT one,two FROM sourceTable_temp WHERE ds='2011-11-11' AND hr='11' order by one desc, two desc limit 5 +PREHOOK: type: QUERY +PREHOOK: Input: default@sourcetable_temp +PREHOOK: Input: default@sourcetable_temp@ds=2011-11-11/hr=11 +PREHOOK: Output: default@destintable_temp +POSTHOOK: query: EXPLAIN INSERT OVERWRITE TABLE destinTable_temp SELECT one,two FROM sourceTable_temp WHERE ds='2011-11-11' AND hr='11' order by one desc, two desc limit 5 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@sourcetable_temp +POSTHOOK: Input: default@sourcetable_temp@ds=2011-11-11/hr=11 +POSTHOOK: Output: default@destintable_temp +STAGE DEPENDENCIES: + Stage-1 is a root stage + Stage-0 depends on stages: Stage-1 + Stage-2 depends on stages: Stage-0 + +STAGE PLANS: + Stage: Stage-1 + Map Reduce + Map Operator Tree: + TableScan + alias: sourcetable_temp + filterExpr: ((ds = '2011-11-11') and (hr = '11')) (type: boolean) + Statistics: Num rows: 99 Data size: 31648 Basic stats: PARTIAL Column stats: NONE + Select Operator + expressions: one (type: string), two (type: string) + outputColumnNames: _col0, _col1 + Statistics: Num rows: 99 Data size: 31648 Basic stats: PARTIAL Column stats: NONE + Reduce Output Operator + key expressions: _col0 (type: string), _col1 (type: string) + sort order: -- + Statistics: Num rows: 99 Data size: 31648 Basic stats: PARTIAL Column stats: NONE + TopN Hash Memory Usage: 0.1 + Execution mode: vectorized + Reduce Operator Tree: + Select Operator + expressions: KEY.reducesinkkey0 (type: string), KEY.reducesinkkey1 (type: string) + outputColumnNames: _col0, _col1 + Statistics: Num rows: 99 Data size: 31648 Basic stats: PARTIAL Column stats: NONE + Limit + Number of rows: 5 + Statistics: Num rows: 5 Data size: 1595 Basic stats: PARTIAL Column stats: NONE + File Output Operator + compressed: false + Statistics: Num rows: 5 Data size: 1595 Basic stats: PARTIAL Column stats: NONE + table: + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.destintable_temp + + Stage: Stage-0 + Move Operator + tables: + replace: true + table: + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.destintable_temp + + Stage: Stage-2 + Stats Work + Basic Stats Work: + +PREHOOK: query: INSERT OVERWRITE TABLE destinTable_temp SELECT one,two FROM sourceTable_temp WHERE ds='2011-11-11' AND hr='11' order by one desc, two desc limit 5 +PREHOOK: type: QUERY +PREHOOK: Input: default@sourcetable_temp +PREHOOK: Input: default@sourcetable_temp@ds=2011-11-11/hr=11 +PREHOOK: Output: default@destintable_temp +POSTHOOK: query: INSERT OVERWRITE TABLE destinTable_temp SELECT one,two FROM sourceTable_temp WHERE ds='2011-11-11' AND hr='11' order by one desc, two desc limit 5 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@sourcetable_temp +POSTHOOK: Input: default@sourcetable_temp@ds=2011-11-11/hr=11 +POSTHOOK: Output: default@destintable_temp +POSTHOOK: Lineage: destintable_temp.one SIMPLE [(sourcetable_temp)sourcetable_temp.FieldSchema(name:one, type:string, comment:null), ] +POSTHOOK: Lineage: destintable_temp.two SIMPLE [(sourcetable_temp)sourcetable_temp.FieldSchema(name:two, type:string, comment:null), ] +PREHOOK: query: drop table destinTable_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@destintable_temp +PREHOOK: Output: default@destintable_temp +POSTHOOK: query: drop table destinTable_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@destintable_temp +POSTHOOK: Output: default@destintable_temp +PREHOOK: query: drop table sourceTable_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@sourcetable_temp +PREHOOK: Output: default@sourcetable_temp +POSTHOOK: query: drop table sourceTable_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@sourcetable_temp +POSTHOOK: Output: default@sourcetable_temp +PREHOOK: query: CREATE TEMPORARY TABLE sourceTable_temp (one string,two string) PARTITIONED BY (ds string,hr string) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@sourceTable_temp +POSTHOOK: query: CREATE TEMPORARY TABLE sourceTable_temp (one string,two string) PARTITIONED BY (ds string,hr string) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@sourceTable_temp +PREHOOK: query: load data local inpath '../../data/files/kv1.txt' INTO TABLE sourceTable_temp partition(ds='2011-11-11', hr='11') +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@sourcetable_temp +POSTHOOK: query: load data local inpath '../../data/files/kv1.txt' INTO TABLE sourceTable_temp partition(ds='2011-11-11', hr='11') +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@sourcetable_temp +POSTHOOK: Output: default@sourcetable_temp@ds=2011-11-11/hr=11 +PREHOOK: query: CREATE TEMPORARY TABLE destinTable_temp (one string,two string) PARTITIONED BY (ds string,hr string) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@destinTable_temp +POSTHOOK: query: CREATE TEMPORARY TABLE destinTable_temp (one string,two string) PARTITIONED BY (ds string,hr string) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@destinTable_temp +PREHOOK: query: EXPLAIN INSERT OVERWRITE TABLE destinTable_temp PARTITION (ds='2011-11-11', hr='11') if not exists + SELECT one,two FROM sourceTable_temp WHERE ds='2011-11-11' AND hr='11' order by one desc, two desc limit 5 +PREHOOK: type: QUERY +PREHOOK: Input: default@sourcetable_temp +PREHOOK: Input: default@sourcetable_temp@ds=2011-11-11/hr=11 +PREHOOK: Output: default@destintable_temp@ds=2011-11-11/hr=11 +POSTHOOK: query: EXPLAIN INSERT OVERWRITE TABLE destinTable_temp PARTITION (ds='2011-11-11', hr='11') if not exists + SELECT one,two FROM sourceTable_temp WHERE ds='2011-11-11' AND hr='11' order by one desc, two desc limit 5 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@sourcetable_temp +POSTHOOK: Input: default@sourcetable_temp@ds=2011-11-11/hr=11 +POSTHOOK: Output: default@destintable_temp@ds=2011-11-11/hr=11 +STAGE DEPENDENCIES: + Stage-1 is a root stage + Stage-0 depends on stages: Stage-1 + Stage-2 depends on stages: Stage-0, Stage-3 + Stage-3 depends on stages: Stage-1 + +STAGE PLANS: + Stage: Stage-1 + Map Reduce + Map Operator Tree: + TableScan + alias: sourcetable_temp + filterExpr: ((ds = '2011-11-11') and (hr = '11')) (type: boolean) + Statistics: Num rows: 99 Data size: 31648 Basic stats: PARTIAL Column stats: NONE + Select Operator + expressions: one (type: string), two (type: string) + outputColumnNames: _col0, _col1 + Statistics: Num rows: 99 Data size: 31648 Basic stats: PARTIAL Column stats: NONE + Reduce Output Operator + key expressions: _col0 (type: string), _col1 (type: string) + sort order: -- + Statistics: Num rows: 99 Data size: 31648 Basic stats: PARTIAL Column stats: NONE + TopN Hash Memory Usage: 0.1 + Execution mode: vectorized + Reduce Operator Tree: + Select Operator + expressions: KEY.reducesinkkey0 (type: string), KEY.reducesinkkey1 (type: string) + outputColumnNames: _col0, _col1 + Statistics: Num rows: 99 Data size: 31648 Basic stats: PARTIAL Column stats: NONE + Limit + Number of rows: 5 + Statistics: Num rows: 5 Data size: 1595 Basic stats: PARTIAL Column stats: NONE + File Output Operator + compressed: false + Statistics: Num rows: 5 Data size: 1595 Basic stats: PARTIAL Column stats: NONE + table: + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.destintable_temp + Select Operator + expressions: _col0 (type: string), _col1 (type: string), '2011-11-11' (type: string), '11' (type: string) + outputColumnNames: one, two, ds, hr + Statistics: Num rows: 5 Data size: 1595 Basic stats: PARTIAL Column stats: NONE + Group By Operator + aggregations: compute_stats(one, 'hll'), compute_stats(two, 'hll') + keys: ds (type: string), hr (type: string) + minReductionHashAggr: 0.99 + mode: hash + outputColumnNames: _col0, _col1, _col2, _col3 + Statistics: Num rows: 5 Data size: 1595 Basic stats: PARTIAL Column stats: NONE + File Output Operator + compressed: false + table: + input format: org.apache.hadoop.mapred.SequenceFileInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat + serde: org.apache.hadoop.hive.serde2.lazybinary.LazyBinarySerDe + + 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: default.destintable_temp + + Stage: Stage-2 + Stats Work + Basic Stats Work: + Column Stats Desc: + Columns: one, two + Column Types: string, string + Table: default.destintable_temp + + Stage: Stage-3 + Map Reduce + Map Operator Tree: + TableScan + Reduce Output Operator + key expressions: _col0 (type: string), _col1 (type: string) + sort order: ++ + Map-reduce partition columns: _col0 (type: string), _col1 (type: string) + Statistics: Num rows: 5 Data size: 1595 Basic stats: PARTIAL Column stats: NONE + value expressions: _col2 (type: struct), _col3 (type: struct) + Execution mode: vectorized + Reduce Operator Tree: + Group By Operator + aggregations: compute_stats(VALUE._col0), compute_stats(VALUE._col1) + keys: KEY._col0 (type: string), KEY._col1 (type: string) + mode: mergepartial + outputColumnNames: _col0, _col1, _col2, _col3 + Statistics: Num rows: 2 Data size: 638 Basic stats: PARTIAL Column stats: NONE + Select Operator + expressions: _col2 (type: struct), _col3 (type: struct), _col0 (type: string), _col1 (type: string) + outputColumnNames: _col0, _col1, _col2, _col3 + Statistics: Num rows: 2 Data size: 638 Basic stats: PARTIAL Column stats: NONE + File Output Operator + compressed: false + Statistics: Num rows: 2 Data size: 638 Basic stats: PARTIAL Column stats: NONE + 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 + +PREHOOK: query: INSERT OVERWRITE TABLE destinTable_temp PARTITION (ds='2011-11-11', hr='11') if not exists + SELECT one,two FROM sourceTable_temp WHERE ds='2011-11-11' AND hr='11' order by one desc, two desc limit 5 +PREHOOK: type: QUERY +PREHOOK: Input: default@sourcetable_temp +PREHOOK: Input: default@sourcetable_temp@ds=2011-11-11/hr=11 +PREHOOK: Output: default@destintable_temp@ds=2011-11-11/hr=11 +POSTHOOK: query: INSERT OVERWRITE TABLE destinTable_temp PARTITION (ds='2011-11-11', hr='11') if not exists + SELECT one,two FROM sourceTable_temp WHERE ds='2011-11-11' AND hr='11' order by one desc, two desc limit 5 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@sourcetable_temp +POSTHOOK: Input: default@sourcetable_temp@ds=2011-11-11/hr=11 +POSTHOOK: Output: default@destintable_temp@ds=2011-11-11/hr=11 +POSTHOOK: Lineage: destintable_temp PARTITION(ds=2011-11-11,hr=11).one SIMPLE [(sourcetable_temp)sourcetable_temp.FieldSchema(name:one, type:string, comment:null), ] +POSTHOOK: Lineage: destintable_temp PARTITION(ds=2011-11-11,hr=11).two SIMPLE [(sourcetable_temp)sourcetable_temp.FieldSchema(name:two, type:string, comment:null), ] +PREHOOK: query: drop table destinTable_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@destintable_temp +PREHOOK: Output: default@destintable_temp +POSTHOOK: query: drop table destinTable_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@destintable_temp +POSTHOOK: Output: default@destintable_temp +PREHOOK: query: drop table sourceTable_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@sourcetable_temp +PREHOOK: Output: default@sourcetable_temp +POSTHOOK: query: drop table sourceTable_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@sourcetable_temp +POSTHOOK: Output: default@sourcetable_temp diff --git a/ql/src/test/results/clientpositive/temp_table_insert2_overwrite_partitions.q.out b/ql/src/test/results/clientpositive/temp_table_insert2_overwrite_partitions.q.out new file mode 100644 index 0000000000..fc2511feda --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_insert2_overwrite_partitions.q.out @@ -0,0 +1,375 @@ +PREHOOK: query: CREATE DATABASE db1 +PREHOOK: type: CREATEDATABASE +PREHOOK: Output: database:db1 +POSTHOOK: query: CREATE DATABASE db1 +POSTHOOK: type: CREATEDATABASE +POSTHOOK: Output: database:db1 +PREHOOK: query: CREATE DATABASE db2 +PREHOOK: type: CREATEDATABASE +PREHOOK: Output: database:db2 +POSTHOOK: query: CREATE DATABASE db2 +POSTHOOK: type: CREATEDATABASE +POSTHOOK: Output: database:db2 +PREHOOK: query: CREATE TEMPORARY TABLE db1.sourceTable_temp (one string,two string) PARTITIONED BY (ds string) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:db1 +PREHOOK: Output: db1@sourceTable_temp +POSTHOOK: query: CREATE TEMPORARY TABLE db1.sourceTable_temp (one string,two string) PARTITIONED BY (ds string) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:db1 +POSTHOOK: Output: db1@sourceTable_temp +PREHOOK: query: load data local inpath '../../data/files/kv1.txt' INTO TABLE db1.sourceTable_temp partition(ds='2011-11-11') +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: db1@sourcetable_temp +POSTHOOK: query: load data local inpath '../../data/files/kv1.txt' INTO TABLE db1.sourceTable_temp partition(ds='2011-11-11') +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: db1@sourcetable_temp +POSTHOOK: Output: db1@sourcetable_temp@ds=2011-11-11 +PREHOOK: query: load data local inpath '../../data/files/kv3.txt' INTO TABLE db1.sourceTable_temp partition(ds='2011-11-11') +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: db1@sourcetable_temp@ds=2011-11-11 +POSTHOOK: query: load data local inpath '../../data/files/kv3.txt' INTO TABLE db1.sourceTable_temp partition(ds='2011-11-11') +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: db1@sourcetable_temp@ds=2011-11-11 +PREHOOK: query: CREATE TEMPORARY TABLE db2.destinTable_temp (one string,two string) PARTITIONED BY (ds string) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:db2 +PREHOOK: Output: db2@destinTable_temp +POSTHOOK: query: CREATE TEMPORARY TABLE db2.destinTable_temp (one string,two string) PARTITIONED BY (ds string) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:db2 +POSTHOOK: Output: db2@destinTable_temp +PREHOOK: query: EXPLAIN INSERT OVERWRITE TABLE db2.destinTable_temp PARTITION (ds='2011-11-11') + SELECT one,two FROM db1.sourceTable_temp WHERE ds='2011-11-11' order by one desc, two desc limit 5 +PREHOOK: type: QUERY +PREHOOK: Input: db1@sourcetable_temp +PREHOOK: Input: db1@sourcetable_temp@ds=2011-11-11 +PREHOOK: Output: db2@destintable_temp@ds=2011-11-11 +POSTHOOK: query: EXPLAIN INSERT OVERWRITE TABLE db2.destinTable_temp PARTITION (ds='2011-11-11') + SELECT one,two FROM db1.sourceTable_temp WHERE ds='2011-11-11' order by one desc, two desc limit 5 +POSTHOOK: type: QUERY +POSTHOOK: Input: db1@sourcetable_temp +POSTHOOK: Input: db1@sourcetable_temp@ds=2011-11-11 +POSTHOOK: Output: db2@destintable_temp@ds=2011-11-11 +STAGE DEPENDENCIES: + Stage-1 is a root stage + Stage-0 depends on stages: Stage-1 + Stage-2 depends on stages: Stage-0, Stage-3 + Stage-3 depends on stages: Stage-1 + +STAGE PLANS: + Stage: Stage-1 + Map Reduce + Map Operator Tree: + TableScan + alias: sourcetable_temp + filterExpr: (ds = '2011-11-11') (type: boolean) + Statistics: Num rows: 124 Data size: 40480 Basic stats: PARTIAL Column stats: NONE + Select Operator + expressions: one (type: string), two (type: string) + outputColumnNames: _col0, _col1 + Statistics: Num rows: 124 Data size: 40480 Basic stats: PARTIAL Column stats: NONE + Reduce Output Operator + key expressions: _col0 (type: string), _col1 (type: string) + sort order: -- + Statistics: Num rows: 124 Data size: 40480 Basic stats: PARTIAL Column stats: NONE + TopN Hash Memory Usage: 0.1 + Execution mode: vectorized + Reduce Operator Tree: + Select Operator + expressions: KEY.reducesinkkey0 (type: string), KEY.reducesinkkey1 (type: string) + outputColumnNames: _col0, _col1 + Statistics: Num rows: 124 Data size: 40480 Basic stats: PARTIAL Column stats: NONE + Limit + Number of rows: 5 + Statistics: Num rows: 5 Data size: 1630 Basic stats: PARTIAL Column stats: NONE + File Output Operator + compressed: false + Statistics: Num rows: 5 Data size: 1630 Basic stats: PARTIAL Column stats: NONE + table: + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: db2.destintable_temp + Select Operator + expressions: _col0 (type: string), _col1 (type: string), '2011-11-11' (type: string) + outputColumnNames: one, two, ds + Statistics: Num rows: 5 Data size: 1630 Basic stats: PARTIAL Column stats: NONE + Group By Operator + aggregations: compute_stats(one, 'hll'), compute_stats(two, 'hll') + keys: ds (type: string) + minReductionHashAggr: 0.99 + mode: hash + outputColumnNames: _col0, _col1, _col2 + Statistics: Num rows: 5 Data size: 1630 Basic stats: PARTIAL Column stats: NONE + File Output Operator + compressed: false + table: + input format: org.apache.hadoop.mapred.SequenceFileInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat + serde: org.apache.hadoop.hive.serde2.lazybinary.LazyBinarySerDe + + Stage: Stage-0 + Move Operator + tables: + partition: + ds 2011-11-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: db2.destintable_temp + + Stage: Stage-2 + Stats Work + Basic Stats Work: + Column Stats Desc: + Columns: one, two + Column Types: string, string + Table: db2.destintable_temp + + Stage: Stage-3 + Map Reduce + Map Operator Tree: + TableScan + Reduce Output Operator + key expressions: _col0 (type: string) + sort order: + + Map-reduce partition columns: _col0 (type: string) + Statistics: Num rows: 5 Data size: 1630 Basic stats: PARTIAL Column stats: NONE + value expressions: _col1 (type: struct), _col2 (type: struct) + Execution mode: vectorized + Reduce Operator Tree: + Group By Operator + aggregations: compute_stats(VALUE._col0), compute_stats(VALUE._col1) + keys: KEY._col0 (type: string) + mode: mergepartial + outputColumnNames: _col0, _col1, _col2 + Statistics: Num rows: 2 Data size: 652 Basic stats: PARTIAL Column stats: NONE + Select Operator + expressions: _col1 (type: struct), _col2 (type: struct), _col0 (type: string) + outputColumnNames: _col0, _col1, _col2 + Statistics: Num rows: 2 Data size: 652 Basic stats: PARTIAL Column stats: NONE + File Output Operator + compressed: false + Statistics: Num rows: 2 Data size: 652 Basic stats: PARTIAL Column stats: NONE + 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 + +PREHOOK: query: INSERT OVERWRITE TABLE db2.destinTable_temp PARTITION (ds='2011-11-11') + SELECT one,two FROM db1.sourceTable_temp WHERE ds='2011-11-11' order by one desc, two desc limit 5 +PREHOOK: type: QUERY +PREHOOK: Input: db1@sourcetable_temp +PREHOOK: Input: db1@sourcetable_temp@ds=2011-11-11 +PREHOOK: Output: db2@destintable_temp@ds=2011-11-11 +POSTHOOK: query: INSERT OVERWRITE TABLE db2.destinTable_temp PARTITION (ds='2011-11-11') + SELECT one,two FROM db1.sourceTable_temp WHERE ds='2011-11-11' order by one desc, two desc limit 5 +POSTHOOK: type: QUERY +POSTHOOK: Input: db1@sourcetable_temp +POSTHOOK: Input: db1@sourcetable_temp@ds=2011-11-11 +POSTHOOK: Output: db2@destintable_temp@ds=2011-11-11 +POSTHOOK: Lineage: destintable_temp PARTITION(ds=2011-11-11).one SIMPLE [(sourcetable_temp)sourcetable_temp.FieldSchema(name:one, type:string, comment:null), ] +POSTHOOK: Lineage: destintable_temp PARTITION(ds=2011-11-11).two SIMPLE [(sourcetable_temp)sourcetable_temp.FieldSchema(name:two, type:string, comment:null), ] +PREHOOK: query: select one,two from db2.destinTable_temp order by one desc, two desc +PREHOOK: type: QUERY +PREHOOK: Input: db2@destintable_temp +PREHOOK: Input: db2@destintable_temp@ds=2011-11-11 +#### A masked pattern was here #### +POSTHOOK: query: select one,two from db2.destinTable_temp order by one desc, two desc +POSTHOOK: type: QUERY +POSTHOOK: Input: db2@destintable_temp +POSTHOOK: Input: db2@destintable_temp@ds=2011-11-11 +#### A masked pattern was here #### +98 val_98 +98 val_98 +98 val_98 +97 val_97 +97 val_97 +PREHOOK: query: EXPLAIN INSERT OVERWRITE TABLE db2.destinTable_temp PARTITION (ds='2011-11-11') + SELECT one,two FROM db1.sourceTable_temp WHERE ds='2011-11-11' order by one desc, two desc limit 5 +PREHOOK: type: QUERY +PREHOOK: Input: db1@sourcetable_temp +PREHOOK: Input: db1@sourcetable_temp@ds=2011-11-11 +PREHOOK: Output: db2@destintable_temp@ds=2011-11-11 +POSTHOOK: query: EXPLAIN INSERT OVERWRITE TABLE db2.destinTable_temp PARTITION (ds='2011-11-11') + SELECT one,two FROM db1.sourceTable_temp WHERE ds='2011-11-11' order by one desc, two desc limit 5 +POSTHOOK: type: QUERY +POSTHOOK: Input: db1@sourcetable_temp +POSTHOOK: Input: db1@sourcetable_temp@ds=2011-11-11 +POSTHOOK: Output: db2@destintable_temp@ds=2011-11-11 +STAGE DEPENDENCIES: + Stage-1 is a root stage + Stage-0 depends on stages: Stage-1 + Stage-2 depends on stages: Stage-0, Stage-3 + Stage-3 depends on stages: Stage-1 + +STAGE PLANS: + Stage: Stage-1 + Map Reduce + Map Operator Tree: + TableScan + alias: sourcetable_temp + filterExpr: (ds = '2011-11-11') (type: boolean) + Statistics: Num rows: 124 Data size: 40480 Basic stats: PARTIAL Column stats: NONE + Select Operator + expressions: one (type: string), two (type: string) + outputColumnNames: _col0, _col1 + Statistics: Num rows: 124 Data size: 40480 Basic stats: PARTIAL Column stats: NONE + Reduce Output Operator + key expressions: _col0 (type: string), _col1 (type: string) + sort order: -- + Statistics: Num rows: 124 Data size: 40480 Basic stats: PARTIAL Column stats: NONE + TopN Hash Memory Usage: 0.1 + Execution mode: vectorized + Reduce Operator Tree: + Select Operator + expressions: KEY.reducesinkkey0 (type: string), KEY.reducesinkkey1 (type: string) + outputColumnNames: _col0, _col1 + Statistics: Num rows: 124 Data size: 40480 Basic stats: PARTIAL Column stats: NONE + Limit + Number of rows: 5 + Statistics: Num rows: 5 Data size: 1630 Basic stats: PARTIAL Column stats: NONE + File Output Operator + compressed: false + Statistics: Num rows: 5 Data size: 1630 Basic stats: PARTIAL Column stats: NONE + table: + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: db2.destintable_temp + Select Operator + expressions: _col0 (type: string), _col1 (type: string), '2011-11-11' (type: string) + outputColumnNames: one, two, ds + Statistics: Num rows: 5 Data size: 1630 Basic stats: PARTIAL Column stats: NONE + Group By Operator + aggregations: compute_stats(one, 'hll'), compute_stats(two, 'hll') + keys: ds (type: string) + minReductionHashAggr: 0.99 + mode: hash + outputColumnNames: _col0, _col1, _col2 + Statistics: Num rows: 5 Data size: 1630 Basic stats: PARTIAL Column stats: NONE + File Output Operator + compressed: false + table: + input format: org.apache.hadoop.mapred.SequenceFileInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat + serde: org.apache.hadoop.hive.serde2.lazybinary.LazyBinarySerDe + + Stage: Stage-0 + Move Operator + tables: + partition: + ds 2011-11-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: db2.destintable_temp + + Stage: Stage-2 + Stats Work + Basic Stats Work: + Column Stats Desc: + Columns: one, two + Column Types: string, string + Table: db2.destintable_temp + + Stage: Stage-3 + Map Reduce + Map Operator Tree: + TableScan + Reduce Output Operator + key expressions: _col0 (type: string) + sort order: + + Map-reduce partition columns: _col0 (type: string) + Statistics: Num rows: 5 Data size: 1630 Basic stats: PARTIAL Column stats: NONE + value expressions: _col1 (type: struct), _col2 (type: struct) + Execution mode: vectorized + Reduce Operator Tree: + Group By Operator + aggregations: compute_stats(VALUE._col0), compute_stats(VALUE._col1) + keys: KEY._col0 (type: string) + mode: mergepartial + outputColumnNames: _col0, _col1, _col2 + Statistics: Num rows: 2 Data size: 652 Basic stats: PARTIAL Column stats: NONE + Select Operator + expressions: _col1 (type: struct), _col2 (type: struct), _col0 (type: string) + outputColumnNames: _col0, _col1, _col2 + Statistics: Num rows: 2 Data size: 652 Basic stats: PARTIAL Column stats: NONE + File Output Operator + compressed: false + Statistics: Num rows: 2 Data size: 652 Basic stats: PARTIAL Column stats: NONE + 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 + +PREHOOK: query: INSERT OVERWRITE TABLE db2.destinTable_temp PARTITION (ds='2011-11-11') + SELECT one,two FROM db1.sourceTable_temp WHERE ds='2011-11-11' order by one desc, two desc limit 5 +PREHOOK: type: QUERY +PREHOOK: Input: db1@sourcetable_temp +PREHOOK: Input: db1@sourcetable_temp@ds=2011-11-11 +PREHOOK: Output: db2@destintable_temp@ds=2011-11-11 +POSTHOOK: query: INSERT OVERWRITE TABLE db2.destinTable_temp PARTITION (ds='2011-11-11') + SELECT one,two FROM db1.sourceTable_temp WHERE ds='2011-11-11' order by one desc, two desc limit 5 +POSTHOOK: type: QUERY +POSTHOOK: Input: db1@sourcetable_temp +POSTHOOK: Input: db1@sourcetable_temp@ds=2011-11-11 +POSTHOOK: Output: db2@destintable_temp@ds=2011-11-11 +POSTHOOK: Lineage: destintable_temp PARTITION(ds=2011-11-11).one SIMPLE [(sourcetable_temp)sourcetable_temp.FieldSchema(name:one, type:string, comment:null), ] +POSTHOOK: Lineage: destintable_temp PARTITION(ds=2011-11-11).two SIMPLE [(sourcetable_temp)sourcetable_temp.FieldSchema(name:two, type:string, comment:null), ] +PREHOOK: query: select one,two from db2.destinTable_temp order by one desc, two desc +PREHOOK: type: QUERY +PREHOOK: Input: db2@destintable_temp +PREHOOK: Input: db2@destintable_temp@ds=2011-11-11 +#### A masked pattern was here #### +POSTHOOK: query: select one,two from db2.destinTable_temp order by one desc, two desc +POSTHOOK: type: QUERY +POSTHOOK: Input: db2@destintable_temp +POSTHOOK: Input: db2@destintable_temp@ds=2011-11-11 +#### A masked pattern was here #### +98 val_98 +98 val_98 +98 val_98 +97 val_97 +97 val_97 +PREHOOK: query: drop table db2.destinTable_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: db2@destintable_temp +PREHOOK: Output: db2@destintable_temp +POSTHOOK: query: drop table db2.destinTable_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: db2@destintable_temp +POSTHOOK: Output: db2@destintable_temp +PREHOOK: query: drop table db1.sourceTable_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: db1@sourcetable_temp +PREHOOK: Output: db1@sourcetable_temp +POSTHOOK: query: drop table db1.sourceTable_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: db1@sourcetable_temp +POSTHOOK: Output: db1@sourcetable_temp +PREHOOK: query: DROP DATABASE db1 +PREHOOK: type: DROPDATABASE +PREHOOK: Input: database:db1 +PREHOOK: Output: database:db1 +POSTHOOK: query: DROP DATABASE db1 +POSTHOOK: type: DROPDATABASE +POSTHOOK: Input: database:db1 +POSTHOOK: Output: database:db1 +PREHOOK: query: DROP DATABASE db2 +PREHOOK: type: DROPDATABASE +PREHOOK: Input: database:db2 +PREHOOK: Output: database:db2 +POSTHOOK: query: DROP DATABASE db2 +POSTHOOK: type: DROPDATABASE +POSTHOOK: Input: database:db2 +POSTHOOK: Output: database:db2 diff --git a/ql/src/test/results/clientpositive/temp_table_insert_values_dynamic_partitioned.q.out b/ql/src/test/results/clientpositive/temp_table_insert_values_dynamic_partitioned.q.out new file mode 100644 index 0000000000..6f3e30fe14 --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_insert_values_dynamic_partitioned.q.out @@ -0,0 +1,45 @@ +PREHOOK: query: create temporary table ivdp_temp(i int, + de decimal(5,2), + vc varchar(128)) partitioned by (ds string) clustered by (i) into 2 buckets stored as orc TBLPROPERTIES ('transactional'='true') +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@ivdp_temp +POSTHOOK: query: create temporary table ivdp_temp(i int, + de decimal(5,2), + vc varchar(128)) partitioned by (ds string) clustered by (i) into 2 buckets stored as orc TBLPROPERTIES ('transactional'='true') +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@ivdp_temp +PREHOOK: query: insert into table ivdp_temp partition (ds) values +(1, 109.23, 'and everywhere that mary went', 'today'), +(6553, 923.19, 'the lamb was sure to go', 'tomorrow') +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@ivdp_temp +POSTHOOK: query: insert into table ivdp_temp partition (ds) values +(1, 109.23, 'and everywhere that mary went', 'today'), +(6553, 923.19, 'the lamb was sure to go', 'tomorrow') +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@ivdp_temp@ds=today +POSTHOOK: Output: default@ivdp_temp@ds=tomorrow +POSTHOOK: Lineage: ivdp_temp PARTITION(ds=today).de SCRIPT [] +POSTHOOK: Lineage: ivdp_temp PARTITION(ds=today).i SCRIPT [] +POSTHOOK: Lineage: ivdp_temp PARTITION(ds=today).vc SCRIPT [] +POSTHOOK: Lineage: ivdp_temp PARTITION(ds=tomorrow).de SCRIPT [] +POSTHOOK: Lineage: ivdp_temp PARTITION(ds=tomorrow).i SCRIPT [] +POSTHOOK: Lineage: ivdp_temp PARTITION(ds=tomorrow).vc SCRIPT [] +PREHOOK: query: select * from ivdp_temp order by ds +PREHOOK: type: QUERY +PREHOOK: Input: default@ivdp_temp +PREHOOK: Input: default@ivdp_temp@ds=today +PREHOOK: Input: default@ivdp_temp@ds=tomorrow +#### A masked pattern was here #### +POSTHOOK: query: select * from ivdp_temp order by ds +POSTHOOK: type: QUERY +POSTHOOK: Input: default@ivdp_temp +POSTHOOK: Input: default@ivdp_temp@ds=today +POSTHOOK: Input: default@ivdp_temp@ds=tomorrow +#### A masked pattern was here #### +1 109.23 and everywhere that mary went today +6553 923.19 the lamb was sure to go tomorrow diff --git a/ql/src/test/results/clientpositive/temp_table_insert_values_partitioned.q.out b/ql/src/test/results/clientpositive/temp_table_insert_values_partitioned.q.out new file mode 100644 index 0000000000..f9d9b7a04a --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_insert_values_partitioned.q.out @@ -0,0 +1,73 @@ +PREHOOK: query: create temporary table acid_ivp_temp(ti tinyint, + si smallint, + i int, + bi bigint, + f float, + d double, + de decimal(5,2), + t timestamp, + dt date, + s string, + vc varchar(128), + ch char(12)) partitioned by (ds string) clustered by (i) into 2 buckets stored as orc TBLPROPERTIES ('transactional'='true') +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@acid_ivp_temp +POSTHOOK: query: create temporary table acid_ivp_temp(ti tinyint, + si smallint, + i int, + bi bigint, + f float, + d double, + de decimal(5,2), + t timestamp, + dt date, + s string, + vc varchar(128), + ch char(12)) partitioned by (ds string) clustered by (i) into 2 buckets stored as orc TBLPROPERTIES ('transactional'='true') +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@acid_ivp_temp +PREHOOK: query: alter table acid_ivp_temp add partition (ds='today') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@acid_ivp_temp +POSTHOOK: query: alter table acid_ivp_temp add partition (ds='today') +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@acid_ivp_temp +POSTHOOK: Output: default@acid_ivp_temp@ds=today +PREHOOK: query: insert into table acid_ivp_temp partition (ds='today') values +(1, 257, 65537, 4294967297, 3.14, 3.141592654, 109.23, '2014-08-25 17:21:30.0', '2014-08-25', 'mary had a little lamb', 'ring around the rosie', 'red'), +(3, 25, 6553, 429496729, 0.14, 1923.141592654, 1.2301, '2014-08-24 17:21:30.0', '2014-08-26', 'its fleece was white as snow', 'a pocket full of posies', 'blue') +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@acid_ivp_temp@ds=today +POSTHOOK: query: insert into table acid_ivp_temp partition (ds='today') values +(1, 257, 65537, 4294967297, 3.14, 3.141592654, 109.23, '2014-08-25 17:21:30.0', '2014-08-25', 'mary had a little lamb', 'ring around the rosie', 'red'), +(3, 25, 6553, 429496729, 0.14, 1923.141592654, 1.2301, '2014-08-24 17:21:30.0', '2014-08-26', 'its fleece was white as snow', 'a pocket full of posies', 'blue') +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@acid_ivp_temp@ds=today +POSTHOOK: Lineage: acid_ivp_temp PARTITION(ds=today).bi SCRIPT [] +POSTHOOK: Lineage: acid_ivp_temp PARTITION(ds=today).ch SCRIPT [] +POSTHOOK: Lineage: acid_ivp_temp PARTITION(ds=today).d SCRIPT [] +POSTHOOK: Lineage: acid_ivp_temp PARTITION(ds=today).de SCRIPT [] +POSTHOOK: Lineage: acid_ivp_temp PARTITION(ds=today).dt SCRIPT [] +POSTHOOK: Lineage: acid_ivp_temp PARTITION(ds=today).f SCRIPT [] +POSTHOOK: Lineage: acid_ivp_temp PARTITION(ds=today).i SCRIPT [] +POSTHOOK: Lineage: acid_ivp_temp PARTITION(ds=today).s SCRIPT [] +POSTHOOK: Lineage: acid_ivp_temp PARTITION(ds=today).si SCRIPT [] +POSTHOOK: Lineage: acid_ivp_temp PARTITION(ds=today).t SCRIPT [] +POSTHOOK: Lineage: acid_ivp_temp PARTITION(ds=today).ti SCRIPT [] +POSTHOOK: Lineage: acid_ivp_temp PARTITION(ds=today).vc SCRIPT [] +PREHOOK: query: select * from acid_ivp_temp order by i +PREHOOK: type: QUERY +PREHOOK: Input: default@acid_ivp_temp +PREHOOK: Input: default@acid_ivp_temp@ds=today +#### A masked pattern was here #### +POSTHOOK: query: select * from acid_ivp_temp order by i +POSTHOOK: type: QUERY +POSTHOOK: Input: default@acid_ivp_temp +POSTHOOK: Input: default@acid_ivp_temp@ds=today +#### A masked pattern was here #### +3 25 6553 429496729 0.14 1923.141592654 1.23 2014-08-24 17:21:30 2014-08-26 its fleece was white as snow a pocket full of posies blue today +1 257 65537 4294967297 3.14 3.141592654 109.23 2014-08-25 17:21:30 2014-08-25 mary had a little lamb ring around the rosie red today diff --git a/ql/src/test/results/clientpositive/temp_table_insert_with_move_files_from_source_dir.q.out b/ql/src/test/results/clientpositive/temp_table_insert_with_move_files_from_source_dir.q.out new file mode 100644 index 0000000000..b6dd9cc601 --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_insert_with_move_files_from_source_dir.q.out @@ -0,0 +1,138 @@ +PREHOOK: query: create temporary table emp1_temp (id int, name string, dept int, country string) row format delimited fields terminated by '|' stored as textfile +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@emp1_temp +POSTHOOK: query: create temporary table emp1_temp (id int, name string, dept int, country string) row format delimited fields terminated by '|' stored as textfile +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@emp1_temp +PREHOOK: query: load data local inpath '../../data/files/employee_part.txt' overwrite into table emp1_temp +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@emp1_temp +POSTHOOK: query: load data local inpath '../../data/files/employee_part.txt' overwrite into table emp1_temp +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@emp1_temp +PREHOOK: query: select * from emp1_temp order by id +PREHOOK: type: QUERY +PREHOOK: Input: default@emp1_temp +#### A masked pattern was here #### +POSTHOOK: query: select * from emp1_temp order by id +POSTHOOK: type: QUERY +POSTHOOK: Input: default@emp1_temp +#### A masked pattern was here #### +16 john 4000 USA +17 robert 2000 USA +18 andrew 4000 USA +19 katty 2000 USA +27 edward 4000 UK +29 alan 3000 UK +31 kerry 4000 UK +34 tom 3000 UK +35 zack 2000 UK +PREHOOK: query: create temporary table emp2_temp (id int, name string, dept int, country string) stored as textfile +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@emp2_temp +POSTHOOK: query: create temporary table emp2_temp (id int, name string, dept int, country string) stored as textfile +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@emp2_temp +PREHOOK: query: insert overwrite table emp2_temp select * from emp1_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@emp1_temp +PREHOOK: Output: default@emp2_temp +POSTHOOK: query: insert overwrite table emp2_temp select * from emp1_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@emp1_temp +POSTHOOK: Output: default@emp2_temp +POSTHOOK: Lineage: emp2_temp.country SIMPLE [(emp1_temp)emp1_temp.FieldSchema(name:country, type:string, comment:null), ] +POSTHOOK: Lineage: emp2_temp.dept SIMPLE [(emp1_temp)emp1_temp.FieldSchema(name:dept, type:int, comment:null), ] +POSTHOOK: Lineage: emp2_temp.id SIMPLE [(emp1_temp)emp1_temp.FieldSchema(name:id, type:int, comment:null), ] +POSTHOOK: Lineage: emp2_temp.name SIMPLE [(emp1_temp)emp1_temp.FieldSchema(name:name, type:string, comment:null), ] +PREHOOK: query: select * from emp2_temp order by id +PREHOOK: type: QUERY +PREHOOK: Input: default@emp2_temp +#### A masked pattern was here #### +POSTHOOK: query: select * from emp2_temp order by id +POSTHOOK: type: QUERY +POSTHOOK: Input: default@emp2_temp +#### A masked pattern was here #### +16 john 4000 USA +17 robert 2000 USA +18 andrew 4000 USA +19 katty 2000 USA +27 edward 4000 UK +29 alan 3000 UK +31 kerry 4000 UK +34 tom 3000 UK +35 zack 2000 UK +PREHOOK: query: create temporary table emp1_temp_part_bucket_temp (id int, name string) partitioned by (dept int, country string) clustered by (id) into 4 buckets +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@emp1_temp_part_bucket_temp +POSTHOOK: query: create temporary table emp1_temp_part_bucket_temp (id int, name string) partitioned by (dept int, country string) clustered by (id) into 4 buckets +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@emp1_temp_part_bucket_temp +PREHOOK: query: insert overwrite table emp1_temp_part_bucket_temp partition (dept, country) select * from emp1_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@emp1_temp +PREHOOK: Output: default@emp1_temp_part_bucket_temp +POSTHOOK: query: insert overwrite table emp1_temp_part_bucket_temp partition (dept, country) select * from emp1_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@emp1_temp +POSTHOOK: Output: default@emp1_temp_part_bucket_temp@dept=2000/country=UK +POSTHOOK: Output: default@emp1_temp_part_bucket_temp@dept=2000/country=USA +POSTHOOK: Output: default@emp1_temp_part_bucket_temp@dept=3000/country=UK +POSTHOOK: Output: default@emp1_temp_part_bucket_temp@dept=4000/country=UK +POSTHOOK: Output: default@emp1_temp_part_bucket_temp@dept=4000/country=USA +POSTHOOK: Lineage: emp1_temp_part_bucket_temp PARTITION(dept=2000,country=UK).id SIMPLE [(emp1_temp)emp1_temp.FieldSchema(name:id, type:int, comment:null), ] +POSTHOOK: Lineage: emp1_temp_part_bucket_temp PARTITION(dept=2000,country=UK).name SIMPLE [(emp1_temp)emp1_temp.FieldSchema(name:name, type:string, comment:null), ] +POSTHOOK: Lineage: emp1_temp_part_bucket_temp PARTITION(dept=2000,country=USA).id SIMPLE [(emp1_temp)emp1_temp.FieldSchema(name:id, type:int, comment:null), ] +POSTHOOK: Lineage: emp1_temp_part_bucket_temp PARTITION(dept=2000,country=USA).name SIMPLE [(emp1_temp)emp1_temp.FieldSchema(name:name, type:string, comment:null), ] +POSTHOOK: Lineage: emp1_temp_part_bucket_temp PARTITION(dept=3000,country=UK).id SIMPLE [(emp1_temp)emp1_temp.FieldSchema(name:id, type:int, comment:null), ] +POSTHOOK: Lineage: emp1_temp_part_bucket_temp PARTITION(dept=3000,country=UK).name SIMPLE [(emp1_temp)emp1_temp.FieldSchema(name:name, type:string, comment:null), ] +POSTHOOK: Lineage: emp1_temp_part_bucket_temp PARTITION(dept=4000,country=UK).id SIMPLE [(emp1_temp)emp1_temp.FieldSchema(name:id, type:int, comment:null), ] +POSTHOOK: Lineage: emp1_temp_part_bucket_temp PARTITION(dept=4000,country=UK).name SIMPLE [(emp1_temp)emp1_temp.FieldSchema(name:name, type:string, comment:null), ] +POSTHOOK: Lineage: emp1_temp_part_bucket_temp PARTITION(dept=4000,country=USA).id SIMPLE [(emp1_temp)emp1_temp.FieldSchema(name:id, type:int, comment:null), ] +POSTHOOK: Lineage: emp1_temp_part_bucket_temp PARTITION(dept=4000,country=USA).name SIMPLE [(emp1_temp)emp1_temp.FieldSchema(name:name, type:string, comment:null), ] +PREHOOK: query: show partitions emp1_temp_part_bucket_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@emp1_temp_part_bucket_temp +POSTHOOK: query: show partitions emp1_temp_part_bucket_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@emp1_temp_part_bucket_temp +dept=2000/country=UK +dept=2000/country=USA +dept=3000/country=UK +dept=4000/country=UK +dept=4000/country=USA +PREHOOK: query: select * from emp1_temp_part_bucket_temp order by id +PREHOOK: type: QUERY +PREHOOK: Input: default@emp1_temp_part_bucket_temp +PREHOOK: Input: default@emp1_temp_part_bucket_temp@dept=2000/country=UK +PREHOOK: Input: default@emp1_temp_part_bucket_temp@dept=2000/country=USA +PREHOOK: Input: default@emp1_temp_part_bucket_temp@dept=3000/country=UK +PREHOOK: Input: default@emp1_temp_part_bucket_temp@dept=4000/country=UK +PREHOOK: Input: default@emp1_temp_part_bucket_temp@dept=4000/country=USA +#### A masked pattern was here #### +POSTHOOK: query: select * from emp1_temp_part_bucket_temp order by id +POSTHOOK: type: QUERY +POSTHOOK: Input: default@emp1_temp_part_bucket_temp +POSTHOOK: Input: default@emp1_temp_part_bucket_temp@dept=2000/country=UK +POSTHOOK: Input: default@emp1_temp_part_bucket_temp@dept=2000/country=USA +POSTHOOK: Input: default@emp1_temp_part_bucket_temp@dept=3000/country=UK +POSTHOOK: Input: default@emp1_temp_part_bucket_temp@dept=4000/country=UK +POSTHOOK: Input: default@emp1_temp_part_bucket_temp@dept=4000/country=USA +#### A masked pattern was here #### +16 john 4000 USA +17 robert 2000 USA +18 andrew 4000 USA +19 katty 2000 USA +27 edward 4000 UK +29 alan 3000 UK +31 kerry 4000 UK +34 tom 3000 UK +35 zack 2000 UK diff --git a/ql/src/test/results/clientpositive/temp_table_load_dyn_part1.q.out b/ql/src/test/results/clientpositive/temp_table_load_dyn_part1.q.out new file mode 100644 index 0000000000..b862b1c4fc --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_load_dyn_part1.q.out @@ -0,0 +1,2305 @@ +PREHOOK: query: show partitions srcpart +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@srcpart +POSTHOOK: query: show partitions srcpart +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@srcpart +ds=2008-04-08/hr=11 +ds=2008-04-08/hr=12 +ds=2008-04-09/hr=11 +ds=2008-04-09/hr=12 +PREHOOK: query: create temporary table if not exists temp_part1_n0 like srcpart +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@temp_part1_n0 +POSTHOOK: query: create temporary table if not exists temp_part1_n0 like srcpart +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@temp_part1_n0 +PREHOOK: query: create temporary table if not exists temp_part2_n0 like srcpart +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@temp_part2_n0 +POSTHOOK: query: create temporary table if not exists temp_part2_n0 like srcpart +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@temp_part2_n0 +PREHOOK: query: describe extended temp_part1_n0 +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@temp_part1_n0 +POSTHOOK: query: describe extended temp_part1_n0 +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@temp_part1_n0 +key string default +value string default +ds string +hr string + +# Partition Information +# col_name data_type comment +ds string +hr string + +#### A masked pattern was here #### +PREHOOK: query: explain +from srcpart +insert overwrite table temp_part1_n0 partition (ds, hr) select key, value, ds, hr where ds <= '2008-04-08' +insert overwrite table temp_part2_n0 partition(ds='2008-12-31', hr) select key, value, hr where ds > '2008-04-08' +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +PREHOOK: Output: default@temp_part1_n0 +PREHOOK: Output: default@temp_part2_n0@ds=2008-12-31 +POSTHOOK: query: explain +from srcpart +insert overwrite table temp_part1_n0 partition (ds, hr) select key, value, ds, hr where ds <= '2008-04-08' +insert overwrite table temp_part2_n0 partition(ds='2008-12-31', hr) select key, value, hr where ds > '2008-04-08' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/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 + Map Operator Tree: + TableScan + alias: srcpart + Statistics: Num rows: 2000 Data size: 1092000 Basic stats: COMPLETE Column stats: COMPLETE + Filter Operator + predicate: (ds <= '2008-04-08') (type: boolean) + Statistics: Num rows: 666 Data size: 363636 Basic stats: COMPLETE Column stats: COMPLETE + Select Operator + expressions: key (type: string), value (type: string), ds (type: string), hr (type: string) + outputColumnNames: _col0, _col1, _col2, _col3 + Statistics: Num rows: 666 Data size: 363636 Basic stats: COMPLETE Column stats: COMPLETE + File Output Operator + compressed: false + Statistics: Num rows: 666 Data size: 363636 Basic stats: COMPLETE Column stats: COMPLETE + table: + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.temp_part1_n0 + Filter Operator + predicate: (ds > '2008-04-08') (type: boolean) + Statistics: Num rows: 666 Data size: 363636 Basic stats: COMPLETE Column stats: COMPLETE + Select Operator + expressions: key (type: string), value (type: string), hr (type: string) + outputColumnNames: _col0, _col1, _col2 + Statistics: Num rows: 666 Data size: 241092 Basic stats: COMPLETE Column stats: COMPLETE + File Output Operator + compressed: false + Statistics: Num rows: 666 Data size: 241092 Basic stats: COMPLETE Column stats: COMPLETE + table: + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.temp_part2_n0 + Execution mode: vectorized + + Stage: Stage-8 + Conditional Operator + + Stage: Stage-5 + Move Operator + files: + hdfs directory: true +#### A masked pattern was here #### + + Stage: Stage-0 + Move Operator + tables: + partition: + ds + hr + replace: true + table: + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.temp_part1_n0 + + Stage: Stage-3 + Stats Work + Basic Stats Work: + + Stage: Stage-4 + Map Reduce + Map Operator Tree: + TableScan + File Output Operator + compressed: false + table: + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.temp_part1_n0 + + Stage: Stage-6 + Map Reduce + Map Operator Tree: + TableScan + File Output Operator + compressed: false + table: + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.temp_part1_n0 + + Stage: Stage-7 + Move Operator + files: + hdfs directory: true +#### A masked pattern was here #### + + Stage: Stage-14 + Conditional Operator + + Stage: Stage-11 + Move Operator + files: + hdfs directory: true +#### A masked pattern was here #### + + 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: default.temp_part2_n0 + + Stage: Stage-9 + Stats Work + Basic Stats Work: + + Stage: Stage-10 + Map Reduce + Map Operator Tree: + TableScan + File Output Operator + compressed: false + table: + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.temp_part2_n0 + + Stage: Stage-12 + Map Reduce + Map Operator Tree: + TableScan + File Output Operator + compressed: false + table: + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.temp_part2_n0 + + Stage: Stage-13 + Move Operator + files: + hdfs directory: true +#### A masked pattern was here #### + +PREHOOK: query: from srcpart +insert overwrite table temp_part1_n0 partition (ds, hr) select key, value, ds, hr where ds <= '2008-04-08' +insert overwrite table temp_part2_n0 partition(ds='2008-12-31', hr) select key, value, hr where ds > '2008-04-08' +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +PREHOOK: Output: default@temp_part1_n0 +PREHOOK: Output: default@temp_part2_n0@ds=2008-12-31 +POSTHOOK: query: from srcpart +insert overwrite table temp_part1_n0 partition (ds, hr) select key, value, ds, hr where ds <= '2008-04-08' +insert overwrite table temp_part2_n0 partition(ds='2008-12-31', hr) select key, value, hr where ds > '2008-04-08' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +POSTHOOK: Output: default@temp_part1_n0@ds=2008-04-08/hr=11 +POSTHOOK: Output: default@temp_part1_n0@ds=2008-04-08/hr=12 +POSTHOOK: Output: default@temp_part2_n0@ds=2008-12-31/hr=11 +POSTHOOK: Output: default@temp_part2_n0@ds=2008-12-31/hr=12 +POSTHOOK: Lineage: temp_part1_n0 PARTITION(ds=2008-04-08,hr=11).key SIMPLE [(srcpart)srcpart.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: temp_part1_n0 PARTITION(ds=2008-04-08,hr=11).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: temp_part1_n0 PARTITION(ds=2008-04-08,hr=12).key SIMPLE [(srcpart)srcpart.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: temp_part1_n0 PARTITION(ds=2008-04-08,hr=12).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: temp_part2_n0 PARTITION(ds=2008-12-31,hr=11).key SIMPLE [(srcpart)srcpart.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: temp_part2_n0 PARTITION(ds=2008-12-31,hr=11).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: temp_part2_n0 PARTITION(ds=2008-12-31,hr=12).key SIMPLE [(srcpart)srcpart.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: temp_part2_n0 PARTITION(ds=2008-12-31,hr=12).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: show partitions temp_part1_n0 +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@temp_part1_n0 +POSTHOOK: query: show partitions temp_part1_n0 +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@temp_part1_n0 +ds=2008-04-08/hr=11 +ds=2008-04-08/hr=12 +PREHOOK: query: show partitions temp_part2_n0 +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@temp_part2_n0 +POSTHOOK: query: show partitions temp_part2_n0 +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@temp_part2_n0 +ds=2008-12-31/hr=11 +ds=2008-12-31/hr=12 +PREHOOK: query: select * from temp_part1_n0 where ds is not null and hr is not null +PREHOOK: type: QUERY +PREHOOK: Input: default@temp_part1_n0 +PREHOOK: Input: default@temp_part1_n0@ds=2008-04-08/hr=11 +PREHOOK: Input: default@temp_part1_n0@ds=2008-04-08/hr=12 +#### A masked pattern was here #### +POSTHOOK: query: select * from temp_part1_n0 where ds is not null and hr is not null +POSTHOOK: type: QUERY +POSTHOOK: Input: default@temp_part1_n0 +POSTHOOK: Input: default@temp_part1_n0@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@temp_part1_n0@ds=2008-04-08/hr=12 +#### A masked pattern was here #### +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 +PREHOOK: query: select * from temp_part2_n0 where ds is not null and hr is not null +PREHOOK: type: QUERY +PREHOOK: Input: default@temp_part2_n0 +PREHOOK: Input: default@temp_part2_n0@ds=2008-12-31/hr=11 +PREHOOK: Input: default@temp_part2_n0@ds=2008-12-31/hr=12 +#### A masked pattern was here #### +POSTHOOK: query: select * from temp_part2_n0 where ds is not null and hr is not null +POSTHOOK: type: QUERY +POSTHOOK: Input: default@temp_part2_n0 +POSTHOOK: Input: default@temp_part2_n0@ds=2008-12-31/hr=11 +POSTHOOK: Input: default@temp_part2_n0@ds=2008-12-31/hr=12 +#### A masked pattern was here #### +0 val_0 2008-12-31 11 +0 val_0 2008-12-31 11 +0 val_0 2008-12-31 11 +0 val_0 2008-12-31 12 +0 val_0 2008-12-31 12 +0 val_0 2008-12-31 12 +10 val_10 2008-12-31 11 +10 val_10 2008-12-31 12 +100 val_100 2008-12-31 11 +100 val_100 2008-12-31 11 +100 val_100 2008-12-31 12 +100 val_100 2008-12-31 12 +103 val_103 2008-12-31 11 +103 val_103 2008-12-31 11 +103 val_103 2008-12-31 12 +103 val_103 2008-12-31 12 +104 val_104 2008-12-31 11 +104 val_104 2008-12-31 11 +104 val_104 2008-12-31 12 +104 val_104 2008-12-31 12 +105 val_105 2008-12-31 11 +105 val_105 2008-12-31 12 +11 val_11 2008-12-31 11 +11 val_11 2008-12-31 12 +111 val_111 2008-12-31 11 +111 val_111 2008-12-31 12 +113 val_113 2008-12-31 11 +113 val_113 2008-12-31 11 +113 val_113 2008-12-31 12 +113 val_113 2008-12-31 12 +114 val_114 2008-12-31 11 +114 val_114 2008-12-31 12 +116 val_116 2008-12-31 11 +116 val_116 2008-12-31 12 +118 val_118 2008-12-31 11 +118 val_118 2008-12-31 11 +118 val_118 2008-12-31 12 +118 val_118 2008-12-31 12 +119 val_119 2008-12-31 11 +119 val_119 2008-12-31 11 +119 val_119 2008-12-31 11 +119 val_119 2008-12-31 12 +119 val_119 2008-12-31 12 +119 val_119 2008-12-31 12 +12 val_12 2008-12-31 11 +12 val_12 2008-12-31 11 +12 val_12 2008-12-31 12 +12 val_12 2008-12-31 12 +120 val_120 2008-12-31 11 +120 val_120 2008-12-31 11 +120 val_120 2008-12-31 12 +120 val_120 2008-12-31 12 +125 val_125 2008-12-31 11 +125 val_125 2008-12-31 11 +125 val_125 2008-12-31 12 +125 val_125 2008-12-31 12 +126 val_126 2008-12-31 11 +126 val_126 2008-12-31 12 +128 val_128 2008-12-31 11 +128 val_128 2008-12-31 11 +128 val_128 2008-12-31 11 +128 val_128 2008-12-31 12 +128 val_128 2008-12-31 12 +128 val_128 2008-12-31 12 +129 val_129 2008-12-31 11 +129 val_129 2008-12-31 11 +129 val_129 2008-12-31 12 +129 val_129 2008-12-31 12 +131 val_131 2008-12-31 11 +131 val_131 2008-12-31 12 +133 val_133 2008-12-31 11 +133 val_133 2008-12-31 12 +134 val_134 2008-12-31 11 +134 val_134 2008-12-31 11 +134 val_134 2008-12-31 12 +134 val_134 2008-12-31 12 +136 val_136 2008-12-31 11 +136 val_136 2008-12-31 12 +137 val_137 2008-12-31 11 +137 val_137 2008-12-31 11 +137 val_137 2008-12-31 12 +137 val_137 2008-12-31 12 +138 val_138 2008-12-31 11 +138 val_138 2008-12-31 11 +138 val_138 2008-12-31 11 +138 val_138 2008-12-31 11 +138 val_138 2008-12-31 12 +138 val_138 2008-12-31 12 +138 val_138 2008-12-31 12 +138 val_138 2008-12-31 12 +143 val_143 2008-12-31 11 +143 val_143 2008-12-31 12 +145 val_145 2008-12-31 11 +145 val_145 2008-12-31 12 +146 val_146 2008-12-31 11 +146 val_146 2008-12-31 11 +146 val_146 2008-12-31 12 +146 val_146 2008-12-31 12 +149 val_149 2008-12-31 11 +149 val_149 2008-12-31 11 +149 val_149 2008-12-31 12 +149 val_149 2008-12-31 12 +15 val_15 2008-12-31 11 +15 val_15 2008-12-31 11 +15 val_15 2008-12-31 12 +15 val_15 2008-12-31 12 +150 val_150 2008-12-31 11 +150 val_150 2008-12-31 12 +152 val_152 2008-12-31 11 +152 val_152 2008-12-31 11 +152 val_152 2008-12-31 12 +152 val_152 2008-12-31 12 +153 val_153 2008-12-31 11 +153 val_153 2008-12-31 12 +155 val_155 2008-12-31 11 +155 val_155 2008-12-31 12 +156 val_156 2008-12-31 11 +156 val_156 2008-12-31 12 +157 val_157 2008-12-31 11 +157 val_157 2008-12-31 12 +158 val_158 2008-12-31 11 +158 val_158 2008-12-31 12 +160 val_160 2008-12-31 11 +160 val_160 2008-12-31 12 +162 val_162 2008-12-31 11 +162 val_162 2008-12-31 12 +163 val_163 2008-12-31 11 +163 val_163 2008-12-31 12 +164 val_164 2008-12-31 11 +164 val_164 2008-12-31 11 +164 val_164 2008-12-31 12 +164 val_164 2008-12-31 12 +165 val_165 2008-12-31 11 +165 val_165 2008-12-31 11 +165 val_165 2008-12-31 12 +165 val_165 2008-12-31 12 +166 val_166 2008-12-31 11 +166 val_166 2008-12-31 12 +167 val_167 2008-12-31 11 +167 val_167 2008-12-31 11 +167 val_167 2008-12-31 11 +167 val_167 2008-12-31 12 +167 val_167 2008-12-31 12 +167 val_167 2008-12-31 12 +168 val_168 2008-12-31 11 +168 val_168 2008-12-31 12 +169 val_169 2008-12-31 11 +169 val_169 2008-12-31 11 +169 val_169 2008-12-31 11 +169 val_169 2008-12-31 11 +169 val_169 2008-12-31 12 +169 val_169 2008-12-31 12 +169 val_169 2008-12-31 12 +169 val_169 2008-12-31 12 +17 val_17 2008-12-31 11 +17 val_17 2008-12-31 12 +170 val_170 2008-12-31 11 +170 val_170 2008-12-31 12 +172 val_172 2008-12-31 11 +172 val_172 2008-12-31 11 +172 val_172 2008-12-31 12 +172 val_172 2008-12-31 12 +174 val_174 2008-12-31 11 +174 val_174 2008-12-31 11 +174 val_174 2008-12-31 12 +174 val_174 2008-12-31 12 +175 val_175 2008-12-31 11 +175 val_175 2008-12-31 11 +175 val_175 2008-12-31 12 +175 val_175 2008-12-31 12 +176 val_176 2008-12-31 11 +176 val_176 2008-12-31 11 +176 val_176 2008-12-31 12 +176 val_176 2008-12-31 12 +177 val_177 2008-12-31 11 +177 val_177 2008-12-31 12 +178 val_178 2008-12-31 11 +178 val_178 2008-12-31 12 +179 val_179 2008-12-31 11 +179 val_179 2008-12-31 11 +179 val_179 2008-12-31 12 +179 val_179 2008-12-31 12 +18 val_18 2008-12-31 11 +18 val_18 2008-12-31 11 +18 val_18 2008-12-31 12 +18 val_18 2008-12-31 12 +180 val_180 2008-12-31 11 +180 val_180 2008-12-31 12 +181 val_181 2008-12-31 11 +181 val_181 2008-12-31 12 +183 val_183 2008-12-31 11 +183 val_183 2008-12-31 12 +186 val_186 2008-12-31 11 +186 val_186 2008-12-31 12 +187 val_187 2008-12-31 11 +187 val_187 2008-12-31 11 +187 val_187 2008-12-31 11 +187 val_187 2008-12-31 12 +187 val_187 2008-12-31 12 +187 val_187 2008-12-31 12 +189 val_189 2008-12-31 11 +189 val_189 2008-12-31 12 +19 val_19 2008-12-31 11 +19 val_19 2008-12-31 12 +190 val_190 2008-12-31 11 +190 val_190 2008-12-31 12 +191 val_191 2008-12-31 11 +191 val_191 2008-12-31 11 +191 val_191 2008-12-31 12 +191 val_191 2008-12-31 12 +192 val_192 2008-12-31 11 +192 val_192 2008-12-31 12 +193 val_193 2008-12-31 11 +193 val_193 2008-12-31 11 +193 val_193 2008-12-31 11 +193 val_193 2008-12-31 12 +193 val_193 2008-12-31 12 +193 val_193 2008-12-31 12 +194 val_194 2008-12-31 11 +194 val_194 2008-12-31 12 +195 val_195 2008-12-31 11 +195 val_195 2008-12-31 11 +195 val_195 2008-12-31 12 +195 val_195 2008-12-31 12 +196 val_196 2008-12-31 11 +196 val_196 2008-12-31 12 +197 val_197 2008-12-31 11 +197 val_197 2008-12-31 11 +197 val_197 2008-12-31 12 +197 val_197 2008-12-31 12 +199 val_199 2008-12-31 11 +199 val_199 2008-12-31 11 +199 val_199 2008-12-31 11 +199 val_199 2008-12-31 12 +199 val_199 2008-12-31 12 +199 val_199 2008-12-31 12 +2 val_2 2008-12-31 11 +2 val_2 2008-12-31 12 +20 val_20 2008-12-31 11 +20 val_20 2008-12-31 12 +200 val_200 2008-12-31 11 +200 val_200 2008-12-31 11 +200 val_200 2008-12-31 12 +200 val_200 2008-12-31 12 +201 val_201 2008-12-31 11 +201 val_201 2008-12-31 12 +202 val_202 2008-12-31 11 +202 val_202 2008-12-31 12 +203 val_203 2008-12-31 11 +203 val_203 2008-12-31 11 +203 val_203 2008-12-31 12 +203 val_203 2008-12-31 12 +205 val_205 2008-12-31 11 +205 val_205 2008-12-31 11 +205 val_205 2008-12-31 12 +205 val_205 2008-12-31 12 +207 val_207 2008-12-31 11 +207 val_207 2008-12-31 11 +207 val_207 2008-12-31 12 +207 val_207 2008-12-31 12 +208 val_208 2008-12-31 11 +208 val_208 2008-12-31 11 +208 val_208 2008-12-31 11 +208 val_208 2008-12-31 12 +208 val_208 2008-12-31 12 +208 val_208 2008-12-31 12 +209 val_209 2008-12-31 11 +209 val_209 2008-12-31 11 +209 val_209 2008-12-31 12 +209 val_209 2008-12-31 12 +213 val_213 2008-12-31 11 +213 val_213 2008-12-31 11 +213 val_213 2008-12-31 12 +213 val_213 2008-12-31 12 +214 val_214 2008-12-31 11 +214 val_214 2008-12-31 12 +216 val_216 2008-12-31 11 +216 val_216 2008-12-31 11 +216 val_216 2008-12-31 12 +216 val_216 2008-12-31 12 +217 val_217 2008-12-31 11 +217 val_217 2008-12-31 11 +217 val_217 2008-12-31 12 +217 val_217 2008-12-31 12 +218 val_218 2008-12-31 11 +218 val_218 2008-12-31 12 +219 val_219 2008-12-31 11 +219 val_219 2008-12-31 11 +219 val_219 2008-12-31 12 +219 val_219 2008-12-31 12 +221 val_221 2008-12-31 11 +221 val_221 2008-12-31 11 +221 val_221 2008-12-31 12 +221 val_221 2008-12-31 12 +222 val_222 2008-12-31 11 +222 val_222 2008-12-31 12 +223 val_223 2008-12-31 11 +223 val_223 2008-12-31 11 +223 val_223 2008-12-31 12 +223 val_223 2008-12-31 12 +224 val_224 2008-12-31 11 +224 val_224 2008-12-31 11 +224 val_224 2008-12-31 12 +224 val_224 2008-12-31 12 +226 val_226 2008-12-31 11 +226 val_226 2008-12-31 12 +228 val_228 2008-12-31 11 +228 val_228 2008-12-31 12 +229 val_229 2008-12-31 11 +229 val_229 2008-12-31 11 +229 val_229 2008-12-31 12 +229 val_229 2008-12-31 12 +230 val_230 2008-12-31 11 +230 val_230 2008-12-31 11 +230 val_230 2008-12-31 11 +230 val_230 2008-12-31 11 +230 val_230 2008-12-31 11 +230 val_230 2008-12-31 12 +230 val_230 2008-12-31 12 +230 val_230 2008-12-31 12 +230 val_230 2008-12-31 12 +230 val_230 2008-12-31 12 +233 val_233 2008-12-31 11 +233 val_233 2008-12-31 11 +233 val_233 2008-12-31 12 +233 val_233 2008-12-31 12 +235 val_235 2008-12-31 11 +235 val_235 2008-12-31 12 +237 val_237 2008-12-31 11 +237 val_237 2008-12-31 11 +237 val_237 2008-12-31 12 +237 val_237 2008-12-31 12 +238 val_238 2008-12-31 11 +238 val_238 2008-12-31 11 +238 val_238 2008-12-31 12 +238 val_238 2008-12-31 12 +239 val_239 2008-12-31 11 +239 val_239 2008-12-31 11 +239 val_239 2008-12-31 12 +239 val_239 2008-12-31 12 +24 val_24 2008-12-31 11 +24 val_24 2008-12-31 11 +24 val_24 2008-12-31 12 +24 val_24 2008-12-31 12 +241 val_241 2008-12-31 11 +241 val_241 2008-12-31 12 +242 val_242 2008-12-31 11 +242 val_242 2008-12-31 11 +242 val_242 2008-12-31 12 +242 val_242 2008-12-31 12 +244 val_244 2008-12-31 11 +244 val_244 2008-12-31 12 +247 val_247 2008-12-31 11 +247 val_247 2008-12-31 12 +248 val_248 2008-12-31 11 +248 val_248 2008-12-31 12 +249 val_249 2008-12-31 11 +249 val_249 2008-12-31 12 +252 val_252 2008-12-31 11 +252 val_252 2008-12-31 12 +255 val_255 2008-12-31 11 +255 val_255 2008-12-31 11 +255 val_255 2008-12-31 12 +255 val_255 2008-12-31 12 +256 val_256 2008-12-31 11 +256 val_256 2008-12-31 11 +256 val_256 2008-12-31 12 +256 val_256 2008-12-31 12 +257 val_257 2008-12-31 11 +257 val_257 2008-12-31 12 +258 val_258 2008-12-31 11 +258 val_258 2008-12-31 12 +26 val_26 2008-12-31 11 +26 val_26 2008-12-31 11 +26 val_26 2008-12-31 12 +26 val_26 2008-12-31 12 +260 val_260 2008-12-31 11 +260 val_260 2008-12-31 12 +262 val_262 2008-12-31 11 +262 val_262 2008-12-31 12 +263 val_263 2008-12-31 11 +263 val_263 2008-12-31 12 +265 val_265 2008-12-31 11 +265 val_265 2008-12-31 11 +265 val_265 2008-12-31 12 +265 val_265 2008-12-31 12 +266 val_266 2008-12-31 11 +266 val_266 2008-12-31 12 +27 val_27 2008-12-31 11 +27 val_27 2008-12-31 12 +272 val_272 2008-12-31 11 +272 val_272 2008-12-31 11 +272 val_272 2008-12-31 12 +272 val_272 2008-12-31 12 +273 val_273 2008-12-31 11 +273 val_273 2008-12-31 11 +273 val_273 2008-12-31 11 +273 val_273 2008-12-31 12 +273 val_273 2008-12-31 12 +273 val_273 2008-12-31 12 +274 val_274 2008-12-31 11 +274 val_274 2008-12-31 12 +275 val_275 2008-12-31 11 +275 val_275 2008-12-31 12 +277 val_277 2008-12-31 11 +277 val_277 2008-12-31 11 +277 val_277 2008-12-31 11 +277 val_277 2008-12-31 11 +277 val_277 2008-12-31 12 +277 val_277 2008-12-31 12 +277 val_277 2008-12-31 12 +277 val_277 2008-12-31 12 +278 val_278 2008-12-31 11 +278 val_278 2008-12-31 11 +278 val_278 2008-12-31 12 +278 val_278 2008-12-31 12 +28 val_28 2008-12-31 11 +28 val_28 2008-12-31 12 +280 val_280 2008-12-31 11 +280 val_280 2008-12-31 11 +280 val_280 2008-12-31 12 +280 val_280 2008-12-31 12 +281 val_281 2008-12-31 11 +281 val_281 2008-12-31 11 +281 val_281 2008-12-31 12 +281 val_281 2008-12-31 12 +282 val_282 2008-12-31 11 +282 val_282 2008-12-31 11 +282 val_282 2008-12-31 12 +282 val_282 2008-12-31 12 +283 val_283 2008-12-31 11 +283 val_283 2008-12-31 12 +284 val_284 2008-12-31 11 +284 val_284 2008-12-31 12 +285 val_285 2008-12-31 11 +285 val_285 2008-12-31 12 +286 val_286 2008-12-31 11 +286 val_286 2008-12-31 12 +287 val_287 2008-12-31 11 +287 val_287 2008-12-31 12 +288 val_288 2008-12-31 11 +288 val_288 2008-12-31 11 +288 val_288 2008-12-31 12 +288 val_288 2008-12-31 12 +289 val_289 2008-12-31 11 +289 val_289 2008-12-31 12 +291 val_291 2008-12-31 11 +291 val_291 2008-12-31 12 +292 val_292 2008-12-31 11 +292 val_292 2008-12-31 12 +296 val_296 2008-12-31 11 +296 val_296 2008-12-31 12 +298 val_298 2008-12-31 11 +298 val_298 2008-12-31 11 +298 val_298 2008-12-31 11 +298 val_298 2008-12-31 12 +298 val_298 2008-12-31 12 +298 val_298 2008-12-31 12 +30 val_30 2008-12-31 11 +30 val_30 2008-12-31 12 +302 val_302 2008-12-31 11 +302 val_302 2008-12-31 12 +305 val_305 2008-12-31 11 +305 val_305 2008-12-31 12 +306 val_306 2008-12-31 11 +306 val_306 2008-12-31 12 +307 val_307 2008-12-31 11 +307 val_307 2008-12-31 11 +307 val_307 2008-12-31 12 +307 val_307 2008-12-31 12 +308 val_308 2008-12-31 11 +308 val_308 2008-12-31 12 +309 val_309 2008-12-31 11 +309 val_309 2008-12-31 11 +309 val_309 2008-12-31 12 +309 val_309 2008-12-31 12 +310 val_310 2008-12-31 11 +310 val_310 2008-12-31 12 +311 val_311 2008-12-31 11 +311 val_311 2008-12-31 11 +311 val_311 2008-12-31 11 +311 val_311 2008-12-31 12 +311 val_311 2008-12-31 12 +311 val_311 2008-12-31 12 +315 val_315 2008-12-31 11 +315 val_315 2008-12-31 12 +316 val_316 2008-12-31 11 +316 val_316 2008-12-31 11 +316 val_316 2008-12-31 11 +316 val_316 2008-12-31 12 +316 val_316 2008-12-31 12 +316 val_316 2008-12-31 12 +317 val_317 2008-12-31 11 +317 val_317 2008-12-31 11 +317 val_317 2008-12-31 12 +317 val_317 2008-12-31 12 +318 val_318 2008-12-31 11 +318 val_318 2008-12-31 11 +318 val_318 2008-12-31 11 +318 val_318 2008-12-31 12 +318 val_318 2008-12-31 12 +318 val_318 2008-12-31 12 +321 val_321 2008-12-31 11 +321 val_321 2008-12-31 11 +321 val_321 2008-12-31 12 +321 val_321 2008-12-31 12 +322 val_322 2008-12-31 11 +322 val_322 2008-12-31 11 +322 val_322 2008-12-31 12 +322 val_322 2008-12-31 12 +323 val_323 2008-12-31 11 +323 val_323 2008-12-31 12 +325 val_325 2008-12-31 11 +325 val_325 2008-12-31 11 +325 val_325 2008-12-31 12 +325 val_325 2008-12-31 12 +327 val_327 2008-12-31 11 +327 val_327 2008-12-31 11 +327 val_327 2008-12-31 11 +327 val_327 2008-12-31 12 +327 val_327 2008-12-31 12 +327 val_327 2008-12-31 12 +33 val_33 2008-12-31 11 +33 val_33 2008-12-31 12 +331 val_331 2008-12-31 11 +331 val_331 2008-12-31 11 +331 val_331 2008-12-31 12 +331 val_331 2008-12-31 12 +332 val_332 2008-12-31 11 +332 val_332 2008-12-31 12 +333 val_333 2008-12-31 11 +333 val_333 2008-12-31 11 +333 val_333 2008-12-31 12 +333 val_333 2008-12-31 12 +335 val_335 2008-12-31 11 +335 val_335 2008-12-31 12 +336 val_336 2008-12-31 11 +336 val_336 2008-12-31 12 +338 val_338 2008-12-31 11 +338 val_338 2008-12-31 12 +339 val_339 2008-12-31 11 +339 val_339 2008-12-31 12 +34 val_34 2008-12-31 11 +34 val_34 2008-12-31 12 +341 val_341 2008-12-31 11 +341 val_341 2008-12-31 12 +342 val_342 2008-12-31 11 +342 val_342 2008-12-31 11 +342 val_342 2008-12-31 12 +342 val_342 2008-12-31 12 +344 val_344 2008-12-31 11 +344 val_344 2008-12-31 11 +344 val_344 2008-12-31 12 +344 val_344 2008-12-31 12 +345 val_345 2008-12-31 11 +345 val_345 2008-12-31 12 +348 val_348 2008-12-31 11 +348 val_348 2008-12-31 11 +348 val_348 2008-12-31 11 +348 val_348 2008-12-31 11 +348 val_348 2008-12-31 11 +348 val_348 2008-12-31 12 +348 val_348 2008-12-31 12 +348 val_348 2008-12-31 12 +348 val_348 2008-12-31 12 +348 val_348 2008-12-31 12 +35 val_35 2008-12-31 11 +35 val_35 2008-12-31 11 +35 val_35 2008-12-31 11 +35 val_35 2008-12-31 12 +35 val_35 2008-12-31 12 +35 val_35 2008-12-31 12 +351 val_351 2008-12-31 11 +351 val_351 2008-12-31 12 +353 val_353 2008-12-31 11 +353 val_353 2008-12-31 11 +353 val_353 2008-12-31 12 +353 val_353 2008-12-31 12 +356 val_356 2008-12-31 11 +356 val_356 2008-12-31 12 +360 val_360 2008-12-31 11 +360 val_360 2008-12-31 12 +362 val_362 2008-12-31 11 +362 val_362 2008-12-31 12 +364 val_364 2008-12-31 11 +364 val_364 2008-12-31 12 +365 val_365 2008-12-31 11 +365 val_365 2008-12-31 12 +366 val_366 2008-12-31 11 +366 val_366 2008-12-31 12 +367 val_367 2008-12-31 11 +367 val_367 2008-12-31 11 +367 val_367 2008-12-31 12 +367 val_367 2008-12-31 12 +368 val_368 2008-12-31 11 +368 val_368 2008-12-31 12 +369 val_369 2008-12-31 11 +369 val_369 2008-12-31 11 +369 val_369 2008-12-31 11 +369 val_369 2008-12-31 12 +369 val_369 2008-12-31 12 +369 val_369 2008-12-31 12 +37 val_37 2008-12-31 11 +37 val_37 2008-12-31 11 +37 val_37 2008-12-31 12 +37 val_37 2008-12-31 12 +373 val_373 2008-12-31 11 +373 val_373 2008-12-31 12 +374 val_374 2008-12-31 11 +374 val_374 2008-12-31 12 +375 val_375 2008-12-31 11 +375 val_375 2008-12-31 12 +377 val_377 2008-12-31 11 +377 val_377 2008-12-31 12 +378 val_378 2008-12-31 11 +378 val_378 2008-12-31 12 +379 val_379 2008-12-31 11 +379 val_379 2008-12-31 12 +382 val_382 2008-12-31 11 +382 val_382 2008-12-31 11 +382 val_382 2008-12-31 12 +382 val_382 2008-12-31 12 +384 val_384 2008-12-31 11 +384 val_384 2008-12-31 11 +384 val_384 2008-12-31 11 +384 val_384 2008-12-31 12 +384 val_384 2008-12-31 12 +384 val_384 2008-12-31 12 +386 val_386 2008-12-31 11 +386 val_386 2008-12-31 12 +389 val_389 2008-12-31 11 +389 val_389 2008-12-31 12 +392 val_392 2008-12-31 11 +392 val_392 2008-12-31 12 +393 val_393 2008-12-31 11 +393 val_393 2008-12-31 12 +394 val_394 2008-12-31 11 +394 val_394 2008-12-31 12 +395 val_395 2008-12-31 11 +395 val_395 2008-12-31 11 +395 val_395 2008-12-31 12 +395 val_395 2008-12-31 12 +396 val_396 2008-12-31 11 +396 val_396 2008-12-31 11 +396 val_396 2008-12-31 11 +396 val_396 2008-12-31 12 +396 val_396 2008-12-31 12 +396 val_396 2008-12-31 12 +397 val_397 2008-12-31 11 +397 val_397 2008-12-31 11 +397 val_397 2008-12-31 12 +397 val_397 2008-12-31 12 +399 val_399 2008-12-31 11 +399 val_399 2008-12-31 11 +399 val_399 2008-12-31 12 +399 val_399 2008-12-31 12 +4 val_4 2008-12-31 11 +4 val_4 2008-12-31 12 +400 val_400 2008-12-31 11 +400 val_400 2008-12-31 12 +401 val_401 2008-12-31 11 +401 val_401 2008-12-31 11 +401 val_401 2008-12-31 11 +401 val_401 2008-12-31 11 +401 val_401 2008-12-31 11 +401 val_401 2008-12-31 12 +401 val_401 2008-12-31 12 +401 val_401 2008-12-31 12 +401 val_401 2008-12-31 12 +401 val_401 2008-12-31 12 +402 val_402 2008-12-31 11 +402 val_402 2008-12-31 12 +403 val_403 2008-12-31 11 +403 val_403 2008-12-31 11 +403 val_403 2008-12-31 11 +403 val_403 2008-12-31 12 +403 val_403 2008-12-31 12 +403 val_403 2008-12-31 12 +404 val_404 2008-12-31 11 +404 val_404 2008-12-31 11 +404 val_404 2008-12-31 12 +404 val_404 2008-12-31 12 +406 val_406 2008-12-31 11 +406 val_406 2008-12-31 11 +406 val_406 2008-12-31 11 +406 val_406 2008-12-31 11 +406 val_406 2008-12-31 12 +406 val_406 2008-12-31 12 +406 val_406 2008-12-31 12 +406 val_406 2008-12-31 12 +407 val_407 2008-12-31 11 +407 val_407 2008-12-31 12 +409 val_409 2008-12-31 11 +409 val_409 2008-12-31 11 +409 val_409 2008-12-31 11 +409 val_409 2008-12-31 12 +409 val_409 2008-12-31 12 +409 val_409 2008-12-31 12 +41 val_41 2008-12-31 11 +41 val_41 2008-12-31 12 +411 val_411 2008-12-31 11 +411 val_411 2008-12-31 12 +413 val_413 2008-12-31 11 +413 val_413 2008-12-31 11 +413 val_413 2008-12-31 12 +413 val_413 2008-12-31 12 +414 val_414 2008-12-31 11 +414 val_414 2008-12-31 11 +414 val_414 2008-12-31 12 +414 val_414 2008-12-31 12 +417 val_417 2008-12-31 11 +417 val_417 2008-12-31 11 +417 val_417 2008-12-31 11 +417 val_417 2008-12-31 12 +417 val_417 2008-12-31 12 +417 val_417 2008-12-31 12 +418 val_418 2008-12-31 11 +418 val_418 2008-12-31 12 +419 val_419 2008-12-31 11 +419 val_419 2008-12-31 12 +42 val_42 2008-12-31 11 +42 val_42 2008-12-31 11 +42 val_42 2008-12-31 12 +42 val_42 2008-12-31 12 +421 val_421 2008-12-31 11 +421 val_421 2008-12-31 12 +424 val_424 2008-12-31 11 +424 val_424 2008-12-31 11 +424 val_424 2008-12-31 12 +424 val_424 2008-12-31 12 +427 val_427 2008-12-31 11 +427 val_427 2008-12-31 12 +429 val_429 2008-12-31 11 +429 val_429 2008-12-31 11 +429 val_429 2008-12-31 12 +429 val_429 2008-12-31 12 +43 val_43 2008-12-31 11 +43 val_43 2008-12-31 12 +430 val_430 2008-12-31 11 +430 val_430 2008-12-31 11 +430 val_430 2008-12-31 11 +430 val_430 2008-12-31 12 +430 val_430 2008-12-31 12 +430 val_430 2008-12-31 12 +431 val_431 2008-12-31 11 +431 val_431 2008-12-31 11 +431 val_431 2008-12-31 11 +431 val_431 2008-12-31 12 +431 val_431 2008-12-31 12 +431 val_431 2008-12-31 12 +432 val_432 2008-12-31 11 +432 val_432 2008-12-31 12 +435 val_435 2008-12-31 11 +435 val_435 2008-12-31 12 +436 val_436 2008-12-31 11 +436 val_436 2008-12-31 12 +437 val_437 2008-12-31 11 +437 val_437 2008-12-31 12 +438 val_438 2008-12-31 11 +438 val_438 2008-12-31 11 +438 val_438 2008-12-31 11 +438 val_438 2008-12-31 12 +438 val_438 2008-12-31 12 +438 val_438 2008-12-31 12 +439 val_439 2008-12-31 11 +439 val_439 2008-12-31 11 +439 val_439 2008-12-31 12 +439 val_439 2008-12-31 12 +44 val_44 2008-12-31 11 +44 val_44 2008-12-31 12 +443 val_443 2008-12-31 11 +443 val_443 2008-12-31 12 +444 val_444 2008-12-31 11 +444 val_444 2008-12-31 12 +446 val_446 2008-12-31 11 +446 val_446 2008-12-31 12 +448 val_448 2008-12-31 11 +448 val_448 2008-12-31 12 +449 val_449 2008-12-31 11 +449 val_449 2008-12-31 12 +452 val_452 2008-12-31 11 +452 val_452 2008-12-31 12 +453 val_453 2008-12-31 11 +453 val_453 2008-12-31 12 +454 val_454 2008-12-31 11 +454 val_454 2008-12-31 11 +454 val_454 2008-12-31 11 +454 val_454 2008-12-31 12 +454 val_454 2008-12-31 12 +454 val_454 2008-12-31 12 +455 val_455 2008-12-31 11 +455 val_455 2008-12-31 12 +457 val_457 2008-12-31 11 +457 val_457 2008-12-31 12 +458 val_458 2008-12-31 11 +458 val_458 2008-12-31 11 +458 val_458 2008-12-31 12 +458 val_458 2008-12-31 12 +459 val_459 2008-12-31 11 +459 val_459 2008-12-31 11 +459 val_459 2008-12-31 12 +459 val_459 2008-12-31 12 +460 val_460 2008-12-31 11 +460 val_460 2008-12-31 12 +462 val_462 2008-12-31 11 +462 val_462 2008-12-31 11 +462 val_462 2008-12-31 12 +462 val_462 2008-12-31 12 +463 val_463 2008-12-31 11 +463 val_463 2008-12-31 11 +463 val_463 2008-12-31 12 +463 val_463 2008-12-31 12 +466 val_466 2008-12-31 11 +466 val_466 2008-12-31 11 +466 val_466 2008-12-31 11 +466 val_466 2008-12-31 12 +466 val_466 2008-12-31 12 +466 val_466 2008-12-31 12 +467 val_467 2008-12-31 11 +467 val_467 2008-12-31 12 +468 val_468 2008-12-31 11 +468 val_468 2008-12-31 11 +468 val_468 2008-12-31 11 +468 val_468 2008-12-31 11 +468 val_468 2008-12-31 12 +468 val_468 2008-12-31 12 +468 val_468 2008-12-31 12 +468 val_468 2008-12-31 12 +469 val_469 2008-12-31 11 +469 val_469 2008-12-31 11 +469 val_469 2008-12-31 11 +469 val_469 2008-12-31 11 +469 val_469 2008-12-31 11 +469 val_469 2008-12-31 12 +469 val_469 2008-12-31 12 +469 val_469 2008-12-31 12 +469 val_469 2008-12-31 12 +469 val_469 2008-12-31 12 +47 val_47 2008-12-31 11 +47 val_47 2008-12-31 12 +470 val_470 2008-12-31 11 +470 val_470 2008-12-31 12 +472 val_472 2008-12-31 11 +472 val_472 2008-12-31 12 +475 val_475 2008-12-31 11 +475 val_475 2008-12-31 12 +477 val_477 2008-12-31 11 +477 val_477 2008-12-31 12 +478 val_478 2008-12-31 11 +478 val_478 2008-12-31 11 +478 val_478 2008-12-31 12 +478 val_478 2008-12-31 12 +479 val_479 2008-12-31 11 +479 val_479 2008-12-31 12 +480 val_480 2008-12-31 11 +480 val_480 2008-12-31 11 +480 val_480 2008-12-31 11 +480 val_480 2008-12-31 12 +480 val_480 2008-12-31 12 +480 val_480 2008-12-31 12 +481 val_481 2008-12-31 11 +481 val_481 2008-12-31 12 +482 val_482 2008-12-31 11 +482 val_482 2008-12-31 12 +483 val_483 2008-12-31 11 +483 val_483 2008-12-31 12 +484 val_484 2008-12-31 11 +484 val_484 2008-12-31 12 +485 val_485 2008-12-31 11 +485 val_485 2008-12-31 12 +487 val_487 2008-12-31 11 +487 val_487 2008-12-31 12 +489 val_489 2008-12-31 11 +489 val_489 2008-12-31 11 +489 val_489 2008-12-31 11 +489 val_489 2008-12-31 11 +489 val_489 2008-12-31 12 +489 val_489 2008-12-31 12 +489 val_489 2008-12-31 12 +489 val_489 2008-12-31 12 +490 val_490 2008-12-31 11 +490 val_490 2008-12-31 12 +491 val_491 2008-12-31 11 +491 val_491 2008-12-31 12 +492 val_492 2008-12-31 11 +492 val_492 2008-12-31 11 +492 val_492 2008-12-31 12 +492 val_492 2008-12-31 12 +493 val_493 2008-12-31 11 +493 val_493 2008-12-31 12 +494 val_494 2008-12-31 11 +494 val_494 2008-12-31 12 +495 val_495 2008-12-31 11 +495 val_495 2008-12-31 12 +496 val_496 2008-12-31 11 +496 val_496 2008-12-31 12 +497 val_497 2008-12-31 11 +497 val_497 2008-12-31 12 +498 val_498 2008-12-31 11 +498 val_498 2008-12-31 11 +498 val_498 2008-12-31 11 +498 val_498 2008-12-31 12 +498 val_498 2008-12-31 12 +498 val_498 2008-12-31 12 +5 val_5 2008-12-31 11 +5 val_5 2008-12-31 11 +5 val_5 2008-12-31 11 +5 val_5 2008-12-31 12 +5 val_5 2008-12-31 12 +5 val_5 2008-12-31 12 +51 val_51 2008-12-31 11 +51 val_51 2008-12-31 11 +51 val_51 2008-12-31 12 +51 val_51 2008-12-31 12 +53 val_53 2008-12-31 11 +53 val_53 2008-12-31 12 +54 val_54 2008-12-31 11 +54 val_54 2008-12-31 12 +57 val_57 2008-12-31 11 +57 val_57 2008-12-31 12 +58 val_58 2008-12-31 11 +58 val_58 2008-12-31 11 +58 val_58 2008-12-31 12 +58 val_58 2008-12-31 12 +64 val_64 2008-12-31 11 +64 val_64 2008-12-31 12 +65 val_65 2008-12-31 11 +65 val_65 2008-12-31 12 +66 val_66 2008-12-31 11 +66 val_66 2008-12-31 12 +67 val_67 2008-12-31 11 +67 val_67 2008-12-31 11 +67 val_67 2008-12-31 12 +67 val_67 2008-12-31 12 +69 val_69 2008-12-31 11 +69 val_69 2008-12-31 12 +70 val_70 2008-12-31 11 +70 val_70 2008-12-31 11 +70 val_70 2008-12-31 11 +70 val_70 2008-12-31 12 +70 val_70 2008-12-31 12 +70 val_70 2008-12-31 12 +72 val_72 2008-12-31 11 +72 val_72 2008-12-31 11 +72 val_72 2008-12-31 12 +72 val_72 2008-12-31 12 +74 val_74 2008-12-31 11 +74 val_74 2008-12-31 12 +76 val_76 2008-12-31 11 +76 val_76 2008-12-31 11 +76 val_76 2008-12-31 12 +76 val_76 2008-12-31 12 +77 val_77 2008-12-31 11 +77 val_77 2008-12-31 12 +78 val_78 2008-12-31 11 +78 val_78 2008-12-31 12 +8 val_8 2008-12-31 11 +8 val_8 2008-12-31 12 +80 val_80 2008-12-31 11 +80 val_80 2008-12-31 12 +82 val_82 2008-12-31 11 +82 val_82 2008-12-31 12 +83 val_83 2008-12-31 11 +83 val_83 2008-12-31 11 +83 val_83 2008-12-31 12 +83 val_83 2008-12-31 12 +84 val_84 2008-12-31 11 +84 val_84 2008-12-31 11 +84 val_84 2008-12-31 12 +84 val_84 2008-12-31 12 +85 val_85 2008-12-31 11 +85 val_85 2008-12-31 12 +86 val_86 2008-12-31 11 +86 val_86 2008-12-31 12 +87 val_87 2008-12-31 11 +87 val_87 2008-12-31 12 +9 val_9 2008-12-31 11 +9 val_9 2008-12-31 12 +90 val_90 2008-12-31 11 +90 val_90 2008-12-31 11 +90 val_90 2008-12-31 11 +90 val_90 2008-12-31 12 +90 val_90 2008-12-31 12 +90 val_90 2008-12-31 12 +92 val_92 2008-12-31 11 +92 val_92 2008-12-31 12 +95 val_95 2008-12-31 11 +95 val_95 2008-12-31 11 +95 val_95 2008-12-31 12 +95 val_95 2008-12-31 12 +96 val_96 2008-12-31 11 +96 val_96 2008-12-31 12 +97 val_97 2008-12-31 11 +97 val_97 2008-12-31 11 +97 val_97 2008-12-31 12 +97 val_97 2008-12-31 12 +98 val_98 2008-12-31 11 +98 val_98 2008-12-31 11 +98 val_98 2008-12-31 12 +98 val_98 2008-12-31 12 diff --git a/ql/src/test/results/clientpositive/temp_table_loadpart1.q.out b/ql/src/test/results/clientpositive/temp_table_loadpart1.q.out new file mode 100644 index 0000000000..fd1326ca9f --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_loadpart1.q.out @@ -0,0 +1,98 @@ +PREHOOK: query: create temporary table hive_test_src_n2_temp ( col1 string ) stored as textfile +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@hive_test_src_n2_temp +POSTHOOK: query: create temporary table hive_test_src_n2_temp ( col1 string ) stored as textfile +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@hive_test_src_n2_temp +PREHOOK: query: load data local inpath '../../data/files/test.dat' overwrite into table hive_test_src_n2_temp +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@hive_test_src_n2_temp +POSTHOOK: query: load data local inpath '../../data/files/test.dat' overwrite into table hive_test_src_n2_temp +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@hive_test_src_n2_temp +PREHOOK: query: create temporary table hive_test_dst_temp ( col1 string ) partitioned by ( pcol1 string , pcol2 string) stored as sequencefile +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@hive_test_dst_temp +POSTHOOK: query: create temporary table hive_test_dst_temp ( col1 string ) partitioned by ( pcol1 string , pcol2 string) stored as sequencefile +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@hive_test_dst_temp +PREHOOK: query: insert overwrite table hive_test_dst_temp partition ( pcol1='test_part', pCol2='test_Part') select col1 from hive_test_src_n2_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@hive_test_src_n2_temp +PREHOOK: Output: default@hive_test_dst_temp@pcol1=test_part/pcol2=test_Part +POSTHOOK: query: insert overwrite table hive_test_dst_temp partition ( pcol1='test_part', pCol2='test_Part') select col1 from hive_test_src_n2_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@hive_test_src_n2_temp +POSTHOOK: Output: default@hive_test_dst_temp@pcol1=test_part/pcol2=test_Part +POSTHOOK: Lineage: hive_test_dst_temp PARTITION(pcol1=test_part,pcol2=test_Part).col1 SIMPLE [(hive_test_src_n2_temp)hive_test_src_n2_temp.FieldSchema(name:col1, type:string, comment:null), ] +PREHOOK: query: select * from hive_test_dst_temp where pcol1='test_part' and pcol2='test_Part' +PREHOOK: type: QUERY +PREHOOK: Input: default@hive_test_dst_temp +PREHOOK: Input: default@hive_test_dst_temp@pcol1=test_part/pcol2=test_Part +#### A masked pattern was here #### +POSTHOOK: query: select * from hive_test_dst_temp where pcol1='test_part' and pcol2='test_Part' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@hive_test_dst_temp +POSTHOOK: Input: default@hive_test_dst_temp@pcol1=test_part/pcol2=test_Part +#### A masked pattern was here #### +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 +PREHOOK: query: insert overwrite table hive_test_dst_temp partition ( pCol1='test_part', pcol2='test_Part') select col1 from hive_test_src_n2_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@hive_test_src_n2_temp +PREHOOK: Output: default@hive_test_dst_temp@pcol1=test_part/pcol2=test_Part +POSTHOOK: query: insert overwrite table hive_test_dst_temp partition ( pCol1='test_part', pcol2='test_Part') select col1 from hive_test_src_n2_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@hive_test_src_n2_temp +POSTHOOK: Output: default@hive_test_dst_temp@pcol1=test_part/pcol2=test_Part +POSTHOOK: Lineage: hive_test_dst_temp PARTITION(pcol1=test_part,pcol2=test_Part).col1 SIMPLE [(hive_test_src_n2_temp)hive_test_src_n2_temp.FieldSchema(name:col1, type:string, comment:null), ] +PREHOOK: query: select * from hive_test_dst_temp where pcol1='test_part' and pcol2='test_part' +PREHOOK: type: QUERY +PREHOOK: Input: default@hive_test_dst_temp +#### A masked pattern was here #### +POSTHOOK: query: select * from hive_test_dst_temp where pcol1='test_part' and pcol2='test_part' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@hive_test_dst_temp +#### A masked pattern was here #### +PREHOOK: query: select * from hive_test_dst_temp where pcol1='test_part' +PREHOOK: type: QUERY +PREHOOK: Input: default@hive_test_dst_temp +PREHOOK: Input: default@hive_test_dst_temp@pcol1=test_part/pcol2=test_Part +#### A masked pattern was here #### +POSTHOOK: query: select * from hive_test_dst_temp where pcol1='test_part' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@hive_test_dst_temp +POSTHOOK: Input: default@hive_test_dst_temp@pcol1=test_part/pcol2=test_Part +#### A masked pattern was here #### +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 +PREHOOK: query: select * from hive_test_dst_temp where pcol1='test_part' and pcol2='test_part' +PREHOOK: type: QUERY +PREHOOK: Input: default@hive_test_dst_temp +#### A masked pattern was here #### +POSTHOOK: query: select * from hive_test_dst_temp where pcol1='test_part' and pcol2='test_part' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@hive_test_dst_temp +#### A masked pattern was here #### +PREHOOK: query: select * from hive_test_dst_temp where pcol1='test_Part' +PREHOOK: type: QUERY +PREHOOK: Input: default@hive_test_dst_temp +#### A masked pattern was here #### +POSTHOOK: query: select * from hive_test_dst_temp where pcol1='test_Part' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@hive_test_dst_temp +#### A masked pattern was here #### diff --git a/ql/src/test/results/clientpositive/temp_table_loadpart2.q.out b/ql/src/test/results/clientpositive/temp_table_loadpart2.q.out new file mode 100644 index 0000000000..1035b95f71 --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_loadpart2.q.out @@ -0,0 +1,58 @@ +PREHOOK: query: create temporary table hive_test_temp ( col1 string ) partitioned by ( pcol1 string , pcol2 string) stored as textfile +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@hive_test_temp +POSTHOOK: query: create temporary table hive_test_temp ( col1 string ) partitioned by ( pcol1 string , pcol2 string) stored as textfile +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@hive_test_temp +PREHOOK: query: load data local inpath '../../data/files/test.dat' overwrite into table hive_test_temp partition (pcol1='part1',pcol2='part1') +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@hive_test_temp +POSTHOOK: query: load data local inpath '../../data/files/test.dat' overwrite into table hive_test_temp partition (pcol1='part1',pcol2='part1') +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@hive_test_temp +POSTHOOK: Output: default@hive_test_temp@pcol1=part1/pcol2=part1 +PREHOOK: query: load data local inpath '../../data/files/test.dat' overwrite into table hive_test_temp partition (pcol2='part2',pcol1='part2') +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@hive_test_temp +POSTHOOK: query: load data local inpath '../../data/files/test.dat' overwrite into table hive_test_temp partition (pcol2='part2',pcol1='part2') +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@hive_test_temp +POSTHOOK: Output: default@hive_test_temp@pcol1=part2/pcol2=part2 +PREHOOK: query: select * from hive_test_temp where pcol1='part1' and pcol2='part1' +PREHOOK: type: QUERY +PREHOOK: Input: default@hive_test_temp +PREHOOK: Input: default@hive_test_temp@pcol1=part1/pcol2=part1 +#### A masked pattern was here #### +POSTHOOK: query: select * from hive_test_temp where pcol1='part1' and pcol2='part1' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@hive_test_temp +POSTHOOK: Input: default@hive_test_temp@pcol1=part1/pcol2=part1 +#### A masked pattern was here #### +1 part1 part1 +2 part1 part1 +3 part1 part1 +4 part1 part1 +5 part1 part1 +6 part1 part1 +PREHOOK: query: select * from hive_test_temp where pcol1='part2' and pcol2='part2' +PREHOOK: type: QUERY +PREHOOK: Input: default@hive_test_temp +PREHOOK: Input: default@hive_test_temp@pcol1=part2/pcol2=part2 +#### A masked pattern was here #### +POSTHOOK: query: select * from hive_test_temp where pcol1='part2' and pcol2='part2' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@hive_test_temp +POSTHOOK: Input: default@hive_test_temp@pcol1=part2/pcol2=part2 +#### A masked pattern was here #### +1 part2 part2 +2 part2 part2 +3 part2 part2 +4 part2 part2 +5 part2 part2 +6 part2 part2 diff --git a/ql/src/test/results/clientpositive/temp_table_merge_dynamic_partition.q.out b/ql/src/test/results/clientpositive/temp_table_merge_dynamic_partition.q.out new file mode 100644 index 0000000000..8701288334 --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_merge_dynamic_partition.q.out @@ -0,0 +1,1978 @@ +PREHOOK: query: create temporary table srcpart_merge_dp_n1_temp like srcpart +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@srcpart_merge_dp_n1_temp +POSTHOOK: query: create temporary table srcpart_merge_dp_n1_temp like srcpart +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@srcpart_merge_dp_n1_temp +PREHOOK: query: create temporary table merge_dynamic_part_n1_temp like srcpart +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@merge_dynamic_part_n1_temp +POSTHOOK: query: create temporary table merge_dynamic_part_n1_temp like srcpart +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@merge_dynamic_part_n1_temp +PREHOOK: query: load data local inpath '../../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp_n1_temp partition(ds='2008-04-08', hr=11) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_n1_temp +POSTHOOK: query: load data local inpath '../../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp_n1_temp partition(ds='2008-04-08', hr=11) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_n1_temp +POSTHOOK: Output: default@srcpart_merge_dp_n1_temp@ds=2008-04-08/hr=11 +PREHOOK: query: load data local inpath '../../data/files/srcbucket21.txt' INTO TABLE srcpart_merge_dp_n1_temp partition(ds='2008-04-08', hr=11) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_n1_temp@ds=2008-04-08/hr=11 +POSTHOOK: query: load data local inpath '../../data/files/srcbucket21.txt' INTO TABLE srcpart_merge_dp_n1_temp partition(ds='2008-04-08', hr=11) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_n1_temp@ds=2008-04-08/hr=11 +PREHOOK: query: load data local inpath '../../data/files/srcbucket22.txt' INTO TABLE srcpart_merge_dp_n1_temp partition(ds='2008-04-08', hr=11) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_n1_temp@ds=2008-04-08/hr=11 +POSTHOOK: query: load data local inpath '../../data/files/srcbucket22.txt' INTO TABLE srcpart_merge_dp_n1_temp partition(ds='2008-04-08', hr=11) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_n1_temp@ds=2008-04-08/hr=11 +PREHOOK: query: load data local inpath '../../data/files/srcbucket23.txt' INTO TABLE srcpart_merge_dp_n1_temp partition(ds='2008-04-08', hr=11) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_n1_temp@ds=2008-04-08/hr=11 +POSTHOOK: query: load data local inpath '../../data/files/srcbucket23.txt' INTO TABLE srcpart_merge_dp_n1_temp partition(ds='2008-04-08', hr=11) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_n1_temp@ds=2008-04-08/hr=11 +PREHOOK: query: explain +insert overwrite table merge_dynamic_part_n1_temp partition (ds='2008-04-08', hr) select key, value, hr from srcpart_merge_dp_n1_temp where ds='2008-04-08' +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart_merge_dp_n1_temp +PREHOOK: Input: default@srcpart_merge_dp_n1_temp@ds=2008-04-08/hr=11 +PREHOOK: Output: default@merge_dynamic_part_n1_temp@ds=2008-04-08 +POSTHOOK: query: explain +insert overwrite table merge_dynamic_part_n1_temp partition (ds='2008-04-08', hr) select key, value, hr from srcpart_merge_dp_n1_temp where ds='2008-04-08' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart_merge_dp_n1_temp +POSTHOOK: Input: default@srcpart_merge_dp_n1_temp@ds=2008-04-08/hr=11 +STAGE DEPENDENCIES: + Stage-1 is a root stage + Stage-0 depends on stages: Stage-1 + Stage-2 depends on stages: Stage-0 + +STAGE PLANS: + Stage: Stage-1 + Map Reduce + Map Operator Tree: + TableScan + alias: srcpart_merge_dp_n1_temp + filterExpr: (ds = '2008-04-08') (type: boolean) + Statistics: Num rows: 99 Data size: 49864 Basic stats: PARTIAL Column stats: PARTIAL + Select Operator + expressions: key (type: string), value (type: string), hr (type: string) + outputColumnNames: _col0, _col1, _col2 + Statistics: Num rows: 99 Data size: 49864 Basic stats: PARTIAL Column stats: PARTIAL + Reduce Output Operator + key expressions: _col2 (type: string) + sort order: + + Map-reduce partition columns: _col2 (type: string) + Statistics: Num rows: 99 Data size: 49864 Basic stats: PARTIAL Column stats: PARTIAL + value expressions: _col0 (type: string), _col1 (type: string) + Reduce Operator Tree: + Select Operator + expressions: VALUE._col0 (type: string), VALUE._col1 (type: string), KEY._col2 (type: string) + outputColumnNames: _col0, _col1, _col2 + File Output Operator + compressed: false + Dp Sort State: PARTITION_SORTED + Statistics: Num rows: 99 Data size: 49864 Basic stats: PARTIAL Column stats: PARTIAL + table: + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.merge_dynamic_part_n1_temp + + 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: default.merge_dynamic_part_n1_temp + + Stage: Stage-2 + Stats Work + Basic Stats Work: + +PREHOOK: query: insert overwrite table merge_dynamic_part_n1_temp partition (ds='2008-04-08', hr) select key, value, hr from srcpart_merge_dp_n1_temp where ds='2008-04-08' +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart_merge_dp_n1_temp +PREHOOK: Input: default@srcpart_merge_dp_n1_temp@ds=2008-04-08/hr=11 +PREHOOK: Output: default@merge_dynamic_part_n1_temp@ds=2008-04-08 +POSTHOOK: query: insert overwrite table merge_dynamic_part_n1_temp partition (ds='2008-04-08', hr) select key, value, hr from srcpart_merge_dp_n1_temp where ds='2008-04-08' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart_merge_dp_n1_temp +POSTHOOK: Input: default@srcpart_merge_dp_n1_temp@ds=2008-04-08/hr=11 +POSTHOOK: Output: default@merge_dynamic_part_n1_temp@ds=2008-04-08/hr=11 +POSTHOOK: Lineage: merge_dynamic_part_n1_temp PARTITION(ds=2008-04-08,hr=11).key SIMPLE [(srcpart_merge_dp_n1_temp)srcpart_merge_dp_n1_temp.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: merge_dynamic_part_n1_temp PARTITION(ds=2008-04-08,hr=11).value SIMPLE [(srcpart_merge_dp_n1_temp)srcpart_merge_dp_n1_temp.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: select * from merge_dynamic_part_n1_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@merge_dynamic_part_n1_temp +PREHOOK: Input: default@merge_dynamic_part_n1_temp@ds=2008-04-08/hr=11 +#### A masked pattern was here #### +POSTHOOK: query: select * from merge_dynamic_part_n1_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@merge_dynamic_part_n1_temp +POSTHOOK: Input: default@merge_dynamic_part_n1_temp@ds=2008-04-08/hr=11 +#### A masked pattern was here #### +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 +100 val_100 2008-04-08 11 +103 val_103 2008-04-08 11 +103 val_103 2008-04-08 11 +104 val_104 2008-04-08 11 +104 val_104 2008-04-08 11 +105 val_105 2008-04-08 11 +11 val_11 2008-04-08 11 +111 val_111 2008-04-08 11 +113 val_113 2008-04-08 11 +113 val_113 2008-04-08 11 +114 val_114 2008-04-08 11 +116 val_116 2008-04-08 11 +118 val_118 2008-04-08 11 +118 val_118 2008-04-08 11 +119 val_119 2008-04-08 11 +119 val_119 2008-04-08 11 +119 val_119 2008-04-08 11 +12 val_12 2008-04-08 11 +12 val_12 2008-04-08 11 +120 val_120 2008-04-08 11 +120 val_120 2008-04-08 11 +125 val_125 2008-04-08 11 +125 val_125 2008-04-08 11 +126 val_126 2008-04-08 11 +128 val_128 2008-04-08 11 +128 val_128 2008-04-08 11 +128 val_128 2008-04-08 11 +129 val_129 2008-04-08 11 +129 val_129 2008-04-08 11 +131 val_131 2008-04-08 11 +133 val_133 2008-04-08 11 +134 val_134 2008-04-08 11 +134 val_134 2008-04-08 11 +136 val_136 2008-04-08 11 +137 val_137 2008-04-08 11 +137 val_137 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 11 +143 val_143 2008-04-08 11 +145 val_145 2008-04-08 11 +146 val_146 2008-04-08 11 +146 val_146 2008-04-08 11 +149 val_149 2008-04-08 11 +149 val_149 2008-04-08 11 +15 val_15 2008-04-08 11 +15 val_15 2008-04-08 11 +150 val_150 2008-04-08 11 +152 val_152 2008-04-08 11 +152 val_152 2008-04-08 11 +153 val_153 2008-04-08 11 +155 val_155 2008-04-08 11 +156 val_156 2008-04-08 11 +157 val_157 2008-04-08 11 +158 val_158 2008-04-08 11 +160 val_160 2008-04-08 11 +162 val_162 2008-04-08 11 +163 val_163 2008-04-08 11 +164 val_164 2008-04-08 11 +164 val_164 2008-04-08 11 +165 val_165 2008-04-08 11 +165 val_165 2008-04-08 11 +166 val_166 2008-04-08 11 +167 val_167 2008-04-08 11 +167 val_167 2008-04-08 11 +167 val_167 2008-04-08 11 +168 val_168 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 11 +17 val_17 2008-04-08 11 +170 val_170 2008-04-08 11 +172 val_172 2008-04-08 11 +172 val_172 2008-04-08 11 +174 val_174 2008-04-08 11 +174 val_174 2008-04-08 11 +175 val_175 2008-04-08 11 +175 val_175 2008-04-08 11 +176 val_176 2008-04-08 11 +176 val_176 2008-04-08 11 +177 val_177 2008-04-08 11 +178 val_178 2008-04-08 11 +179 val_179 2008-04-08 11 +179 val_179 2008-04-08 11 +18 val_18 2008-04-08 11 +18 val_18 2008-04-08 11 +180 val_180 2008-04-08 11 +181 val_181 2008-04-08 11 +183 val_183 2008-04-08 11 +186 val_186 2008-04-08 11 +187 val_187 2008-04-08 11 +187 val_187 2008-04-08 11 +187 val_187 2008-04-08 11 +189 val_189 2008-04-08 11 +19 val_19 2008-04-08 11 +190 val_190 2008-04-08 11 +191 val_191 2008-04-08 11 +191 val_191 2008-04-08 11 +192 val_192 2008-04-08 11 +193 val_193 2008-04-08 11 +193 val_193 2008-04-08 11 +193 val_193 2008-04-08 11 +194 val_194 2008-04-08 11 +195 val_195 2008-04-08 11 +195 val_195 2008-04-08 11 +196 val_196 2008-04-08 11 +197 val_197 2008-04-08 11 +197 val_197 2008-04-08 11 +199 val_199 2008-04-08 11 +199 val_199 2008-04-08 11 +199 val_199 2008-04-08 11 +2 val_2 2008-04-08 11 +20 val_20 2008-04-08 11 +200 val_200 2008-04-08 11 +200 val_200 2008-04-08 11 +201 val_201 2008-04-08 11 +202 val_202 2008-04-08 11 +203 val_203 2008-04-08 11 +203 val_203 2008-04-08 11 +205 val_205 2008-04-08 11 +205 val_205 2008-04-08 11 +207 val_207 2008-04-08 11 +207 val_207 2008-04-08 11 +208 val_208 2008-04-08 11 +208 val_208 2008-04-08 11 +208 val_208 2008-04-08 11 +209 val_209 2008-04-08 11 +209 val_209 2008-04-08 11 +213 val_213 2008-04-08 11 +213 val_213 2008-04-08 11 +214 val_214 2008-04-08 11 +216 val_216 2008-04-08 11 +216 val_216 2008-04-08 11 +217 val_217 2008-04-08 11 +217 val_217 2008-04-08 11 +218 val_218 2008-04-08 11 +219 val_219 2008-04-08 11 +219 val_219 2008-04-08 11 +221 val_221 2008-04-08 11 +221 val_221 2008-04-08 11 +222 val_222 2008-04-08 11 +223 val_223 2008-04-08 11 +223 val_223 2008-04-08 11 +224 val_224 2008-04-08 11 +224 val_224 2008-04-08 11 +226 val_226 2008-04-08 11 +228 val_228 2008-04-08 11 +229 val_229 2008-04-08 11 +229 val_229 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 11 +233 val_233 2008-04-08 11 +233 val_233 2008-04-08 11 +235 val_235 2008-04-08 11 +237 val_237 2008-04-08 11 +237 val_237 2008-04-08 11 +238 val_238 2008-04-08 11 +238 val_238 2008-04-08 11 +239 val_239 2008-04-08 11 +239 val_239 2008-04-08 11 +24 val_24 2008-04-08 11 +24 val_24 2008-04-08 11 +241 val_241 2008-04-08 11 +242 val_242 2008-04-08 11 +242 val_242 2008-04-08 11 +244 val_244 2008-04-08 11 +247 val_247 2008-04-08 11 +248 val_248 2008-04-08 11 +249 val_249 2008-04-08 11 +252 val_252 2008-04-08 11 +255 val_255 2008-04-08 11 +255 val_255 2008-04-08 11 +256 val_256 2008-04-08 11 +256 val_256 2008-04-08 11 +257 val_257 2008-04-08 11 +258 val_258 2008-04-08 11 +26 val_26 2008-04-08 11 +26 val_26 2008-04-08 11 +260 val_260 2008-04-08 11 +262 val_262 2008-04-08 11 +263 val_263 2008-04-08 11 +265 val_265 2008-04-08 11 +265 val_265 2008-04-08 11 +266 val_266 2008-04-08 11 +27 val_27 2008-04-08 11 +272 val_272 2008-04-08 11 +272 val_272 2008-04-08 11 +273 val_273 2008-04-08 11 +273 val_273 2008-04-08 11 +273 val_273 2008-04-08 11 +274 val_274 2008-04-08 11 +275 val_275 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 11 +278 val_278 2008-04-08 11 +278 val_278 2008-04-08 11 +28 val_28 2008-04-08 11 +280 val_280 2008-04-08 11 +280 val_280 2008-04-08 11 +281 val_281 2008-04-08 11 +281 val_281 2008-04-08 11 +282 val_282 2008-04-08 11 +282 val_282 2008-04-08 11 +283 val_283 2008-04-08 11 +284 val_284 2008-04-08 11 +285 val_285 2008-04-08 11 +286 val_286 2008-04-08 11 +287 val_287 2008-04-08 11 +288 val_288 2008-04-08 11 +288 val_288 2008-04-08 11 +289 val_289 2008-04-08 11 +291 val_291 2008-04-08 11 +292 val_292 2008-04-08 11 +296 val_296 2008-04-08 11 +298 val_298 2008-04-08 11 +298 val_298 2008-04-08 11 +298 val_298 2008-04-08 11 +30 val_30 2008-04-08 11 +302 val_302 2008-04-08 11 +305 val_305 2008-04-08 11 +306 val_306 2008-04-08 11 +307 val_307 2008-04-08 11 +307 val_307 2008-04-08 11 +308 val_308 2008-04-08 11 +309 val_309 2008-04-08 11 +309 val_309 2008-04-08 11 +310 val_310 2008-04-08 11 +311 val_311 2008-04-08 11 +311 val_311 2008-04-08 11 +311 val_311 2008-04-08 11 +315 val_315 2008-04-08 11 +316 val_316 2008-04-08 11 +316 val_316 2008-04-08 11 +316 val_316 2008-04-08 11 +317 val_317 2008-04-08 11 +317 val_317 2008-04-08 11 +318 val_318 2008-04-08 11 +318 val_318 2008-04-08 11 +318 val_318 2008-04-08 11 +321 val_321 2008-04-08 11 +321 val_321 2008-04-08 11 +322 val_322 2008-04-08 11 +322 val_322 2008-04-08 11 +323 val_323 2008-04-08 11 +325 val_325 2008-04-08 11 +325 val_325 2008-04-08 11 +327 val_327 2008-04-08 11 +327 val_327 2008-04-08 11 +327 val_327 2008-04-08 11 +33 val_33 2008-04-08 11 +331 val_331 2008-04-08 11 +331 val_331 2008-04-08 11 +332 val_332 2008-04-08 11 +333 val_333 2008-04-08 11 +333 val_333 2008-04-08 11 +335 val_335 2008-04-08 11 +336 val_336 2008-04-08 11 +338 val_338 2008-04-08 11 +339 val_339 2008-04-08 11 +34 val_34 2008-04-08 11 +341 val_341 2008-04-08 11 +342 val_342 2008-04-08 11 +342 val_342 2008-04-08 11 +344 val_344 2008-04-08 11 +344 val_344 2008-04-08 11 +345 val_345 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 11 +35 val_35 2008-04-08 11 +35 val_35 2008-04-08 11 +35 val_35 2008-04-08 11 +351 val_351 2008-04-08 11 +353 val_353 2008-04-08 11 +353 val_353 2008-04-08 11 +356 val_356 2008-04-08 11 +360 val_360 2008-04-08 11 +362 val_362 2008-04-08 11 +364 val_364 2008-04-08 11 +365 val_365 2008-04-08 11 +366 val_366 2008-04-08 11 +367 val_367 2008-04-08 11 +367 val_367 2008-04-08 11 +368 val_368 2008-04-08 11 +369 val_369 2008-04-08 11 +369 val_369 2008-04-08 11 +369 val_369 2008-04-08 11 +37 val_37 2008-04-08 11 +37 val_37 2008-04-08 11 +373 val_373 2008-04-08 11 +374 val_374 2008-04-08 11 +375 val_375 2008-04-08 11 +377 val_377 2008-04-08 11 +378 val_378 2008-04-08 11 +379 val_379 2008-04-08 11 +382 val_382 2008-04-08 11 +382 val_382 2008-04-08 11 +384 val_384 2008-04-08 11 +384 val_384 2008-04-08 11 +384 val_384 2008-04-08 11 +386 val_386 2008-04-08 11 +389 val_389 2008-04-08 11 +392 val_392 2008-04-08 11 +393 val_393 2008-04-08 11 +394 val_394 2008-04-08 11 +395 val_395 2008-04-08 11 +395 val_395 2008-04-08 11 +396 val_396 2008-04-08 11 +396 val_396 2008-04-08 11 +396 val_396 2008-04-08 11 +397 val_397 2008-04-08 11 +397 val_397 2008-04-08 11 +399 val_399 2008-04-08 11 +399 val_399 2008-04-08 11 +4 val_4 2008-04-08 11 +400 val_400 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 11 +402 val_402 2008-04-08 11 +403 val_403 2008-04-08 11 +403 val_403 2008-04-08 11 +403 val_403 2008-04-08 11 +404 val_404 2008-04-08 11 +404 val_404 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 11 +407 val_407 2008-04-08 11 +409 val_409 2008-04-08 11 +409 val_409 2008-04-08 11 +409 val_409 2008-04-08 11 +41 val_41 2008-04-08 11 +411 val_411 2008-04-08 11 +413 val_413 2008-04-08 11 +413 val_413 2008-04-08 11 +414 val_414 2008-04-08 11 +414 val_414 2008-04-08 11 +417 val_417 2008-04-08 11 +417 val_417 2008-04-08 11 +417 val_417 2008-04-08 11 +418 val_418 2008-04-08 11 +419 val_419 2008-04-08 11 +42 val_42 2008-04-08 11 +42 val_42 2008-04-08 11 +421 val_421 2008-04-08 11 +424 val_424 2008-04-08 11 +424 val_424 2008-04-08 11 +427 val_427 2008-04-08 11 +429 val_429 2008-04-08 11 +429 val_429 2008-04-08 11 +43 val_43 2008-04-08 11 +430 val_430 2008-04-08 11 +430 val_430 2008-04-08 11 +430 val_430 2008-04-08 11 +431 val_431 2008-04-08 11 +431 val_431 2008-04-08 11 +431 val_431 2008-04-08 11 +432 val_432 2008-04-08 11 +435 val_435 2008-04-08 11 +436 val_436 2008-04-08 11 +437 val_437 2008-04-08 11 +438 val_438 2008-04-08 11 +438 val_438 2008-04-08 11 +438 val_438 2008-04-08 11 +439 val_439 2008-04-08 11 +439 val_439 2008-04-08 11 +44 val_44 2008-04-08 11 +443 val_443 2008-04-08 11 +444 val_444 2008-04-08 11 +446 val_446 2008-04-08 11 +448 val_448 2008-04-08 11 +449 val_449 2008-04-08 11 +452 val_452 2008-04-08 11 +453 val_453 2008-04-08 11 +454 val_454 2008-04-08 11 +454 val_454 2008-04-08 11 +454 val_454 2008-04-08 11 +455 val_455 2008-04-08 11 +457 val_457 2008-04-08 11 +458 val_458 2008-04-08 11 +458 val_458 2008-04-08 11 +459 val_459 2008-04-08 11 +459 val_459 2008-04-08 11 +460 val_460 2008-04-08 11 +462 val_462 2008-04-08 11 +462 val_462 2008-04-08 11 +463 val_463 2008-04-08 11 +463 val_463 2008-04-08 11 +466 val_466 2008-04-08 11 +466 val_466 2008-04-08 11 +466 val_466 2008-04-08 11 +467 val_467 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 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 11 +47 val_47 2008-04-08 11 +470 val_470 2008-04-08 11 +472 val_472 2008-04-08 11 +475 val_475 2008-04-08 11 +477 val_477 2008-04-08 11 +478 val_478 2008-04-08 11 +478 val_478 2008-04-08 11 +479 val_479 2008-04-08 11 +480 val_480 2008-04-08 11 +480 val_480 2008-04-08 11 +480 val_480 2008-04-08 11 +481 val_481 2008-04-08 11 +482 val_482 2008-04-08 11 +483 val_483 2008-04-08 11 +484 val_484 2008-04-08 11 +485 val_485 2008-04-08 11 +487 val_487 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 11 +490 val_490 2008-04-08 11 +491 val_491 2008-04-08 11 +492 val_492 2008-04-08 11 +492 val_492 2008-04-08 11 +493 val_493 2008-04-08 11 +494 val_494 2008-04-08 11 +495 val_495 2008-04-08 11 +496 val_496 2008-04-08 11 +497 val_497 2008-04-08 11 +498 val_498 2008-04-08 11 +498 val_498 2008-04-08 11 +498 val_498 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 +51 val_51 2008-04-08 11 +51 val_51 2008-04-08 11 +53 val_53 2008-04-08 11 +54 val_54 2008-04-08 11 +57 val_57 2008-04-08 11 +58 val_58 2008-04-08 11 +58 val_58 2008-04-08 11 +64 val_64 2008-04-08 11 +65 val_65 2008-04-08 11 +66 val_66 2008-04-08 11 +67 val_67 2008-04-08 11 +67 val_67 2008-04-08 11 +69 val_69 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 +72 val_72 2008-04-08 11 +72 val_72 2008-04-08 11 +74 val_74 2008-04-08 11 +76 val_76 2008-04-08 11 +76 val_76 2008-04-08 11 +77 val_77 2008-04-08 11 +78 val_78 2008-04-08 11 +8 val_8 2008-04-08 11 +80 val_80 2008-04-08 11 +82 val_82 2008-04-08 11 +83 val_83 2008-04-08 11 +83 val_83 2008-04-08 11 +84 val_84 2008-04-08 11 +84 val_84 2008-04-08 11 +85 val_85 2008-04-08 11 +86 val_86 2008-04-08 11 +87 val_87 2008-04-08 11 +9 val_9 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 +92 val_92 2008-04-08 11 +95 val_95 2008-04-08 11 +95 val_95 2008-04-08 11 +96 val_96 2008-04-08 11 +97 val_97 2008-04-08 11 +97 val_97 2008-04-08 11 +98 val_98 2008-04-08 11 +98 val_98 2008-04-08 11 +PREHOOK: query: show table extended like `merge_dynamic_part_n1_temp` +PREHOOK: type: SHOW_TABLESTATUS +POSTHOOK: query: show table extended like `merge_dynamic_part_n1_temp` +POSTHOOK: type: SHOW_TABLESTATUS +tableName:merge_dynamic_part_n1_temp +#### A masked pattern was here #### +inputformat:org.apache.hadoop.mapred.TextInputFormat +outputformat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat +columns:struct columns { string key, string value} +partitioned:true +partitionColumns:struct partition_columns { string ds, string hr} +totalNumberFiles:1 +totalFileSize:5812 +maxFileSize:5812 +minFileSize:5812 +#### A masked pattern was here #### + +PREHOOK: query: explain +insert overwrite table merge_dynamic_part_n1_temp partition (ds='2008-04-08', hr=11) select key, value from srcpart_merge_dp_n1_temp where ds='2008-04-08' +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart_merge_dp_n1_temp +PREHOOK: Input: default@srcpart_merge_dp_n1_temp@ds=2008-04-08/hr=11 +PREHOOK: Output: default@merge_dynamic_part_n1_temp@ds=2008-04-08/hr=11 +POSTHOOK: query: explain +insert overwrite table merge_dynamic_part_n1_temp partition (ds='2008-04-08', hr=11) select key, value from srcpart_merge_dp_n1_temp where ds='2008-04-08' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart_merge_dp_n1_temp +POSTHOOK: Input: default@srcpart_merge_dp_n1_temp@ds=2008-04-08/hr=11 +POSTHOOK: Output: default@merge_dynamic_part_n1_temp@ds=2008-04-08/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 + Map Operator Tree: + TableScan + alias: srcpart_merge_dp_n1_temp + filterExpr: (ds = '2008-04-08') (type: boolean) + Statistics: Num rows: 99 Data size: 31648 Basic stats: PARTIAL Column stats: NONE + Select Operator + expressions: key (type: string), value (type: string) + outputColumnNames: _col0, _col1 + Statistics: Num rows: 99 Data size: 31648 Basic stats: PARTIAL Column stats: NONE + File Output Operator + compressed: false + Statistics: Num rows: 99 Data size: 31648 Basic stats: PARTIAL Column stats: NONE + table: + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.merge_dynamic_part_n1_temp + Select Operator + expressions: _col0 (type: string), _col1 (type: string), '2008-04-08' (type: string), '11' (type: string) + outputColumnNames: key, value, ds, hr + Statistics: Num rows: 99 Data size: 31648 Basic stats: PARTIAL Column stats: NONE + Group By Operator + aggregations: compute_stats(key, 'hll'), compute_stats(value, 'hll') + keys: ds (type: string), hr (type: string) + minReductionHashAggr: 0.99 + mode: hash + outputColumnNames: _col0, _col1, _col2, _col3 + Statistics: Num rows: 99 Data size: 31648 Basic stats: PARTIAL Column stats: NONE + Reduce Output Operator + key expressions: _col0 (type: string), _col1 (type: string) + sort order: ++ + Map-reduce partition columns: _col0 (type: string), _col1 (type: string) + Statistics: Num rows: 99 Data size: 31648 Basic stats: PARTIAL Column stats: NONE + value expressions: _col2 (type: struct), _col3 (type: struct) + Reduce Operator Tree: + Group By Operator + aggregations: compute_stats(VALUE._col0), compute_stats(VALUE._col1) + keys: KEY._col0 (type: string), KEY._col1 (type: string) + mode: mergepartial + outputColumnNames: _col0, _col1, _col2, _col3 + Statistics: Num rows: 49 Data size: 15664 Basic stats: PARTIAL Column stats: NONE + Select Operator + expressions: _col2 (type: struct), _col3 (type: struct), _col0 (type: string), _col1 (type: string) + outputColumnNames: _col0, _col1, _col2, _col3 + Statistics: Num rows: 49 Data size: 15664 Basic stats: PARTIAL Column stats: NONE + File Output Operator + compressed: false + Statistics: Num rows: 49 Data size: 15664 Basic stats: PARTIAL Column stats: NONE + 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 + + Stage: Stage-7 + Conditional Operator + + Stage: Stage-4 + Move Operator + files: + hdfs directory: true +#### A masked pattern was here #### + + Stage: Stage-0 + Move Operator + tables: + partition: + ds 2008-04-08 + 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: default.merge_dynamic_part_n1_temp + + Stage: Stage-2 + Stats Work + Basic Stats Work: + Column Stats Desc: + Columns: key, value + Column Types: string, string + Table: default.merge_dynamic_part_n1_temp + + Stage: Stage-3 + Map Reduce + Map Operator Tree: + TableScan + File Output Operator + compressed: false + table: + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.merge_dynamic_part_n1_temp + + Stage: Stage-5 + Map Reduce + Map Operator Tree: + TableScan + File Output Operator + compressed: false + table: + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.merge_dynamic_part_n1_temp + + Stage: Stage-6 + Move Operator + files: + hdfs directory: true +#### A masked pattern was here #### + +PREHOOK: query: insert overwrite table merge_dynamic_part_n1_temp partition (ds='2008-04-08', hr=11) select key, value from srcpart_merge_dp_n1_temp where ds='2008-04-08' +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart_merge_dp_n1_temp +PREHOOK: Input: default@srcpart_merge_dp_n1_temp@ds=2008-04-08/hr=11 +PREHOOK: Output: default@merge_dynamic_part_n1_temp@ds=2008-04-08/hr=11 +POSTHOOK: query: insert overwrite table merge_dynamic_part_n1_temp partition (ds='2008-04-08', hr=11) select key, value from srcpart_merge_dp_n1_temp where ds='2008-04-08' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart_merge_dp_n1_temp +POSTHOOK: Input: default@srcpart_merge_dp_n1_temp@ds=2008-04-08/hr=11 +POSTHOOK: Output: default@merge_dynamic_part_n1_temp@ds=2008-04-08/hr=11 +POSTHOOK: Lineage: merge_dynamic_part_n1_temp PARTITION(ds=2008-04-08,hr=11).key SIMPLE [(srcpart_merge_dp_n1_temp)srcpart_merge_dp_n1_temp.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: merge_dynamic_part_n1_temp PARTITION(ds=2008-04-08,hr=11).value SIMPLE [(srcpart_merge_dp_n1_temp)srcpart_merge_dp_n1_temp.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: select * from merge_dynamic_part_n1_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@merge_dynamic_part_n1_temp +PREHOOK: Input: default@merge_dynamic_part_n1_temp@ds=2008-04-08/hr=11 +#### A masked pattern was here #### +POSTHOOK: query: select * from merge_dynamic_part_n1_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@merge_dynamic_part_n1_temp +POSTHOOK: Input: default@merge_dynamic_part_n1_temp@ds=2008-04-08/hr=11 +#### A masked pattern was here #### +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 +100 val_100 2008-04-08 11 +103 val_103 2008-04-08 11 +103 val_103 2008-04-08 11 +104 val_104 2008-04-08 11 +104 val_104 2008-04-08 11 +105 val_105 2008-04-08 11 +11 val_11 2008-04-08 11 +111 val_111 2008-04-08 11 +113 val_113 2008-04-08 11 +113 val_113 2008-04-08 11 +114 val_114 2008-04-08 11 +116 val_116 2008-04-08 11 +118 val_118 2008-04-08 11 +118 val_118 2008-04-08 11 +119 val_119 2008-04-08 11 +119 val_119 2008-04-08 11 +119 val_119 2008-04-08 11 +12 val_12 2008-04-08 11 +12 val_12 2008-04-08 11 +120 val_120 2008-04-08 11 +120 val_120 2008-04-08 11 +125 val_125 2008-04-08 11 +125 val_125 2008-04-08 11 +126 val_126 2008-04-08 11 +128 val_128 2008-04-08 11 +128 val_128 2008-04-08 11 +128 val_128 2008-04-08 11 +129 val_129 2008-04-08 11 +129 val_129 2008-04-08 11 +131 val_131 2008-04-08 11 +133 val_133 2008-04-08 11 +134 val_134 2008-04-08 11 +134 val_134 2008-04-08 11 +136 val_136 2008-04-08 11 +137 val_137 2008-04-08 11 +137 val_137 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 11 +143 val_143 2008-04-08 11 +145 val_145 2008-04-08 11 +146 val_146 2008-04-08 11 +146 val_146 2008-04-08 11 +149 val_149 2008-04-08 11 +149 val_149 2008-04-08 11 +15 val_15 2008-04-08 11 +15 val_15 2008-04-08 11 +150 val_150 2008-04-08 11 +152 val_152 2008-04-08 11 +152 val_152 2008-04-08 11 +153 val_153 2008-04-08 11 +155 val_155 2008-04-08 11 +156 val_156 2008-04-08 11 +157 val_157 2008-04-08 11 +158 val_158 2008-04-08 11 +160 val_160 2008-04-08 11 +162 val_162 2008-04-08 11 +163 val_163 2008-04-08 11 +164 val_164 2008-04-08 11 +164 val_164 2008-04-08 11 +165 val_165 2008-04-08 11 +165 val_165 2008-04-08 11 +166 val_166 2008-04-08 11 +167 val_167 2008-04-08 11 +167 val_167 2008-04-08 11 +167 val_167 2008-04-08 11 +168 val_168 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 11 +17 val_17 2008-04-08 11 +170 val_170 2008-04-08 11 +172 val_172 2008-04-08 11 +172 val_172 2008-04-08 11 +174 val_174 2008-04-08 11 +174 val_174 2008-04-08 11 +175 val_175 2008-04-08 11 +175 val_175 2008-04-08 11 +176 val_176 2008-04-08 11 +176 val_176 2008-04-08 11 +177 val_177 2008-04-08 11 +178 val_178 2008-04-08 11 +179 val_179 2008-04-08 11 +179 val_179 2008-04-08 11 +18 val_18 2008-04-08 11 +18 val_18 2008-04-08 11 +180 val_180 2008-04-08 11 +181 val_181 2008-04-08 11 +183 val_183 2008-04-08 11 +186 val_186 2008-04-08 11 +187 val_187 2008-04-08 11 +187 val_187 2008-04-08 11 +187 val_187 2008-04-08 11 +189 val_189 2008-04-08 11 +19 val_19 2008-04-08 11 +190 val_190 2008-04-08 11 +191 val_191 2008-04-08 11 +191 val_191 2008-04-08 11 +192 val_192 2008-04-08 11 +193 val_193 2008-04-08 11 +193 val_193 2008-04-08 11 +193 val_193 2008-04-08 11 +194 val_194 2008-04-08 11 +195 val_195 2008-04-08 11 +195 val_195 2008-04-08 11 +196 val_196 2008-04-08 11 +197 val_197 2008-04-08 11 +197 val_197 2008-04-08 11 +199 val_199 2008-04-08 11 +199 val_199 2008-04-08 11 +199 val_199 2008-04-08 11 +2 val_2 2008-04-08 11 +20 val_20 2008-04-08 11 +200 val_200 2008-04-08 11 +200 val_200 2008-04-08 11 +201 val_201 2008-04-08 11 +202 val_202 2008-04-08 11 +203 val_203 2008-04-08 11 +203 val_203 2008-04-08 11 +205 val_205 2008-04-08 11 +205 val_205 2008-04-08 11 +207 val_207 2008-04-08 11 +207 val_207 2008-04-08 11 +208 val_208 2008-04-08 11 +208 val_208 2008-04-08 11 +208 val_208 2008-04-08 11 +209 val_209 2008-04-08 11 +209 val_209 2008-04-08 11 +213 val_213 2008-04-08 11 +213 val_213 2008-04-08 11 +214 val_214 2008-04-08 11 +216 val_216 2008-04-08 11 +216 val_216 2008-04-08 11 +217 val_217 2008-04-08 11 +217 val_217 2008-04-08 11 +218 val_218 2008-04-08 11 +219 val_219 2008-04-08 11 +219 val_219 2008-04-08 11 +221 val_221 2008-04-08 11 +221 val_221 2008-04-08 11 +222 val_222 2008-04-08 11 +223 val_223 2008-04-08 11 +223 val_223 2008-04-08 11 +224 val_224 2008-04-08 11 +224 val_224 2008-04-08 11 +226 val_226 2008-04-08 11 +228 val_228 2008-04-08 11 +229 val_229 2008-04-08 11 +229 val_229 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 11 +233 val_233 2008-04-08 11 +233 val_233 2008-04-08 11 +235 val_235 2008-04-08 11 +237 val_237 2008-04-08 11 +237 val_237 2008-04-08 11 +238 val_238 2008-04-08 11 +238 val_238 2008-04-08 11 +239 val_239 2008-04-08 11 +239 val_239 2008-04-08 11 +24 val_24 2008-04-08 11 +24 val_24 2008-04-08 11 +241 val_241 2008-04-08 11 +242 val_242 2008-04-08 11 +242 val_242 2008-04-08 11 +244 val_244 2008-04-08 11 +247 val_247 2008-04-08 11 +248 val_248 2008-04-08 11 +249 val_249 2008-04-08 11 +252 val_252 2008-04-08 11 +255 val_255 2008-04-08 11 +255 val_255 2008-04-08 11 +256 val_256 2008-04-08 11 +256 val_256 2008-04-08 11 +257 val_257 2008-04-08 11 +258 val_258 2008-04-08 11 +26 val_26 2008-04-08 11 +26 val_26 2008-04-08 11 +260 val_260 2008-04-08 11 +262 val_262 2008-04-08 11 +263 val_263 2008-04-08 11 +265 val_265 2008-04-08 11 +265 val_265 2008-04-08 11 +266 val_266 2008-04-08 11 +27 val_27 2008-04-08 11 +272 val_272 2008-04-08 11 +272 val_272 2008-04-08 11 +273 val_273 2008-04-08 11 +273 val_273 2008-04-08 11 +273 val_273 2008-04-08 11 +274 val_274 2008-04-08 11 +275 val_275 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 11 +278 val_278 2008-04-08 11 +278 val_278 2008-04-08 11 +28 val_28 2008-04-08 11 +280 val_280 2008-04-08 11 +280 val_280 2008-04-08 11 +281 val_281 2008-04-08 11 +281 val_281 2008-04-08 11 +282 val_282 2008-04-08 11 +282 val_282 2008-04-08 11 +283 val_283 2008-04-08 11 +284 val_284 2008-04-08 11 +285 val_285 2008-04-08 11 +286 val_286 2008-04-08 11 +287 val_287 2008-04-08 11 +288 val_288 2008-04-08 11 +288 val_288 2008-04-08 11 +289 val_289 2008-04-08 11 +291 val_291 2008-04-08 11 +292 val_292 2008-04-08 11 +296 val_296 2008-04-08 11 +298 val_298 2008-04-08 11 +298 val_298 2008-04-08 11 +298 val_298 2008-04-08 11 +30 val_30 2008-04-08 11 +302 val_302 2008-04-08 11 +305 val_305 2008-04-08 11 +306 val_306 2008-04-08 11 +307 val_307 2008-04-08 11 +307 val_307 2008-04-08 11 +308 val_308 2008-04-08 11 +309 val_309 2008-04-08 11 +309 val_309 2008-04-08 11 +310 val_310 2008-04-08 11 +311 val_311 2008-04-08 11 +311 val_311 2008-04-08 11 +311 val_311 2008-04-08 11 +315 val_315 2008-04-08 11 +316 val_316 2008-04-08 11 +316 val_316 2008-04-08 11 +316 val_316 2008-04-08 11 +317 val_317 2008-04-08 11 +317 val_317 2008-04-08 11 +318 val_318 2008-04-08 11 +318 val_318 2008-04-08 11 +318 val_318 2008-04-08 11 +321 val_321 2008-04-08 11 +321 val_321 2008-04-08 11 +322 val_322 2008-04-08 11 +322 val_322 2008-04-08 11 +323 val_323 2008-04-08 11 +325 val_325 2008-04-08 11 +325 val_325 2008-04-08 11 +327 val_327 2008-04-08 11 +327 val_327 2008-04-08 11 +327 val_327 2008-04-08 11 +33 val_33 2008-04-08 11 +331 val_331 2008-04-08 11 +331 val_331 2008-04-08 11 +332 val_332 2008-04-08 11 +333 val_333 2008-04-08 11 +333 val_333 2008-04-08 11 +335 val_335 2008-04-08 11 +336 val_336 2008-04-08 11 +338 val_338 2008-04-08 11 +339 val_339 2008-04-08 11 +34 val_34 2008-04-08 11 +341 val_341 2008-04-08 11 +342 val_342 2008-04-08 11 +342 val_342 2008-04-08 11 +344 val_344 2008-04-08 11 +344 val_344 2008-04-08 11 +345 val_345 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 11 +35 val_35 2008-04-08 11 +35 val_35 2008-04-08 11 +35 val_35 2008-04-08 11 +351 val_351 2008-04-08 11 +353 val_353 2008-04-08 11 +353 val_353 2008-04-08 11 +356 val_356 2008-04-08 11 +360 val_360 2008-04-08 11 +362 val_362 2008-04-08 11 +364 val_364 2008-04-08 11 +365 val_365 2008-04-08 11 +366 val_366 2008-04-08 11 +367 val_367 2008-04-08 11 +367 val_367 2008-04-08 11 +368 val_368 2008-04-08 11 +369 val_369 2008-04-08 11 +369 val_369 2008-04-08 11 +369 val_369 2008-04-08 11 +37 val_37 2008-04-08 11 +37 val_37 2008-04-08 11 +373 val_373 2008-04-08 11 +374 val_374 2008-04-08 11 +375 val_375 2008-04-08 11 +377 val_377 2008-04-08 11 +378 val_378 2008-04-08 11 +379 val_379 2008-04-08 11 +382 val_382 2008-04-08 11 +382 val_382 2008-04-08 11 +384 val_384 2008-04-08 11 +384 val_384 2008-04-08 11 +384 val_384 2008-04-08 11 +386 val_386 2008-04-08 11 +389 val_389 2008-04-08 11 +392 val_392 2008-04-08 11 +393 val_393 2008-04-08 11 +394 val_394 2008-04-08 11 +395 val_395 2008-04-08 11 +395 val_395 2008-04-08 11 +396 val_396 2008-04-08 11 +396 val_396 2008-04-08 11 +396 val_396 2008-04-08 11 +397 val_397 2008-04-08 11 +397 val_397 2008-04-08 11 +399 val_399 2008-04-08 11 +399 val_399 2008-04-08 11 +4 val_4 2008-04-08 11 +400 val_400 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 11 +402 val_402 2008-04-08 11 +403 val_403 2008-04-08 11 +403 val_403 2008-04-08 11 +403 val_403 2008-04-08 11 +404 val_404 2008-04-08 11 +404 val_404 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 11 +407 val_407 2008-04-08 11 +409 val_409 2008-04-08 11 +409 val_409 2008-04-08 11 +409 val_409 2008-04-08 11 +41 val_41 2008-04-08 11 +411 val_411 2008-04-08 11 +413 val_413 2008-04-08 11 +413 val_413 2008-04-08 11 +414 val_414 2008-04-08 11 +414 val_414 2008-04-08 11 +417 val_417 2008-04-08 11 +417 val_417 2008-04-08 11 +417 val_417 2008-04-08 11 +418 val_418 2008-04-08 11 +419 val_419 2008-04-08 11 +42 val_42 2008-04-08 11 +42 val_42 2008-04-08 11 +421 val_421 2008-04-08 11 +424 val_424 2008-04-08 11 +424 val_424 2008-04-08 11 +427 val_427 2008-04-08 11 +429 val_429 2008-04-08 11 +429 val_429 2008-04-08 11 +43 val_43 2008-04-08 11 +430 val_430 2008-04-08 11 +430 val_430 2008-04-08 11 +430 val_430 2008-04-08 11 +431 val_431 2008-04-08 11 +431 val_431 2008-04-08 11 +431 val_431 2008-04-08 11 +432 val_432 2008-04-08 11 +435 val_435 2008-04-08 11 +436 val_436 2008-04-08 11 +437 val_437 2008-04-08 11 +438 val_438 2008-04-08 11 +438 val_438 2008-04-08 11 +438 val_438 2008-04-08 11 +439 val_439 2008-04-08 11 +439 val_439 2008-04-08 11 +44 val_44 2008-04-08 11 +443 val_443 2008-04-08 11 +444 val_444 2008-04-08 11 +446 val_446 2008-04-08 11 +448 val_448 2008-04-08 11 +449 val_449 2008-04-08 11 +452 val_452 2008-04-08 11 +453 val_453 2008-04-08 11 +454 val_454 2008-04-08 11 +454 val_454 2008-04-08 11 +454 val_454 2008-04-08 11 +455 val_455 2008-04-08 11 +457 val_457 2008-04-08 11 +458 val_458 2008-04-08 11 +458 val_458 2008-04-08 11 +459 val_459 2008-04-08 11 +459 val_459 2008-04-08 11 +460 val_460 2008-04-08 11 +462 val_462 2008-04-08 11 +462 val_462 2008-04-08 11 +463 val_463 2008-04-08 11 +463 val_463 2008-04-08 11 +466 val_466 2008-04-08 11 +466 val_466 2008-04-08 11 +466 val_466 2008-04-08 11 +467 val_467 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 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 11 +47 val_47 2008-04-08 11 +470 val_470 2008-04-08 11 +472 val_472 2008-04-08 11 +475 val_475 2008-04-08 11 +477 val_477 2008-04-08 11 +478 val_478 2008-04-08 11 +478 val_478 2008-04-08 11 +479 val_479 2008-04-08 11 +480 val_480 2008-04-08 11 +480 val_480 2008-04-08 11 +480 val_480 2008-04-08 11 +481 val_481 2008-04-08 11 +482 val_482 2008-04-08 11 +483 val_483 2008-04-08 11 +484 val_484 2008-04-08 11 +485 val_485 2008-04-08 11 +487 val_487 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 11 +490 val_490 2008-04-08 11 +491 val_491 2008-04-08 11 +492 val_492 2008-04-08 11 +492 val_492 2008-04-08 11 +493 val_493 2008-04-08 11 +494 val_494 2008-04-08 11 +495 val_495 2008-04-08 11 +496 val_496 2008-04-08 11 +497 val_497 2008-04-08 11 +498 val_498 2008-04-08 11 +498 val_498 2008-04-08 11 +498 val_498 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 +51 val_51 2008-04-08 11 +51 val_51 2008-04-08 11 +53 val_53 2008-04-08 11 +54 val_54 2008-04-08 11 +57 val_57 2008-04-08 11 +58 val_58 2008-04-08 11 +58 val_58 2008-04-08 11 +64 val_64 2008-04-08 11 +65 val_65 2008-04-08 11 +66 val_66 2008-04-08 11 +67 val_67 2008-04-08 11 +67 val_67 2008-04-08 11 +69 val_69 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 +72 val_72 2008-04-08 11 +72 val_72 2008-04-08 11 +74 val_74 2008-04-08 11 +76 val_76 2008-04-08 11 +76 val_76 2008-04-08 11 +77 val_77 2008-04-08 11 +78 val_78 2008-04-08 11 +8 val_8 2008-04-08 11 +80 val_80 2008-04-08 11 +82 val_82 2008-04-08 11 +83 val_83 2008-04-08 11 +83 val_83 2008-04-08 11 +84 val_84 2008-04-08 11 +84 val_84 2008-04-08 11 +85 val_85 2008-04-08 11 +86 val_86 2008-04-08 11 +87 val_87 2008-04-08 11 +9 val_9 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 +92 val_92 2008-04-08 11 +95 val_95 2008-04-08 11 +95 val_95 2008-04-08 11 +96 val_96 2008-04-08 11 +97 val_97 2008-04-08 11 +97 val_97 2008-04-08 11 +98 val_98 2008-04-08 11 +98 val_98 2008-04-08 11 +PREHOOK: query: show table extended like `merge_dynamic_part_n1_temp` +PREHOOK: type: SHOW_TABLESTATUS +POSTHOOK: query: show table extended like `merge_dynamic_part_n1_temp` +POSTHOOK: type: SHOW_TABLESTATUS +tableName:merge_dynamic_part_n1_temp +#### A masked pattern was here #### +inputformat:org.apache.hadoop.mapred.TextInputFormat +outputformat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat +columns:struct columns { string key, string value} +partitioned:true +partitionColumns:struct partition_columns { string ds, string hr} +totalNumberFiles:1 +totalFileSize:5812 +maxFileSize:5812 +minFileSize:5812 +#### A masked pattern was here #### + +PREHOOK: query: explain +insert overwrite table merge_dynamic_part_n1_temp partition (ds, hr) select key, value, ds, hr from srcpart_merge_dp_n1_temp where ds='2008-04-08' and hr=11 +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart_merge_dp_n1_temp +PREHOOK: Input: default@srcpart_merge_dp_n1_temp@ds=2008-04-08/hr=11 +PREHOOK: Output: default@merge_dynamic_part_n1_temp +POSTHOOK: query: explain +insert overwrite table merge_dynamic_part_n1_temp partition (ds, hr) select key, value, ds, hr from srcpart_merge_dp_n1_temp where ds='2008-04-08' and hr=11 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart_merge_dp_n1_temp +POSTHOOK: Input: default@srcpart_merge_dp_n1_temp@ds=2008-04-08/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 + Map Operator Tree: + TableScan + alias: srcpart_merge_dp_n1_temp + filterExpr: ((ds = '2008-04-08') and (11.0D = 11.0D)) (type: boolean) + Statistics: Num rows: 99 Data size: 49864 Basic stats: PARTIAL Column stats: PARTIAL + Select Operator + expressions: key (type: string), value (type: string), '2008-04-08' (type: string), hr (type: string) + outputColumnNames: _col0, _col1, _col2, _col3 + Statistics: Num rows: 99 Data size: 49864 Basic stats: PARTIAL Column stats: PARTIAL + Reduce Output Operator + key expressions: _col2 (type: string), _col3 (type: string) + sort order: ++ + Map-reduce partition columns: _col2 (type: string), _col3 (type: string) + Statistics: Num rows: 99 Data size: 49864 Basic stats: PARTIAL Column stats: PARTIAL + value expressions: _col0 (type: string), _col1 (type: string) + Reduce Operator Tree: + Select Operator + expressions: VALUE._col0 (type: string), VALUE._col1 (type: string), KEY._col2 (type: string), KEY._col3 (type: string) + outputColumnNames: _col0, _col1, _col2, _col3 + File Output Operator + compressed: false + Dp Sort State: PARTITION_SORTED + Statistics: Num rows: 99 Data size: 49864 Basic stats: PARTIAL Column stats: PARTIAL + table: + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.merge_dynamic_part_n1_temp + + Stage: Stage-7 + Conditional Operator + + Stage: Stage-4 + Move Operator + files: + hdfs directory: true +#### A masked pattern was here #### + + Stage: Stage-0 + Move Operator + tables: + partition: + ds + hr + replace: true + table: + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.merge_dynamic_part_n1_temp + + Stage: Stage-2 + Stats Work + Basic Stats Work: + + Stage: Stage-3 + Map Reduce + Map Operator Tree: + TableScan + File Output Operator + compressed: false + table: + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.merge_dynamic_part_n1_temp + + Stage: Stage-5 + Map Reduce + Map Operator Tree: + TableScan + File Output Operator + compressed: false + table: + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.merge_dynamic_part_n1_temp + + Stage: Stage-6 + Move Operator + files: + hdfs directory: true +#### A masked pattern was here #### + +PREHOOK: query: insert overwrite table merge_dynamic_part_n1_temp partition (ds, hr) select key, value, ds, hr from srcpart_merge_dp_n1_temp where ds='2008-04-08' and hr=11 +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart_merge_dp_n1_temp +PREHOOK: Input: default@srcpart_merge_dp_n1_temp@ds=2008-04-08/hr=11 +PREHOOK: Output: default@merge_dynamic_part_n1_temp +POSTHOOK: query: insert overwrite table merge_dynamic_part_n1_temp partition (ds, hr) select key, value, ds, hr from srcpart_merge_dp_n1_temp where ds='2008-04-08' and hr=11 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart_merge_dp_n1_temp +POSTHOOK: Input: default@srcpart_merge_dp_n1_temp@ds=2008-04-08/hr=11 +POSTHOOK: Output: default@merge_dynamic_part_n1_temp@ds=2008-04-08/hr=11 +POSTHOOK: Lineage: merge_dynamic_part_n1_temp PARTITION(ds=2008-04-08,hr=11).key SIMPLE [(srcpart_merge_dp_n1_temp)srcpart_merge_dp_n1_temp.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: merge_dynamic_part_n1_temp PARTITION(ds=2008-04-08,hr=11).value SIMPLE [(srcpart_merge_dp_n1_temp)srcpart_merge_dp_n1_temp.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: select * from merge_dynamic_part_n1_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@merge_dynamic_part_n1_temp +PREHOOK: Input: default@merge_dynamic_part_n1_temp@ds=2008-04-08/hr=11 +#### A masked pattern was here #### +POSTHOOK: query: select * from merge_dynamic_part_n1_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@merge_dynamic_part_n1_temp +POSTHOOK: Input: default@merge_dynamic_part_n1_temp@ds=2008-04-08/hr=11 +#### A masked pattern was here #### +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 +100 val_100 2008-04-08 11 +103 val_103 2008-04-08 11 +103 val_103 2008-04-08 11 +104 val_104 2008-04-08 11 +104 val_104 2008-04-08 11 +105 val_105 2008-04-08 11 +11 val_11 2008-04-08 11 +111 val_111 2008-04-08 11 +113 val_113 2008-04-08 11 +113 val_113 2008-04-08 11 +114 val_114 2008-04-08 11 +116 val_116 2008-04-08 11 +118 val_118 2008-04-08 11 +118 val_118 2008-04-08 11 +119 val_119 2008-04-08 11 +119 val_119 2008-04-08 11 +119 val_119 2008-04-08 11 +12 val_12 2008-04-08 11 +12 val_12 2008-04-08 11 +120 val_120 2008-04-08 11 +120 val_120 2008-04-08 11 +125 val_125 2008-04-08 11 +125 val_125 2008-04-08 11 +126 val_126 2008-04-08 11 +128 val_128 2008-04-08 11 +128 val_128 2008-04-08 11 +128 val_128 2008-04-08 11 +129 val_129 2008-04-08 11 +129 val_129 2008-04-08 11 +131 val_131 2008-04-08 11 +133 val_133 2008-04-08 11 +134 val_134 2008-04-08 11 +134 val_134 2008-04-08 11 +136 val_136 2008-04-08 11 +137 val_137 2008-04-08 11 +137 val_137 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 11 +143 val_143 2008-04-08 11 +145 val_145 2008-04-08 11 +146 val_146 2008-04-08 11 +146 val_146 2008-04-08 11 +149 val_149 2008-04-08 11 +149 val_149 2008-04-08 11 +15 val_15 2008-04-08 11 +15 val_15 2008-04-08 11 +150 val_150 2008-04-08 11 +152 val_152 2008-04-08 11 +152 val_152 2008-04-08 11 +153 val_153 2008-04-08 11 +155 val_155 2008-04-08 11 +156 val_156 2008-04-08 11 +157 val_157 2008-04-08 11 +158 val_158 2008-04-08 11 +160 val_160 2008-04-08 11 +162 val_162 2008-04-08 11 +163 val_163 2008-04-08 11 +164 val_164 2008-04-08 11 +164 val_164 2008-04-08 11 +165 val_165 2008-04-08 11 +165 val_165 2008-04-08 11 +166 val_166 2008-04-08 11 +167 val_167 2008-04-08 11 +167 val_167 2008-04-08 11 +167 val_167 2008-04-08 11 +168 val_168 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 11 +17 val_17 2008-04-08 11 +170 val_170 2008-04-08 11 +172 val_172 2008-04-08 11 +172 val_172 2008-04-08 11 +174 val_174 2008-04-08 11 +174 val_174 2008-04-08 11 +175 val_175 2008-04-08 11 +175 val_175 2008-04-08 11 +176 val_176 2008-04-08 11 +176 val_176 2008-04-08 11 +177 val_177 2008-04-08 11 +178 val_178 2008-04-08 11 +179 val_179 2008-04-08 11 +179 val_179 2008-04-08 11 +18 val_18 2008-04-08 11 +18 val_18 2008-04-08 11 +180 val_180 2008-04-08 11 +181 val_181 2008-04-08 11 +183 val_183 2008-04-08 11 +186 val_186 2008-04-08 11 +187 val_187 2008-04-08 11 +187 val_187 2008-04-08 11 +187 val_187 2008-04-08 11 +189 val_189 2008-04-08 11 +19 val_19 2008-04-08 11 +190 val_190 2008-04-08 11 +191 val_191 2008-04-08 11 +191 val_191 2008-04-08 11 +192 val_192 2008-04-08 11 +193 val_193 2008-04-08 11 +193 val_193 2008-04-08 11 +193 val_193 2008-04-08 11 +194 val_194 2008-04-08 11 +195 val_195 2008-04-08 11 +195 val_195 2008-04-08 11 +196 val_196 2008-04-08 11 +197 val_197 2008-04-08 11 +197 val_197 2008-04-08 11 +199 val_199 2008-04-08 11 +199 val_199 2008-04-08 11 +199 val_199 2008-04-08 11 +2 val_2 2008-04-08 11 +20 val_20 2008-04-08 11 +200 val_200 2008-04-08 11 +200 val_200 2008-04-08 11 +201 val_201 2008-04-08 11 +202 val_202 2008-04-08 11 +203 val_203 2008-04-08 11 +203 val_203 2008-04-08 11 +205 val_205 2008-04-08 11 +205 val_205 2008-04-08 11 +207 val_207 2008-04-08 11 +207 val_207 2008-04-08 11 +208 val_208 2008-04-08 11 +208 val_208 2008-04-08 11 +208 val_208 2008-04-08 11 +209 val_209 2008-04-08 11 +209 val_209 2008-04-08 11 +213 val_213 2008-04-08 11 +213 val_213 2008-04-08 11 +214 val_214 2008-04-08 11 +216 val_216 2008-04-08 11 +216 val_216 2008-04-08 11 +217 val_217 2008-04-08 11 +217 val_217 2008-04-08 11 +218 val_218 2008-04-08 11 +219 val_219 2008-04-08 11 +219 val_219 2008-04-08 11 +221 val_221 2008-04-08 11 +221 val_221 2008-04-08 11 +222 val_222 2008-04-08 11 +223 val_223 2008-04-08 11 +223 val_223 2008-04-08 11 +224 val_224 2008-04-08 11 +224 val_224 2008-04-08 11 +226 val_226 2008-04-08 11 +228 val_228 2008-04-08 11 +229 val_229 2008-04-08 11 +229 val_229 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 11 +233 val_233 2008-04-08 11 +233 val_233 2008-04-08 11 +235 val_235 2008-04-08 11 +237 val_237 2008-04-08 11 +237 val_237 2008-04-08 11 +238 val_238 2008-04-08 11 +238 val_238 2008-04-08 11 +239 val_239 2008-04-08 11 +239 val_239 2008-04-08 11 +24 val_24 2008-04-08 11 +24 val_24 2008-04-08 11 +241 val_241 2008-04-08 11 +242 val_242 2008-04-08 11 +242 val_242 2008-04-08 11 +244 val_244 2008-04-08 11 +247 val_247 2008-04-08 11 +248 val_248 2008-04-08 11 +249 val_249 2008-04-08 11 +252 val_252 2008-04-08 11 +255 val_255 2008-04-08 11 +255 val_255 2008-04-08 11 +256 val_256 2008-04-08 11 +256 val_256 2008-04-08 11 +257 val_257 2008-04-08 11 +258 val_258 2008-04-08 11 +26 val_26 2008-04-08 11 +26 val_26 2008-04-08 11 +260 val_260 2008-04-08 11 +262 val_262 2008-04-08 11 +263 val_263 2008-04-08 11 +265 val_265 2008-04-08 11 +265 val_265 2008-04-08 11 +266 val_266 2008-04-08 11 +27 val_27 2008-04-08 11 +272 val_272 2008-04-08 11 +272 val_272 2008-04-08 11 +273 val_273 2008-04-08 11 +273 val_273 2008-04-08 11 +273 val_273 2008-04-08 11 +274 val_274 2008-04-08 11 +275 val_275 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 11 +278 val_278 2008-04-08 11 +278 val_278 2008-04-08 11 +28 val_28 2008-04-08 11 +280 val_280 2008-04-08 11 +280 val_280 2008-04-08 11 +281 val_281 2008-04-08 11 +281 val_281 2008-04-08 11 +282 val_282 2008-04-08 11 +282 val_282 2008-04-08 11 +283 val_283 2008-04-08 11 +284 val_284 2008-04-08 11 +285 val_285 2008-04-08 11 +286 val_286 2008-04-08 11 +287 val_287 2008-04-08 11 +288 val_288 2008-04-08 11 +288 val_288 2008-04-08 11 +289 val_289 2008-04-08 11 +291 val_291 2008-04-08 11 +292 val_292 2008-04-08 11 +296 val_296 2008-04-08 11 +298 val_298 2008-04-08 11 +298 val_298 2008-04-08 11 +298 val_298 2008-04-08 11 +30 val_30 2008-04-08 11 +302 val_302 2008-04-08 11 +305 val_305 2008-04-08 11 +306 val_306 2008-04-08 11 +307 val_307 2008-04-08 11 +307 val_307 2008-04-08 11 +308 val_308 2008-04-08 11 +309 val_309 2008-04-08 11 +309 val_309 2008-04-08 11 +310 val_310 2008-04-08 11 +311 val_311 2008-04-08 11 +311 val_311 2008-04-08 11 +311 val_311 2008-04-08 11 +315 val_315 2008-04-08 11 +316 val_316 2008-04-08 11 +316 val_316 2008-04-08 11 +316 val_316 2008-04-08 11 +317 val_317 2008-04-08 11 +317 val_317 2008-04-08 11 +318 val_318 2008-04-08 11 +318 val_318 2008-04-08 11 +318 val_318 2008-04-08 11 +321 val_321 2008-04-08 11 +321 val_321 2008-04-08 11 +322 val_322 2008-04-08 11 +322 val_322 2008-04-08 11 +323 val_323 2008-04-08 11 +325 val_325 2008-04-08 11 +325 val_325 2008-04-08 11 +327 val_327 2008-04-08 11 +327 val_327 2008-04-08 11 +327 val_327 2008-04-08 11 +33 val_33 2008-04-08 11 +331 val_331 2008-04-08 11 +331 val_331 2008-04-08 11 +332 val_332 2008-04-08 11 +333 val_333 2008-04-08 11 +333 val_333 2008-04-08 11 +335 val_335 2008-04-08 11 +336 val_336 2008-04-08 11 +338 val_338 2008-04-08 11 +339 val_339 2008-04-08 11 +34 val_34 2008-04-08 11 +341 val_341 2008-04-08 11 +342 val_342 2008-04-08 11 +342 val_342 2008-04-08 11 +344 val_344 2008-04-08 11 +344 val_344 2008-04-08 11 +345 val_345 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 11 +35 val_35 2008-04-08 11 +35 val_35 2008-04-08 11 +35 val_35 2008-04-08 11 +351 val_351 2008-04-08 11 +353 val_353 2008-04-08 11 +353 val_353 2008-04-08 11 +356 val_356 2008-04-08 11 +360 val_360 2008-04-08 11 +362 val_362 2008-04-08 11 +364 val_364 2008-04-08 11 +365 val_365 2008-04-08 11 +366 val_366 2008-04-08 11 +367 val_367 2008-04-08 11 +367 val_367 2008-04-08 11 +368 val_368 2008-04-08 11 +369 val_369 2008-04-08 11 +369 val_369 2008-04-08 11 +369 val_369 2008-04-08 11 +37 val_37 2008-04-08 11 +37 val_37 2008-04-08 11 +373 val_373 2008-04-08 11 +374 val_374 2008-04-08 11 +375 val_375 2008-04-08 11 +377 val_377 2008-04-08 11 +378 val_378 2008-04-08 11 +379 val_379 2008-04-08 11 +382 val_382 2008-04-08 11 +382 val_382 2008-04-08 11 +384 val_384 2008-04-08 11 +384 val_384 2008-04-08 11 +384 val_384 2008-04-08 11 +386 val_386 2008-04-08 11 +389 val_389 2008-04-08 11 +392 val_392 2008-04-08 11 +393 val_393 2008-04-08 11 +394 val_394 2008-04-08 11 +395 val_395 2008-04-08 11 +395 val_395 2008-04-08 11 +396 val_396 2008-04-08 11 +396 val_396 2008-04-08 11 +396 val_396 2008-04-08 11 +397 val_397 2008-04-08 11 +397 val_397 2008-04-08 11 +399 val_399 2008-04-08 11 +399 val_399 2008-04-08 11 +4 val_4 2008-04-08 11 +400 val_400 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 11 +402 val_402 2008-04-08 11 +403 val_403 2008-04-08 11 +403 val_403 2008-04-08 11 +403 val_403 2008-04-08 11 +404 val_404 2008-04-08 11 +404 val_404 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 11 +407 val_407 2008-04-08 11 +409 val_409 2008-04-08 11 +409 val_409 2008-04-08 11 +409 val_409 2008-04-08 11 +41 val_41 2008-04-08 11 +411 val_411 2008-04-08 11 +413 val_413 2008-04-08 11 +413 val_413 2008-04-08 11 +414 val_414 2008-04-08 11 +414 val_414 2008-04-08 11 +417 val_417 2008-04-08 11 +417 val_417 2008-04-08 11 +417 val_417 2008-04-08 11 +418 val_418 2008-04-08 11 +419 val_419 2008-04-08 11 +42 val_42 2008-04-08 11 +42 val_42 2008-04-08 11 +421 val_421 2008-04-08 11 +424 val_424 2008-04-08 11 +424 val_424 2008-04-08 11 +427 val_427 2008-04-08 11 +429 val_429 2008-04-08 11 +429 val_429 2008-04-08 11 +43 val_43 2008-04-08 11 +430 val_430 2008-04-08 11 +430 val_430 2008-04-08 11 +430 val_430 2008-04-08 11 +431 val_431 2008-04-08 11 +431 val_431 2008-04-08 11 +431 val_431 2008-04-08 11 +432 val_432 2008-04-08 11 +435 val_435 2008-04-08 11 +436 val_436 2008-04-08 11 +437 val_437 2008-04-08 11 +438 val_438 2008-04-08 11 +438 val_438 2008-04-08 11 +438 val_438 2008-04-08 11 +439 val_439 2008-04-08 11 +439 val_439 2008-04-08 11 +44 val_44 2008-04-08 11 +443 val_443 2008-04-08 11 +444 val_444 2008-04-08 11 +446 val_446 2008-04-08 11 +448 val_448 2008-04-08 11 +449 val_449 2008-04-08 11 +452 val_452 2008-04-08 11 +453 val_453 2008-04-08 11 +454 val_454 2008-04-08 11 +454 val_454 2008-04-08 11 +454 val_454 2008-04-08 11 +455 val_455 2008-04-08 11 +457 val_457 2008-04-08 11 +458 val_458 2008-04-08 11 +458 val_458 2008-04-08 11 +459 val_459 2008-04-08 11 +459 val_459 2008-04-08 11 +460 val_460 2008-04-08 11 +462 val_462 2008-04-08 11 +462 val_462 2008-04-08 11 +463 val_463 2008-04-08 11 +463 val_463 2008-04-08 11 +466 val_466 2008-04-08 11 +466 val_466 2008-04-08 11 +466 val_466 2008-04-08 11 +467 val_467 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 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 11 +47 val_47 2008-04-08 11 +470 val_470 2008-04-08 11 +472 val_472 2008-04-08 11 +475 val_475 2008-04-08 11 +477 val_477 2008-04-08 11 +478 val_478 2008-04-08 11 +478 val_478 2008-04-08 11 +479 val_479 2008-04-08 11 +480 val_480 2008-04-08 11 +480 val_480 2008-04-08 11 +480 val_480 2008-04-08 11 +481 val_481 2008-04-08 11 +482 val_482 2008-04-08 11 +483 val_483 2008-04-08 11 +484 val_484 2008-04-08 11 +485 val_485 2008-04-08 11 +487 val_487 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 11 +490 val_490 2008-04-08 11 +491 val_491 2008-04-08 11 +492 val_492 2008-04-08 11 +492 val_492 2008-04-08 11 +493 val_493 2008-04-08 11 +494 val_494 2008-04-08 11 +495 val_495 2008-04-08 11 +496 val_496 2008-04-08 11 +497 val_497 2008-04-08 11 +498 val_498 2008-04-08 11 +498 val_498 2008-04-08 11 +498 val_498 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 +51 val_51 2008-04-08 11 +51 val_51 2008-04-08 11 +53 val_53 2008-04-08 11 +54 val_54 2008-04-08 11 +57 val_57 2008-04-08 11 +58 val_58 2008-04-08 11 +58 val_58 2008-04-08 11 +64 val_64 2008-04-08 11 +65 val_65 2008-04-08 11 +66 val_66 2008-04-08 11 +67 val_67 2008-04-08 11 +67 val_67 2008-04-08 11 +69 val_69 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 +72 val_72 2008-04-08 11 +72 val_72 2008-04-08 11 +74 val_74 2008-04-08 11 +76 val_76 2008-04-08 11 +76 val_76 2008-04-08 11 +77 val_77 2008-04-08 11 +78 val_78 2008-04-08 11 +8 val_8 2008-04-08 11 +80 val_80 2008-04-08 11 +82 val_82 2008-04-08 11 +83 val_83 2008-04-08 11 +83 val_83 2008-04-08 11 +84 val_84 2008-04-08 11 +84 val_84 2008-04-08 11 +85 val_85 2008-04-08 11 +86 val_86 2008-04-08 11 +87 val_87 2008-04-08 11 +9 val_9 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 +92 val_92 2008-04-08 11 +95 val_95 2008-04-08 11 +95 val_95 2008-04-08 11 +96 val_96 2008-04-08 11 +97 val_97 2008-04-08 11 +97 val_97 2008-04-08 11 +98 val_98 2008-04-08 11 +98 val_98 2008-04-08 11 +PREHOOK: query: show table extended like `merge_dynamic_part_n1_temp` +PREHOOK: type: SHOW_TABLESTATUS +POSTHOOK: query: show table extended like `merge_dynamic_part_n1_temp` +POSTHOOK: type: SHOW_TABLESTATUS +tableName:merge_dynamic_part_n1_temp +#### A masked pattern was here #### +inputformat:org.apache.hadoop.mapred.TextInputFormat +outputformat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat +columns:struct columns { string key, string value} +partitioned:true +partitionColumns:struct partition_columns { string ds, string hr} +totalNumberFiles:1 +totalFileSize:5812 +maxFileSize:5812 +minFileSize:5812 +#### A masked pattern was here #### + diff --git a/ql/src/test/results/clientpositive/temp_table_merge_dynamic_partition2.q.out b/ql/src/test/results/clientpositive/temp_table_merge_dynamic_partition2.q.out new file mode 100644 index 0000000000..18495c4400 --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_merge_dynamic_partition2.q.out @@ -0,0 +1,211 @@ +PREHOOK: query: create temporary table srcpart_merge_dp_n0_temp like srcpart +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@srcpart_merge_dp_n0_temp +POSTHOOK: query: create temporary table srcpart_merge_dp_n0_temp like srcpart +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@srcpart_merge_dp_n0_temp +PREHOOK: query: create temporary table merge_dynamic_part_n0_temp like srcpart +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@merge_dynamic_part_n0_temp +POSTHOOK: query: create temporary table merge_dynamic_part_n0_temp like srcpart +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@merge_dynamic_part_n0_temp +PREHOOK: query: load data local inpath '../../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp_n0_temp partition(ds='2008-04-08', hr=11) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_n0_temp +POSTHOOK: query: load data local inpath '../../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp_n0_temp partition(ds='2008-04-08', hr=11) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_n0_temp +POSTHOOK: Output: default@srcpart_merge_dp_n0_temp@ds=2008-04-08/hr=11 +PREHOOK: query: load data local inpath '../../data/files/srcbucket21.txt' INTO TABLE srcpart_merge_dp_n0_temp partition(ds='2008-04-08', hr=11) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_n0_temp@ds=2008-04-08/hr=11 +POSTHOOK: query: load data local inpath '../../data/files/srcbucket21.txt' INTO TABLE srcpart_merge_dp_n0_temp partition(ds='2008-04-08', hr=11) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_n0_temp@ds=2008-04-08/hr=11 +PREHOOK: query: load data local inpath '../../data/files/srcbucket22.txt' INTO TABLE srcpart_merge_dp_n0_temp partition(ds='2008-04-08', hr=11) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_n0_temp@ds=2008-04-08/hr=11 +POSTHOOK: query: load data local inpath '../../data/files/srcbucket22.txt' INTO TABLE srcpart_merge_dp_n0_temp partition(ds='2008-04-08', hr=11) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_n0_temp@ds=2008-04-08/hr=11 +PREHOOK: query: load data local inpath '../../data/files/srcbucket23.txt' INTO TABLE srcpart_merge_dp_n0_temp partition(ds='2008-04-08', hr=11) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_n0_temp@ds=2008-04-08/hr=11 +POSTHOOK: query: load data local inpath '../../data/files/srcbucket23.txt' INTO TABLE srcpart_merge_dp_n0_temp partition(ds='2008-04-08', hr=11) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_n0_temp@ds=2008-04-08/hr=11 +PREHOOK: query: load data local inpath '../../data/files/srcbucket0.txt' INTO TABLE srcpart_merge_dp_n0_temp partition(ds='2008-04-08', hr=12) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_n0_temp +POSTHOOK: query: load data local inpath '../../data/files/srcbucket0.txt' INTO TABLE srcpart_merge_dp_n0_temp partition(ds='2008-04-08', hr=12) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_n0_temp +POSTHOOK: Output: default@srcpart_merge_dp_n0_temp@ds=2008-04-08/hr=12 +PREHOOK: query: load data local inpath '../../data/files/srcbucket1.txt' INTO TABLE srcpart_merge_dp_n0_temp partition(ds='2008-04-08', hr=12) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_n0_temp@ds=2008-04-08/hr=12 +POSTHOOK: query: load data local inpath '../../data/files/srcbucket1.txt' INTO TABLE srcpart_merge_dp_n0_temp partition(ds='2008-04-08', hr=12) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_n0_temp@ds=2008-04-08/hr=12 +PREHOOK: query: explain +insert overwrite table merge_dynamic_part_n0_temp partition (ds='2008-04-08', hr) select key, value, hr from srcpart_merge_dp_n0_temp where ds='2008-04-08' +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart_merge_dp_n0_temp +PREHOOK: Input: default@srcpart_merge_dp_n0_temp@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart_merge_dp_n0_temp@ds=2008-04-08/hr=12 +PREHOOK: Output: default@merge_dynamic_part_n0_temp@ds=2008-04-08 +POSTHOOK: query: explain +insert overwrite table merge_dynamic_part_n0_temp partition (ds='2008-04-08', hr) select key, value, hr from srcpart_merge_dp_n0_temp where ds='2008-04-08' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart_merge_dp_n0_temp +POSTHOOK: Input: default@srcpart_merge_dp_n0_temp@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart_merge_dp_n0_temp@ds=2008-04-08/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 + Map Operator Tree: + TableScan + alias: srcpart_merge_dp_n0_temp + filterExpr: (ds = '2008-04-08') (type: boolean) + Statistics: Num rows: 297 Data size: 148488 Basic stats: PARTIAL Column stats: PARTIAL + Select Operator + expressions: key (type: string), value (type: string), hr (type: string) + outputColumnNames: _col0, _col1, _col2 + Statistics: Num rows: 297 Data size: 148488 Basic stats: PARTIAL Column stats: PARTIAL + Reduce Output Operator + key expressions: _col2 (type: string) + sort order: + + Map-reduce partition columns: _col2 (type: string) + Statistics: Num rows: 297 Data size: 148488 Basic stats: PARTIAL Column stats: PARTIAL + value expressions: _col0 (type: string), _col1 (type: string) + Reduce Operator Tree: + Select Operator + expressions: VALUE._col0 (type: string), VALUE._col1 (type: string), KEY._col2 (type: string) + outputColumnNames: _col0, _col1, _col2 + File Output Operator + compressed: false + Dp Sort State: PARTITION_SORTED + Statistics: Num rows: 297 Data size: 148488 Basic stats: PARTIAL Column stats: PARTIAL + table: + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.merge_dynamic_part_n0_temp + + Stage: Stage-7 + Conditional Operator + + Stage: Stage-4 + Move Operator + files: + hdfs directory: true +#### A masked pattern was here #### + + Stage: Stage-0 + Move Operator + tables: + partition: + ds 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: default.merge_dynamic_part_n0_temp + + Stage: Stage-2 + Stats Work + Basic Stats Work: + + Stage: Stage-3 + Map Reduce + Map Operator Tree: + TableScan + File Output Operator + compressed: false + table: + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.merge_dynamic_part_n0_temp + + Stage: Stage-5 + Map Reduce + Map Operator Tree: + TableScan + File Output Operator + compressed: false + table: + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.merge_dynamic_part_n0_temp + + Stage: Stage-6 + Move Operator + files: + hdfs directory: true +#### A masked pattern was here #### + +PREHOOK: query: insert overwrite table merge_dynamic_part_n0_temp partition (ds='2008-04-08', hr) select key, value, hr from srcpart_merge_dp_n0_temp where ds='2008-04-08' +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart_merge_dp_n0_temp +PREHOOK: Input: default@srcpart_merge_dp_n0_temp@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart_merge_dp_n0_temp@ds=2008-04-08/hr=12 +PREHOOK: Output: default@merge_dynamic_part_n0_temp@ds=2008-04-08 +POSTHOOK: query: insert overwrite table merge_dynamic_part_n0_temp partition (ds='2008-04-08', hr) select key, value, hr from srcpart_merge_dp_n0_temp where ds='2008-04-08' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart_merge_dp_n0_temp +POSTHOOK: Input: default@srcpart_merge_dp_n0_temp@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart_merge_dp_n0_temp@ds=2008-04-08/hr=12 +POSTHOOK: Output: default@merge_dynamic_part_n0_temp@ds=2008-04-08/hr=11 +POSTHOOK: Output: default@merge_dynamic_part_n0_temp@ds=2008-04-08/hr=12 +POSTHOOK: Lineage: merge_dynamic_part_n0_temp PARTITION(ds=2008-04-08,hr=11).key SIMPLE [(srcpart_merge_dp_n0_temp)srcpart_merge_dp_n0_temp.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: merge_dynamic_part_n0_temp PARTITION(ds=2008-04-08,hr=11).value SIMPLE [(srcpart_merge_dp_n0_temp)srcpart_merge_dp_n0_temp.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: merge_dynamic_part_n0_temp PARTITION(ds=2008-04-08,hr=12).key SIMPLE [(srcpart_merge_dp_n0_temp)srcpart_merge_dp_n0_temp.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: merge_dynamic_part_n0_temp PARTITION(ds=2008-04-08,hr=12).value SIMPLE [(srcpart_merge_dp_n0_temp)srcpart_merge_dp_n0_temp.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: show table extended like `merge_dynamic_part_n0_temp` +PREHOOK: type: SHOW_TABLESTATUS +POSTHOOK: query: show table extended like `merge_dynamic_part_n0_temp` +POSTHOOK: type: SHOW_TABLESTATUS +tableName:merge_dynamic_part_n0_temp +#### A masked pattern was here #### +inputformat:org.apache.hadoop.mapred.TextInputFormat +outputformat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat +columns:struct columns { string key, string value} +partitioned:true +partitionColumns:struct partition_columns { string ds, string hr} +totalNumberFiles:2 +totalFileSize:17415 +maxFileSize:11603 +minFileSize:5812 +#### A masked pattern was here #### + diff --git a/ql/src/test/results/clientpositive/temp_table_merge_dynamic_partition3.q.out b/ql/src/test/results/clientpositive/temp_table_merge_dynamic_partition3.q.out new file mode 100644 index 0000000000..88dfc1193b --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_merge_dynamic_partition3.q.out @@ -0,0 +1,305 @@ +PREHOOK: query: create temporary table srcpart_merge_dp_n2_temp like srcpart +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@srcpart_merge_dp_n2_temp +POSTHOOK: query: create temporary table srcpart_merge_dp_n2_temp like srcpart +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@srcpart_merge_dp_n2_temp +PREHOOK: query: create temporary table merge_dynamic_part_n2_temp like srcpart +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@merge_dynamic_part_n2_temp +POSTHOOK: query: create temporary table merge_dynamic_part_n2_temp like srcpart +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@merge_dynamic_part_n2_temp +PREHOOK: query: load data local inpath '../../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-08', hr=11) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_n2_temp +POSTHOOK: query: load data local inpath '../../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-08', hr=11) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_n2_temp +POSTHOOK: Output: default@srcpart_merge_dp_n2_temp@ds=2008-04-08/hr=11 +PREHOOK: query: load data local inpath '../../data/files/srcbucket21.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-08', hr=11) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_n2_temp@ds=2008-04-08/hr=11 +POSTHOOK: query: load data local inpath '../../data/files/srcbucket21.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-08', hr=11) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_n2_temp@ds=2008-04-08/hr=11 +PREHOOK: query: load data local inpath '../../data/files/srcbucket22.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-08', hr=11) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_n2_temp@ds=2008-04-08/hr=11 +POSTHOOK: query: load data local inpath '../../data/files/srcbucket22.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-08', hr=11) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_n2_temp@ds=2008-04-08/hr=11 +PREHOOK: query: load data local inpath '../../data/files/srcbucket23.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-08', hr=11) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_n2_temp@ds=2008-04-08/hr=11 +POSTHOOK: query: load data local inpath '../../data/files/srcbucket23.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-08', hr=11) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_n2_temp@ds=2008-04-08/hr=11 +PREHOOK: query: load data local inpath '../../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-08', hr=12) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_n2_temp +POSTHOOK: query: load data local inpath '../../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-08', hr=12) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_n2_temp +POSTHOOK: Output: default@srcpart_merge_dp_n2_temp@ds=2008-04-08/hr=12 +PREHOOK: query: load data local inpath '../../data/files/srcbucket21.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-08', hr=12) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_n2_temp@ds=2008-04-08/hr=12 +POSTHOOK: query: load data local inpath '../../data/files/srcbucket21.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-08', hr=12) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_n2_temp@ds=2008-04-08/hr=12 +PREHOOK: query: load data local inpath '../../data/files/srcbucket22.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-08', hr=12) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_n2_temp@ds=2008-04-08/hr=12 +POSTHOOK: query: load data local inpath '../../data/files/srcbucket22.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-08', hr=12) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_n2_temp@ds=2008-04-08/hr=12 +PREHOOK: query: load data local inpath '../../data/files/srcbucket23.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-08', hr=12) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_n2_temp@ds=2008-04-08/hr=12 +POSTHOOK: query: load data local inpath '../../data/files/srcbucket23.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-08', hr=12) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_n2_temp@ds=2008-04-08/hr=12 +PREHOOK: query: load data local inpath '../../data/files/kv1.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-09', hr=11) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_n2_temp +POSTHOOK: query: load data local inpath '../../data/files/kv1.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-09', hr=11) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_n2_temp +POSTHOOK: Output: default@srcpart_merge_dp_n2_temp@ds=2008-04-09/hr=11 +PREHOOK: query: load data local inpath '../../data/files/kv2.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-09', hr=11) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_n2_temp@ds=2008-04-09/hr=11 +POSTHOOK: query: load data local inpath '../../data/files/kv2.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-09', hr=11) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_n2_temp@ds=2008-04-09/hr=11 +PREHOOK: query: load data local inpath '../../data/files/kv1.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-09', hr=12) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_n2_temp +POSTHOOK: query: load data local inpath '../../data/files/kv1.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-09', hr=12) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_n2_temp +POSTHOOK: Output: default@srcpart_merge_dp_n2_temp@ds=2008-04-09/hr=12 +PREHOOK: query: load data local inpath '../../data/files/kv2.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-09', hr=12) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_n2_temp@ds=2008-04-09/hr=12 +POSTHOOK: query: load data local inpath '../../data/files/kv2.txt' INTO TABLE srcpart_merge_dp_n2_temp partition(ds='2008-04-09', hr=12) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_n2_temp@ds=2008-04-09/hr=12 +PREHOOK: query: show partitions srcpart_merge_dp_n2_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@srcpart_merge_dp_n2_temp +POSTHOOK: query: show partitions srcpart_merge_dp_n2_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@srcpart_merge_dp_n2_temp +ds=2008-04-08/hr=11 +ds=2008-04-08/hr=12 +ds=2008-04-09/hr=11 +ds=2008-04-09/hr=12 +PREHOOK: query: explain +insert overwrite table merge_dynamic_part_n2_temp partition (ds, hr) select key, value, ds, hr from srcpart_merge_dp_n2_temp where ds>='2008-04-08' +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart_merge_dp_n2_temp +PREHOOK: Input: default@srcpart_merge_dp_n2_temp@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart_merge_dp_n2_temp@ds=2008-04-08/hr=12 +PREHOOK: Input: default@srcpart_merge_dp_n2_temp@ds=2008-04-09/hr=11 +PREHOOK: Input: default@srcpart_merge_dp_n2_temp@ds=2008-04-09/hr=12 +PREHOOK: Output: default@merge_dynamic_part_n2_temp +POSTHOOK: query: explain +insert overwrite table merge_dynamic_part_n2_temp partition (ds, hr) select key, value, ds, hr from srcpart_merge_dp_n2_temp where ds>='2008-04-08' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart_merge_dp_n2_temp +POSTHOOK: Input: default@srcpart_merge_dp_n2_temp@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart_merge_dp_n2_temp@ds=2008-04-08/hr=12 +POSTHOOK: Input: default@srcpart_merge_dp_n2_temp@ds=2008-04-09/hr=11 +POSTHOOK: Input: default@srcpart_merge_dp_n2_temp@ds=2008-04-09/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 + Map Operator Tree: + TableScan + alias: srcpart_merge_dp_n2_temp + filterExpr: (ds >= '2008-04-08') (type: boolean) + Statistics: Num rows: 594 Data size: 405536 Basic stats: PARTIAL Column stats: PARTIAL + Select Operator + expressions: key (type: string), value (type: string), ds (type: string), hr (type: string) + outputColumnNames: _col0, _col1, _col2, _col3 + Statistics: Num rows: 594 Data size: 405536 Basic stats: PARTIAL Column stats: PARTIAL + Reduce Output Operator + key expressions: _col2 (type: string), _col3 (type: string) + sort order: ++ + Map-reduce partition columns: _col2 (type: string), _col3 (type: string) + Statistics: Num rows: 594 Data size: 405536 Basic stats: PARTIAL Column stats: PARTIAL + value expressions: _col0 (type: string), _col1 (type: string) + Reduce Operator Tree: + Select Operator + expressions: VALUE._col0 (type: string), VALUE._col1 (type: string), KEY._col2 (type: string), KEY._col3 (type: string) + outputColumnNames: _col0, _col1, _col2, _col3 + File Output Operator + compressed: false + Dp Sort State: PARTITION_SORTED + Statistics: Num rows: 594 Data size: 405536 Basic stats: PARTIAL Column stats: PARTIAL + table: + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.merge_dynamic_part_n2_temp + + Stage: Stage-7 + Conditional Operator + + Stage: Stage-4 + Move Operator + files: + hdfs directory: true +#### A masked pattern was here #### + + Stage: Stage-0 + Move Operator + tables: + partition: + ds + hr + replace: true + table: + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.merge_dynamic_part_n2_temp + + Stage: Stage-2 + Stats Work + Basic Stats Work: + + Stage: Stage-3 + Map Reduce + Map Operator Tree: + TableScan + File Output Operator + compressed: false + table: + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.merge_dynamic_part_n2_temp + + Stage: Stage-5 + Map Reduce + Map Operator Tree: + TableScan + File Output Operator + compressed: false + table: + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.merge_dynamic_part_n2_temp + + Stage: Stage-6 + Move Operator + files: + hdfs directory: true +#### A masked pattern was here #### + +PREHOOK: query: insert overwrite table merge_dynamic_part_n2_temp partition (ds, hr) select key, value, ds, hr from srcpart_merge_dp_n2_temp where ds>='2008-04-08' +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart_merge_dp_n2_temp +PREHOOK: Input: default@srcpart_merge_dp_n2_temp@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart_merge_dp_n2_temp@ds=2008-04-08/hr=12 +PREHOOK: Input: default@srcpart_merge_dp_n2_temp@ds=2008-04-09/hr=11 +PREHOOK: Input: default@srcpart_merge_dp_n2_temp@ds=2008-04-09/hr=12 +PREHOOK: Output: default@merge_dynamic_part_n2_temp +POSTHOOK: query: insert overwrite table merge_dynamic_part_n2_temp partition (ds, hr) select key, value, ds, hr from srcpart_merge_dp_n2_temp where ds>='2008-04-08' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart_merge_dp_n2_temp +POSTHOOK: Input: default@srcpart_merge_dp_n2_temp@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart_merge_dp_n2_temp@ds=2008-04-08/hr=12 +POSTHOOK: Input: default@srcpart_merge_dp_n2_temp@ds=2008-04-09/hr=11 +POSTHOOK: Input: default@srcpart_merge_dp_n2_temp@ds=2008-04-09/hr=12 +POSTHOOK: Output: default@merge_dynamic_part_n2_temp@ds=2008-04-08/hr=11 +POSTHOOK: Output: default@merge_dynamic_part_n2_temp@ds=2008-04-08/hr=12 +POSTHOOK: Output: default@merge_dynamic_part_n2_temp@ds=2008-04-09/hr=11 +POSTHOOK: Output: default@merge_dynamic_part_n2_temp@ds=2008-04-09/hr=12 +POSTHOOK: Lineage: merge_dynamic_part_n2_temp PARTITION(ds=2008-04-08,hr=11).key SIMPLE [(srcpart_merge_dp_n2_temp)srcpart_merge_dp_n2_temp.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: merge_dynamic_part_n2_temp PARTITION(ds=2008-04-08,hr=11).value SIMPLE [(srcpart_merge_dp_n2_temp)srcpart_merge_dp_n2_temp.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: merge_dynamic_part_n2_temp PARTITION(ds=2008-04-08,hr=12).key SIMPLE [(srcpart_merge_dp_n2_temp)srcpart_merge_dp_n2_temp.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: merge_dynamic_part_n2_temp PARTITION(ds=2008-04-08,hr=12).value SIMPLE [(srcpart_merge_dp_n2_temp)srcpart_merge_dp_n2_temp.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: merge_dynamic_part_n2_temp PARTITION(ds=2008-04-09,hr=11).key SIMPLE [(srcpart_merge_dp_n2_temp)srcpart_merge_dp_n2_temp.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: merge_dynamic_part_n2_temp PARTITION(ds=2008-04-09,hr=11).value SIMPLE [(srcpart_merge_dp_n2_temp)srcpart_merge_dp_n2_temp.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: merge_dynamic_part_n2_temp PARTITION(ds=2008-04-09,hr=12).key SIMPLE [(srcpart_merge_dp_n2_temp)srcpart_merge_dp_n2_temp.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: merge_dynamic_part_n2_temp PARTITION(ds=2008-04-09,hr=12).value SIMPLE [(srcpart_merge_dp_n2_temp)srcpart_merge_dp_n2_temp.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: select ds, hr, count(1) from merge_dynamic_part_n2_temp where ds>='2008-04-08' group by ds, hr +PREHOOK: type: QUERY +PREHOOK: Input: default@merge_dynamic_part_n2_temp +PREHOOK: Input: default@merge_dynamic_part_n2_temp@ds=2008-04-08/hr=11 +PREHOOK: Input: default@merge_dynamic_part_n2_temp@ds=2008-04-08/hr=12 +PREHOOK: Input: default@merge_dynamic_part_n2_temp@ds=2008-04-09/hr=11 +PREHOOK: Input: default@merge_dynamic_part_n2_temp@ds=2008-04-09/hr=12 +#### A masked pattern was here #### +POSTHOOK: query: select ds, hr, count(1) from merge_dynamic_part_n2_temp where ds>='2008-04-08' group by ds, hr +POSTHOOK: type: QUERY +POSTHOOK: Input: default@merge_dynamic_part_n2_temp +POSTHOOK: Input: default@merge_dynamic_part_n2_temp@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@merge_dynamic_part_n2_temp@ds=2008-04-08/hr=12 +POSTHOOK: Input: default@merge_dynamic_part_n2_temp@ds=2008-04-09/hr=11 +POSTHOOK: Input: default@merge_dynamic_part_n2_temp@ds=2008-04-09/hr=12 +#### A masked pattern was here #### +2008-04-08 11 500 +2008-04-08 12 500 +2008-04-09 11 1000 +2008-04-09 12 1000 +PREHOOK: query: show table extended like `merge_dynamic_part_n2_temp` +PREHOOK: type: SHOW_TABLESTATUS +POSTHOOK: query: show table extended like `merge_dynamic_part_n2_temp` +POSTHOOK: type: SHOW_TABLESTATUS +tableName:merge_dynamic_part_n2_temp +#### A masked pattern was here #### +inputformat:org.apache.hadoop.mapred.TextInputFormat +outputformat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat +columns:struct columns { string key, string value} +partitioned:true +partitionColumns:struct partition_columns { string ds, string hr} +totalNumberFiles:4 +totalFileSize:34830 +maxFileSize:11603 +minFileSize:5812 +#### A masked pattern was here #### + diff --git a/ql/src/test/results/clientpositive/temp_table_merge_dynamic_partition4.q.out b/ql/src/test/results/clientpositive/temp_table_merge_dynamic_partition4.q.out new file mode 100644 index 0000000000..30c0739c5b --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_merge_dynamic_partition4.q.out @@ -0,0 +1,264 @@ +PREHOOK: query: create temporary table srcpart_merge_dp_n4_temp like srcpart +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@srcpart_merge_dp_n4_temp +POSTHOOK: query: create temporary table srcpart_merge_dp_n4_temp like srcpart +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@srcpart_merge_dp_n4_temp +PREHOOK: query: create temporary table srcpart_merge_dp_rc_n1_temp like srcpart +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@srcpart_merge_dp_rc_n1_temp +POSTHOOK: query: create temporary table srcpart_merge_dp_rc_n1_temp like srcpart +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@srcpart_merge_dp_rc_n1_temp +PREHOOK: query: alter table srcpart_merge_dp_rc_n1_temp set fileformat RCFILE +PREHOOK: type: ALTERTABLE_FILEFORMAT +PREHOOK: Input: default@srcpart_merge_dp_rc_n1_temp +PREHOOK: Output: default@srcpart_merge_dp_rc_n1_temp +POSTHOOK: query: alter table srcpart_merge_dp_rc_n1_temp set fileformat RCFILE +POSTHOOK: type: ALTERTABLE_FILEFORMAT +POSTHOOK: Input: default@srcpart_merge_dp_rc_n1_temp +POSTHOOK: Output: default@srcpart_merge_dp_rc_n1_temp +PREHOOK: query: create temporary table merge_dynamic_part_n3_temp like srcpart +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@merge_dynamic_part_n3_temp +POSTHOOK: query: create temporary table merge_dynamic_part_n3_temp like srcpart +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@merge_dynamic_part_n3_temp +PREHOOK: query: alter table merge_dynamic_part_n3_temp set fileformat RCFILE +PREHOOK: type: ALTERTABLE_FILEFORMAT +PREHOOK: Input: default@merge_dynamic_part_n3_temp +PREHOOK: Output: default@merge_dynamic_part_n3_temp +POSTHOOK: query: alter table merge_dynamic_part_n3_temp set fileformat RCFILE +POSTHOOK: type: ALTERTABLE_FILEFORMAT +POSTHOOK: Input: default@merge_dynamic_part_n3_temp +POSTHOOK: Output: default@merge_dynamic_part_n3_temp +PREHOOK: query: load data local inpath '../../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp_n4_temp partition(ds='2008-04-08', hr=11) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_n4_temp +POSTHOOK: query: load data local inpath '../../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp_n4_temp partition(ds='2008-04-08', hr=11) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_n4_temp +POSTHOOK: Output: default@srcpart_merge_dp_n4_temp@ds=2008-04-08/hr=11 +PREHOOK: query: load data local inpath '../../data/files/srcbucket21.txt' INTO TABLE srcpart_merge_dp_n4_temp partition(ds='2008-04-08', hr=11) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_n4_temp@ds=2008-04-08/hr=11 +POSTHOOK: query: load data local inpath '../../data/files/srcbucket21.txt' INTO TABLE srcpart_merge_dp_n4_temp partition(ds='2008-04-08', hr=11) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_n4_temp@ds=2008-04-08/hr=11 +PREHOOK: query: load data local inpath '../../data/files/srcbucket22.txt' INTO TABLE srcpart_merge_dp_n4_temp partition(ds='2008-04-08', hr=11) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_n4_temp@ds=2008-04-08/hr=11 +POSTHOOK: query: load data local inpath '../../data/files/srcbucket22.txt' INTO TABLE srcpart_merge_dp_n4_temp partition(ds='2008-04-08', hr=11) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_n4_temp@ds=2008-04-08/hr=11 +PREHOOK: query: load data local inpath '../../data/files/srcbucket23.txt' INTO TABLE srcpart_merge_dp_n4_temp partition(ds='2008-04-08', hr=11) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_n4_temp@ds=2008-04-08/hr=11 +POSTHOOK: query: load data local inpath '../../data/files/srcbucket23.txt' INTO TABLE srcpart_merge_dp_n4_temp partition(ds='2008-04-08', hr=11) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_n4_temp@ds=2008-04-08/hr=11 +PREHOOK: query: load data local inpath '../../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp_n4_temp partition(ds='2008-04-08', hr=12) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_n4_temp +POSTHOOK: query: load data local inpath '../../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp_n4_temp partition(ds='2008-04-08', hr=12) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_n4_temp +POSTHOOK: Output: default@srcpart_merge_dp_n4_temp@ds=2008-04-08/hr=12 +PREHOOK: query: load data local inpath '../../data/files/srcbucket21.txt' INTO TABLE srcpart_merge_dp_n4_temp partition(ds='2008-04-08', hr=12) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_n4_temp@ds=2008-04-08/hr=12 +POSTHOOK: query: load data local inpath '../../data/files/srcbucket21.txt' INTO TABLE srcpart_merge_dp_n4_temp partition(ds='2008-04-08', hr=12) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_n4_temp@ds=2008-04-08/hr=12 +PREHOOK: query: load data local inpath '../../data/files/srcbucket22.txt' INTO TABLE srcpart_merge_dp_n4_temp partition(ds='2008-04-08', hr=12) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_n4_temp@ds=2008-04-08/hr=12 +POSTHOOK: query: load data local inpath '../../data/files/srcbucket22.txt' INTO TABLE srcpart_merge_dp_n4_temp partition(ds='2008-04-08', hr=12) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_n4_temp@ds=2008-04-08/hr=12 +PREHOOK: query: load data local inpath '../../data/files/srcbucket23.txt' INTO TABLE srcpart_merge_dp_n4_temp partition(ds='2008-04-08', hr=12) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_n4_temp@ds=2008-04-08/hr=12 +POSTHOOK: query: load data local inpath '../../data/files/srcbucket23.txt' INTO TABLE srcpart_merge_dp_n4_temp partition(ds='2008-04-08', hr=12) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_n4_temp@ds=2008-04-08/hr=12 +PREHOOK: query: insert overwrite table srcpart_merge_dp_rc_n1_temp partition (ds = '2008-04-08', hr) + select key, value, hr from srcpart_merge_dp_n4_temp where ds = '2008-04-08' +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart_merge_dp_n4_temp +PREHOOK: Input: default@srcpart_merge_dp_n4_temp@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart_merge_dp_n4_temp@ds=2008-04-08/hr=12 +PREHOOK: Output: default@srcpart_merge_dp_rc_n1_temp@ds=2008-04-08 +POSTHOOK: query: insert overwrite table srcpart_merge_dp_rc_n1_temp partition (ds = '2008-04-08', hr) + select key, value, hr from srcpart_merge_dp_n4_temp where ds = '2008-04-08' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart_merge_dp_n4_temp +POSTHOOK: Input: default@srcpart_merge_dp_n4_temp@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart_merge_dp_n4_temp@ds=2008-04-08/hr=12 +POSTHOOK: Output: default@srcpart_merge_dp_rc_n1_temp@ds=2008-04-08/hr=11 +POSTHOOK: Output: default@srcpart_merge_dp_rc_n1_temp@ds=2008-04-08/hr=12 +POSTHOOK: Lineage: srcpart_merge_dp_rc_n1_temp PARTITION(ds=2008-04-08,hr=11).key SIMPLE [(srcpart_merge_dp_n4_temp)srcpart_merge_dp_n4_temp.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: srcpart_merge_dp_rc_n1_temp PARTITION(ds=2008-04-08,hr=11).value SIMPLE [(srcpart_merge_dp_n4_temp)srcpart_merge_dp_n4_temp.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: srcpart_merge_dp_rc_n1_temp PARTITION(ds=2008-04-08,hr=12).key SIMPLE [(srcpart_merge_dp_n4_temp)srcpart_merge_dp_n4_temp.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: srcpart_merge_dp_rc_n1_temp PARTITION(ds=2008-04-08,hr=12).value SIMPLE [(srcpart_merge_dp_n4_temp)srcpart_merge_dp_n4_temp.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: explain +insert overwrite table merge_dynamic_part_n3_temp partition (ds = '2008-04-08', hr) + select key, value, if(key % 2 == 0, 'a1', 'b1') as hr from srcpart_merge_dp_rc_n1_temp where ds = '2008-04-08' +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart_merge_dp_rc_n1_temp +PREHOOK: Input: default@srcpart_merge_dp_rc_n1_temp@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart_merge_dp_rc_n1_temp@ds=2008-04-08/hr=12 +PREHOOK: Output: default@merge_dynamic_part_n3_temp@ds=2008-04-08 +POSTHOOK: query: explain +insert overwrite table merge_dynamic_part_n3_temp partition (ds = '2008-04-08', hr) + select key, value, if(key % 2 == 0, 'a1', 'b1') as hr from srcpart_merge_dp_rc_n1_temp where ds = '2008-04-08' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart_merge_dp_rc_n1_temp +POSTHOOK: Input: default@srcpart_merge_dp_rc_n1_temp@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart_merge_dp_rc_n1_temp@ds=2008-04-08/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 + Map Operator Tree: + TableScan + alias: srcpart_merge_dp_rc_n1_temp + filterExpr: (ds = '2008-04-08') (type: boolean) + Statistics: Num rows: 1000 Data size: 349968 Basic stats: COMPLETE Column stats: NONE + Select Operator + expressions: key (type: string), value (type: string), if(((UDFToDouble(key) % 2.0D) = 0.0D), 'a1', 'b1') (type: string) + outputColumnNames: _col0, _col1, _col2 + Statistics: Num rows: 1000 Data size: 349968 Basic stats: COMPLETE Column stats: NONE + Reduce Output Operator + key expressions: _col2 (type: string) + sort order: + + Map-reduce partition columns: _col2 (type: string) + Statistics: Num rows: 1000 Data size: 349968 Basic stats: COMPLETE Column stats: NONE + value expressions: _col0 (type: string), _col1 (type: string) + Reduce Operator Tree: + Select Operator + expressions: VALUE._col0 (type: string), VALUE._col1 (type: string), KEY._col2 (type: string) + outputColumnNames: _col0, _col1, _col2 + File Output Operator + compressed: false + Dp Sort State: PARTITION_SORTED + Statistics: Num rows: 1000 Data size: 349968 Basic stats: COMPLETE Column stats: NONE + 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: default.merge_dynamic_part_n3_temp + + Stage: Stage-7 + Conditional Operator + + Stage: Stage-4 + Move Operator + files: + hdfs directory: true +#### A masked pattern was here #### + + Stage: Stage-0 + Move Operator + tables: + partition: + ds 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: default.merge_dynamic_part_n3_temp + + Stage: Stage-2 + Stats Work + Basic Stats Work: + + Stage: Stage-3 + Merge File Operator + Map Operator Tree: + RCFile Merge Operator + merge level: block + input format: org.apache.hadoop.hive.ql.io.RCFileInputFormat + + Stage: Stage-5 + Merge File Operator + Map Operator Tree: + RCFile Merge Operator + merge level: block + input format: org.apache.hadoop.hive.ql.io.RCFileInputFormat + + Stage: Stage-6 + Move Operator + files: + hdfs directory: true +#### A masked pattern was here #### + +PREHOOK: query: insert overwrite table merge_dynamic_part_n3_temp partition (ds = '2008-04-08', hr) + select key, value, if(key % 2 == 0, 'a1', 'b1') as hr from srcpart_merge_dp_rc_n1_temp where ds = '2008-04-08' +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart_merge_dp_rc_n1_temp +PREHOOK: Input: default@srcpart_merge_dp_rc_n1_temp@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart_merge_dp_rc_n1_temp@ds=2008-04-08/hr=12 +PREHOOK: Output: default@merge_dynamic_part_n3_temp@ds=2008-04-08 +POSTHOOK: query: insert overwrite table merge_dynamic_part_n3_temp partition (ds = '2008-04-08', hr) + select key, value, if(key % 2 == 0, 'a1', 'b1') as hr from srcpart_merge_dp_rc_n1_temp where ds = '2008-04-08' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart_merge_dp_rc_n1_temp +POSTHOOK: Input: default@srcpart_merge_dp_rc_n1_temp@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart_merge_dp_rc_n1_temp@ds=2008-04-08/hr=12 +POSTHOOK: Output: default@merge_dynamic_part_n3_temp@ds=2008-04-08/hr=a1 +POSTHOOK: Output: default@merge_dynamic_part_n3_temp@ds=2008-04-08/hr=b1 +POSTHOOK: Lineage: merge_dynamic_part_n3_temp PARTITION(ds=2008-04-08,hr=a1).key SIMPLE [(srcpart_merge_dp_rc_n1_temp)srcpart_merge_dp_rc_n1_temp.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: merge_dynamic_part_n3_temp PARTITION(ds=2008-04-08,hr=a1).value SIMPLE [(srcpart_merge_dp_rc_n1_temp)srcpart_merge_dp_rc_n1_temp.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: merge_dynamic_part_n3_temp PARTITION(ds=2008-04-08,hr=b1).key SIMPLE [(srcpart_merge_dp_rc_n1_temp)srcpart_merge_dp_rc_n1_temp.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: merge_dynamic_part_n3_temp PARTITION(ds=2008-04-08,hr=b1).value SIMPLE [(srcpart_merge_dp_rc_n1_temp)srcpart_merge_dp_rc_n1_temp.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: show partitions merge_dynamic_part_n3_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@merge_dynamic_part_n3_temp +POSTHOOK: query: show partitions merge_dynamic_part_n3_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@merge_dynamic_part_n3_temp +ds=2008-04-08/hr=a1 +ds=2008-04-08/hr=b1 +PREHOOK: query: select count(*) from merge_dynamic_part_n3_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@merge_dynamic_part_n3_temp +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from merge_dynamic_part_n3_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@merge_dynamic_part_n3_temp +#### A masked pattern was here #### +1000 diff --git a/ql/src/test/results/clientpositive/temp_table_merge_dynamic_partition5.q.out b/ql/src/test/results/clientpositive/temp_table_merge_dynamic_partition5.q.out new file mode 100644 index 0000000000..58c0ac5910 --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_merge_dynamic_partition5.q.out @@ -0,0 +1,240 @@ +PREHOOK: query: create temporary table srcpart_merge_dp_temp like srcpart +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@srcpart_merge_dp_temp +POSTHOOK: query: create temporary table srcpart_merge_dp_temp like srcpart +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@srcpart_merge_dp_temp +PREHOOK: query: create temporary table srcpart_merge_dp_rc_temp like srcpart +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@srcpart_merge_dp_rc_temp +POSTHOOK: query: create temporary table srcpart_merge_dp_rc_temp like srcpart +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@srcpart_merge_dp_rc_temp +PREHOOK: query: alter table srcpart_merge_dp_rc_temp set fileformat RCFILE +PREHOOK: type: ALTERTABLE_FILEFORMAT +PREHOOK: Input: default@srcpart_merge_dp_rc_temp +PREHOOK: Output: default@srcpart_merge_dp_rc_temp +POSTHOOK: query: alter table srcpart_merge_dp_rc_temp set fileformat RCFILE +POSTHOOK: type: ALTERTABLE_FILEFORMAT +POSTHOOK: Input: default@srcpart_merge_dp_rc_temp +POSTHOOK: Output: default@srcpart_merge_dp_rc_temp +PREHOOK: query: create temporary table merge_dynamic_part_temp like srcpart +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@merge_dynamic_part_temp +POSTHOOK: query: create temporary table merge_dynamic_part_temp like srcpart +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@merge_dynamic_part_temp +PREHOOK: query: alter table merge_dynamic_part_temp set fileformat RCFILE +PREHOOK: type: ALTERTABLE_FILEFORMAT +PREHOOK: Input: default@merge_dynamic_part_temp +PREHOOK: Output: default@merge_dynamic_part_temp +POSTHOOK: query: alter table merge_dynamic_part_temp set fileformat RCFILE +POSTHOOK: type: ALTERTABLE_FILEFORMAT +POSTHOOK: Input: default@merge_dynamic_part_temp +POSTHOOK: Output: default@merge_dynamic_part_temp +PREHOOK: query: load data local inpath '../../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp_temp partition(ds='2008-04-08', hr=11) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_temp +POSTHOOK: query: load data local inpath '../../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp_temp partition(ds='2008-04-08', hr=11) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_temp +POSTHOOK: Output: default@srcpart_merge_dp_temp@ds=2008-04-08/hr=11 +PREHOOK: query: load data local inpath '../../data/files/srcbucket21.txt' INTO TABLE srcpart_merge_dp_temp partition(ds='2008-04-08', hr=11) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_temp@ds=2008-04-08/hr=11 +POSTHOOK: query: load data local inpath '../../data/files/srcbucket21.txt' INTO TABLE srcpart_merge_dp_temp partition(ds='2008-04-08', hr=11) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_temp@ds=2008-04-08/hr=11 +PREHOOK: query: load data local inpath '../../data/files/srcbucket22.txt' INTO TABLE srcpart_merge_dp_temp partition(ds='2008-04-08', hr=11) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_temp@ds=2008-04-08/hr=11 +POSTHOOK: query: load data local inpath '../../data/files/srcbucket22.txt' INTO TABLE srcpart_merge_dp_temp partition(ds='2008-04-08', hr=11) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_temp@ds=2008-04-08/hr=11 +PREHOOK: query: load data local inpath '../../data/files/srcbucket23.txt' INTO TABLE srcpart_merge_dp_temp partition(ds='2008-04-08', hr=11) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_temp@ds=2008-04-08/hr=11 +POSTHOOK: query: load data local inpath '../../data/files/srcbucket23.txt' INTO TABLE srcpart_merge_dp_temp partition(ds='2008-04-08', hr=11) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_temp@ds=2008-04-08/hr=11 +PREHOOK: query: load data local inpath '../../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp_temp partition(ds='2008-04-08', hr=12) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@srcpart_merge_dp_temp +POSTHOOK: query: load data local inpath '../../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp_temp partition(ds='2008-04-08', hr=12) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@srcpart_merge_dp_temp +POSTHOOK: Output: default@srcpart_merge_dp_temp@ds=2008-04-08/hr=12 +PREHOOK: query: insert overwrite table srcpart_merge_dp_rc_temp partition (ds = '2008-04-08', hr) + select key, value, hr from srcpart_merge_dp_temp where ds = '2008-04-08' +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart_merge_dp_temp +PREHOOK: Input: default@srcpart_merge_dp_temp@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart_merge_dp_temp@ds=2008-04-08/hr=12 +PREHOOK: Output: default@srcpart_merge_dp_rc_temp@ds=2008-04-08 +POSTHOOK: query: insert overwrite table srcpart_merge_dp_rc_temp partition (ds = '2008-04-08', hr) + select key, value, hr from srcpart_merge_dp_temp where ds = '2008-04-08' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart_merge_dp_temp +POSTHOOK: Input: default@srcpart_merge_dp_temp@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart_merge_dp_temp@ds=2008-04-08/hr=12 +POSTHOOK: Output: default@srcpart_merge_dp_rc_temp@ds=2008-04-08/hr=11 +POSTHOOK: Output: default@srcpart_merge_dp_rc_temp@ds=2008-04-08/hr=12 +POSTHOOK: Lineage: srcpart_merge_dp_rc_temp PARTITION(ds=2008-04-08,hr=11).key SIMPLE [(srcpart_merge_dp_temp)srcpart_merge_dp_temp.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: srcpart_merge_dp_rc_temp PARTITION(ds=2008-04-08,hr=11).value SIMPLE [(srcpart_merge_dp_temp)srcpart_merge_dp_temp.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: srcpart_merge_dp_rc_temp PARTITION(ds=2008-04-08,hr=12).key SIMPLE [(srcpart_merge_dp_temp)srcpart_merge_dp_temp.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: srcpart_merge_dp_rc_temp PARTITION(ds=2008-04-08,hr=12).value SIMPLE [(srcpart_merge_dp_temp)srcpart_merge_dp_temp.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: explain +insert overwrite table merge_dynamic_part_temp partition (ds = '2008-04-08', hr) + select key, value, if(key % 100 == 0, 'a1', 'b1') as hr from srcpart_merge_dp_rc_temp where ds = '2008-04-08' +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart_merge_dp_rc_temp +PREHOOK: Input: default@srcpart_merge_dp_rc_temp@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart_merge_dp_rc_temp@ds=2008-04-08/hr=12 +PREHOOK: Output: default@merge_dynamic_part_temp@ds=2008-04-08 +POSTHOOK: query: explain +insert overwrite table merge_dynamic_part_temp partition (ds = '2008-04-08', hr) + select key, value, if(key % 100 == 0, 'a1', 'b1') as hr from srcpart_merge_dp_rc_temp where ds = '2008-04-08' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart_merge_dp_rc_temp +POSTHOOK: Input: default@srcpart_merge_dp_rc_temp@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart_merge_dp_rc_temp@ds=2008-04-08/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 + Map Operator Tree: + TableScan + alias: srcpart_merge_dp_rc_temp + filterExpr: (ds = '2008-04-08') (type: boolean) + Statistics: Num rows: 618 Data size: 216752 Basic stats: COMPLETE Column stats: NONE + Select Operator + expressions: key (type: string), value (type: string), if(((UDFToDouble(key) % 100.0D) = 0.0D), 'a1', 'b1') (type: string) + outputColumnNames: _col0, _col1, _col2 + Statistics: Num rows: 618 Data size: 216752 Basic stats: COMPLETE Column stats: NONE + Reduce Output Operator + key expressions: _col2 (type: string) + sort order: + + Map-reduce partition columns: _col2 (type: string) + Statistics: Num rows: 618 Data size: 216752 Basic stats: COMPLETE Column stats: NONE + value expressions: _col0 (type: string), _col1 (type: string) + Reduce Operator Tree: + Select Operator + expressions: VALUE._col0 (type: string), VALUE._col1 (type: string), KEY._col2 (type: string) + outputColumnNames: _col0, _col1, _col2 + File Output Operator + compressed: false + Dp Sort State: PARTITION_SORTED + Statistics: Num rows: 618 Data size: 216752 Basic stats: COMPLETE Column stats: NONE + 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: default.merge_dynamic_part_temp + + Stage: Stage-7 + Conditional Operator + + Stage: Stage-4 + Move Operator + files: + hdfs directory: true +#### A masked pattern was here #### + + Stage: Stage-0 + Move Operator + tables: + partition: + ds 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: default.merge_dynamic_part_temp + + Stage: Stage-2 + Stats Work + Basic Stats Work: + + Stage: Stage-3 + Merge File Operator + Map Operator Tree: + RCFile Merge Operator + merge level: block + input format: org.apache.hadoop.hive.ql.io.RCFileInputFormat + + Stage: Stage-5 + Merge File Operator + Map Operator Tree: + RCFile Merge Operator + merge level: block + input format: org.apache.hadoop.hive.ql.io.RCFileInputFormat + + Stage: Stage-6 + Move Operator + files: + hdfs directory: true +#### A masked pattern was here #### + +PREHOOK: query: insert overwrite table merge_dynamic_part_temp partition (ds = '2008-04-08', hr) + select key, value, if(key % 100 == 0, 'a1', 'b1') as hr from srcpart_merge_dp_rc_temp where ds = '2008-04-08' +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart_merge_dp_rc_temp +PREHOOK: Input: default@srcpart_merge_dp_rc_temp@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart_merge_dp_rc_temp@ds=2008-04-08/hr=12 +PREHOOK: Output: default@merge_dynamic_part_temp@ds=2008-04-08 +POSTHOOK: query: insert overwrite table merge_dynamic_part_temp partition (ds = '2008-04-08', hr) + select key, value, if(key % 100 == 0, 'a1', 'b1') as hr from srcpart_merge_dp_rc_temp where ds = '2008-04-08' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart_merge_dp_rc_temp +POSTHOOK: Input: default@srcpart_merge_dp_rc_temp@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart_merge_dp_rc_temp@ds=2008-04-08/hr=12 +POSTHOOK: Output: default@merge_dynamic_part_temp@ds=2008-04-08/hr=a1 +POSTHOOK: Output: default@merge_dynamic_part_temp@ds=2008-04-08/hr=b1 +POSTHOOK: Lineage: merge_dynamic_part_temp PARTITION(ds=2008-04-08,hr=a1).key SIMPLE [(srcpart_merge_dp_rc_temp)srcpart_merge_dp_rc_temp.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: merge_dynamic_part_temp PARTITION(ds=2008-04-08,hr=a1).value SIMPLE [(srcpart_merge_dp_rc_temp)srcpart_merge_dp_rc_temp.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: merge_dynamic_part_temp PARTITION(ds=2008-04-08,hr=b1).key SIMPLE [(srcpart_merge_dp_rc_temp)srcpart_merge_dp_rc_temp.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: merge_dynamic_part_temp PARTITION(ds=2008-04-08,hr=b1).value SIMPLE [(srcpart_merge_dp_rc_temp)srcpart_merge_dp_rc_temp.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: show partitions merge_dynamic_part_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@merge_dynamic_part_temp +POSTHOOK: query: show partitions merge_dynamic_part_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@merge_dynamic_part_temp +ds=2008-04-08/hr=a1 +ds=2008-04-08/hr=b1 +PREHOOK: query: select count(*) from merge_dynamic_part_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@merge_dynamic_part_temp +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from merge_dynamic_part_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@merge_dynamic_part_temp +#### A masked pattern was here #### +618 diff --git a/ql/src/test/results/clientpositive/temp_table_multi_insert_partitioned.q.out b/ql/src/test/results/clientpositive/temp_table_multi_insert_partitioned.q.out new file mode 100644 index 0000000000..ab7c632dc4 --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_multi_insert_partitioned.q.out @@ -0,0 +1,573 @@ +PREHOOK: query: drop table intermediate_n3_temp +PREHOOK: type: DROPTABLE +POSTHOOK: query: drop table intermediate_n3_temp +POSTHOOK: type: DROPTABLE +PREHOOK: query: create temporary table intermediate_n3_temp(key int) partitioned by (p int) stored as orc +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@intermediate_n3_temp +POSTHOOK: query: create temporary table intermediate_n3_temp(key int) partitioned by (p int) stored as orc +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@intermediate_n3_temp +PREHOOK: query: insert into table intermediate_n3_temp partition(p='455') select distinct key from src where key >= 0 order by key desc limit 2 +PREHOOK: type: QUERY +PREHOOK: Input: default@src +PREHOOK: Output: default@intermediate_n3_temp@p=455 +POSTHOOK: query: insert into table intermediate_n3_temp partition(p='455') select distinct key from src where key >= 0 order by key desc limit 2 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src +POSTHOOK: Output: default@intermediate_n3_temp@p=455 +POSTHOOK: Lineage: intermediate_n3_temp PARTITION(p=455).key EXPRESSION [(src)src.FieldSchema(name:key, type:string, comment:default), ] +PREHOOK: query: insert into table intermediate_n3_temp partition(p='456') select distinct key from src where key is not null order by key asc limit 2 +PREHOOK: type: QUERY +PREHOOK: Input: default@src +PREHOOK: Output: default@intermediate_n3_temp@p=456 +POSTHOOK: query: insert into table intermediate_n3_temp partition(p='456') select distinct key from src where key is not null order by key asc limit 2 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src +POSTHOOK: Output: default@intermediate_n3_temp@p=456 +POSTHOOK: Lineage: intermediate_n3_temp PARTITION(p=456).key EXPRESSION [(src)src.FieldSchema(name:key, type:string, comment:default), ] +PREHOOK: query: insert into table intermediate_n3_temp partition(p='457') select distinct key from src where key >= 100 order by key asc limit 2 +PREHOOK: type: QUERY +PREHOOK: Input: default@src +PREHOOK: Output: default@intermediate_n3_temp@p=457 +POSTHOOK: query: insert into table intermediate_n3_temp partition(p='457') select distinct key from src where key >= 100 order by key asc limit 2 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src +POSTHOOK: Output: default@intermediate_n3_temp@p=457 +POSTHOOK: Lineage: intermediate_n3_temp PARTITION(p=457).key EXPRESSION [(src)src.FieldSchema(name:key, type:string, comment:default), ] +PREHOOK: query: drop table multi_partitioned_temp +PREHOOK: type: DROPTABLE +POSTHOOK: query: drop table multi_partitioned_temp +POSTHOOK: type: DROPTABLE +PREHOOK: query: create temporary table multi_partitioned_temp (key int, key2 int) partitioned by (p int) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@multi_partitioned_temp +POSTHOOK: query: create temporary table multi_partitioned_temp (key int, key2 int) partitioned by (p int) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@multi_partitioned_temp +PREHOOK: query: from intermediate_n3_temp +insert into table multi_partitioned_temp partition(p=1) select p, key +insert into table multi_partitioned_temp partition(p=2) select key, p +PREHOOK: type: QUERY +PREHOOK: Input: default@intermediate_n3_temp +PREHOOK: Input: default@intermediate_n3_temp@p=455 +PREHOOK: Input: default@intermediate_n3_temp@p=456 +PREHOOK: Input: default@intermediate_n3_temp@p=457 +PREHOOK: Output: default@multi_partitioned_temp@p=1 +PREHOOK: Output: default@multi_partitioned_temp@p=2 +POSTHOOK: query: from intermediate_n3_temp +insert into table multi_partitioned_temp partition(p=1) select p, key +insert into table multi_partitioned_temp partition(p=2) select key, p +POSTHOOK: type: QUERY +POSTHOOK: Input: default@intermediate_n3_temp +POSTHOOK: Input: default@intermediate_n3_temp@p=455 +POSTHOOK: Input: default@intermediate_n3_temp@p=456 +POSTHOOK: Input: default@intermediate_n3_temp@p=457 +POSTHOOK: Output: default@multi_partitioned_temp@p=1 +POSTHOOK: Output: default@multi_partitioned_temp@p=2 +POSTHOOK: Lineage: multi_partitioned_temp PARTITION(p=1).key SIMPLE [(intermediate_n3_temp)intermediate_n3_temp.FieldSchema(name:p, type:int, comment:null), ] +POSTHOOK: Lineage: multi_partitioned_temp PARTITION(p=1).key2 SIMPLE [(intermediate_n3_temp)intermediate_n3_temp.FieldSchema(name:key, type:int, comment:null), ] +POSTHOOK: Lineage: multi_partitioned_temp PARTITION(p=2).key SIMPLE [(intermediate_n3_temp)intermediate_n3_temp.FieldSchema(name:key, type:int, comment:null), ] +POSTHOOK: Lineage: multi_partitioned_temp PARTITION(p=2).key2 SIMPLE [(intermediate_n3_temp)intermediate_n3_temp.FieldSchema(name:p, type:int, comment:null), ] +PREHOOK: query: select * from multi_partitioned_temp order by key, key2, p +PREHOOK: type: QUERY +PREHOOK: Input: default@multi_partitioned_temp +PREHOOK: Input: default@multi_partitioned_temp@p=1 +PREHOOK: Input: default@multi_partitioned_temp@p=2 +#### A masked pattern was here #### +POSTHOOK: query: select * from multi_partitioned_temp order by key, key2, p +POSTHOOK: type: QUERY +POSTHOOK: Input: default@multi_partitioned_temp +POSTHOOK: Input: default@multi_partitioned_temp@p=1 +POSTHOOK: Input: default@multi_partitioned_temp@p=2 +#### A masked pattern was here #### +0 456 2 +10 456 2 +97 455 2 +98 455 2 +100 457 2 +103 457 2 +455 97 1 +455 98 1 +456 0 1 +456 10 1 +457 100 1 +457 103 1 +PREHOOK: query: desc formatted multi_partitioned_temp +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@multi_partitioned_temp +POSTHOOK: query: desc formatted multi_partitioned_temp +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@multi_partitioned_temp +# col_name data_type comment +key int +key2 int + +# Partition Information +# col_name data_type comment +p int + +# Detailed Table Information +Database: default +#### A masked pattern was here #### +Retention: 0 +#### A masked pattern was here #### +Table Type: MANAGED_TABLE +Table Parameters: + COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"key2\":\"true\"}} + bucketing_version 2 + numFiles 2 + numPartitions 2 + numRows 12 + rawDataSize 74 + totalSize 86 + +# Storage Information +SerDe Library: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe +InputFormat: org.apache.hadoop.mapred.TextInputFormat +OutputFormat: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat +Compressed: No +Num Buckets: -1 +Bucket Columns: [] +Sort Columns: [] +Storage Desc Params: + serialization.format 1 +PREHOOK: query: from intermediate_n3_temp +insert overwrite table multi_partitioned_temp partition(p=2) select p, key +insert overwrite table multi_partitioned_temp partition(p=1) select key, p +PREHOOK: type: QUERY +PREHOOK: Input: default@intermediate_n3_temp +PREHOOK: Input: default@intermediate_n3_temp@p=455 +PREHOOK: Input: default@intermediate_n3_temp@p=456 +PREHOOK: Input: default@intermediate_n3_temp@p=457 +PREHOOK: Output: default@multi_partitioned_temp@p=1 +PREHOOK: Output: default@multi_partitioned_temp@p=2 +POSTHOOK: query: from intermediate_n3_temp +insert overwrite table multi_partitioned_temp partition(p=2) select p, key +insert overwrite table multi_partitioned_temp partition(p=1) select key, p +POSTHOOK: type: QUERY +POSTHOOK: Input: default@intermediate_n3_temp +POSTHOOK: Input: default@intermediate_n3_temp@p=455 +POSTHOOK: Input: default@intermediate_n3_temp@p=456 +POSTHOOK: Input: default@intermediate_n3_temp@p=457 +POSTHOOK: Output: default@multi_partitioned_temp@p=1 +POSTHOOK: Output: default@multi_partitioned_temp@p=2 +POSTHOOK: Lineage: multi_partitioned_temp PARTITION(p=1).key SIMPLE [(intermediate_n3_temp)intermediate_n3_temp.FieldSchema(name:key, type:int, comment:null), ] +POSTHOOK: Lineage: multi_partitioned_temp PARTITION(p=1).key2 SIMPLE [(intermediate_n3_temp)intermediate_n3_temp.FieldSchema(name:p, type:int, comment:null), ] +POSTHOOK: Lineage: multi_partitioned_temp PARTITION(p=2).key SIMPLE [(intermediate_n3_temp)intermediate_n3_temp.FieldSchema(name:p, type:int, comment:null), ] +POSTHOOK: Lineage: multi_partitioned_temp PARTITION(p=2).key2 SIMPLE [(intermediate_n3_temp)intermediate_n3_temp.FieldSchema(name:key, type:int, comment:null), ] +PREHOOK: query: select * from multi_partitioned_temp order by key, key2, p +PREHOOK: type: QUERY +PREHOOK: Input: default@multi_partitioned_temp +PREHOOK: Input: default@multi_partitioned_temp@p=1 +PREHOOK: Input: default@multi_partitioned_temp@p=2 +#### A masked pattern was here #### +POSTHOOK: query: select * from multi_partitioned_temp order by key, key2, p +POSTHOOK: type: QUERY +POSTHOOK: Input: default@multi_partitioned_temp +POSTHOOK: Input: default@multi_partitioned_temp@p=1 +POSTHOOK: Input: default@multi_partitioned_temp@p=2 +#### A masked pattern was here #### +0 456 1 +10 456 1 +97 455 1 +98 455 1 +100 457 1 +103 457 1 +455 97 2 +455 98 2 +456 0 2 +456 10 2 +457 100 2 +457 103 2 +PREHOOK: query: desc formatted multi_partitioned_temp +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@multi_partitioned_temp +POSTHOOK: query: desc formatted multi_partitioned_temp +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@multi_partitioned_temp +# col_name data_type comment +key int +key2 int + +# Partition Information +# col_name data_type comment +p int + +# Detailed Table Information +Database: default +#### A masked pattern was here #### +Retention: 0 +#### A masked pattern was here #### +Table Type: MANAGED_TABLE +Table Parameters: + COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"key2\":\"true\"}} + bucketing_version 2 + numFiles 2 + numPartitions 2 + numRows 12 + rawDataSize 74 + totalSize 86 + +# Storage Information +SerDe Library: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe +InputFormat: org.apache.hadoop.mapred.TextInputFormat +OutputFormat: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat +Compressed: No +Num Buckets: -1 +Bucket Columns: [] +Sort Columns: [] +Storage Desc Params: + serialization.format 1 +PREHOOK: query: from intermediate_n3_temp +insert into table multi_partitioned_temp partition(p=2) select p, key +insert overwrite table multi_partitioned_temp partition(p=1) select key, p +PREHOOK: type: QUERY +PREHOOK: Input: default@intermediate_n3_temp +PREHOOK: Input: default@intermediate_n3_temp@p=455 +PREHOOK: Input: default@intermediate_n3_temp@p=456 +PREHOOK: Input: default@intermediate_n3_temp@p=457 +PREHOOK: Output: default@multi_partitioned_temp@p=1 +PREHOOK: Output: default@multi_partitioned_temp@p=2 +POSTHOOK: query: from intermediate_n3_temp +insert into table multi_partitioned_temp partition(p=2) select p, key +insert overwrite table multi_partitioned_temp partition(p=1) select key, p +POSTHOOK: type: QUERY +POSTHOOK: Input: default@intermediate_n3_temp +POSTHOOK: Input: default@intermediate_n3_temp@p=455 +POSTHOOK: Input: default@intermediate_n3_temp@p=456 +POSTHOOK: Input: default@intermediate_n3_temp@p=457 +POSTHOOK: Output: default@multi_partitioned_temp@p=1 +POSTHOOK: Output: default@multi_partitioned_temp@p=2 +POSTHOOK: Lineage: multi_partitioned_temp PARTITION(p=1).key SIMPLE [(intermediate_n3_temp)intermediate_n3_temp.FieldSchema(name:key, type:int, comment:null), ] +POSTHOOK: Lineage: multi_partitioned_temp PARTITION(p=1).key2 SIMPLE [(intermediate_n3_temp)intermediate_n3_temp.FieldSchema(name:p, type:int, comment:null), ] +POSTHOOK: Lineage: multi_partitioned_temp PARTITION(p=2).key SIMPLE [(intermediate_n3_temp)intermediate_n3_temp.FieldSchema(name:p, type:int, comment:null), ] +POSTHOOK: Lineage: multi_partitioned_temp PARTITION(p=2).key2 SIMPLE [(intermediate_n3_temp)intermediate_n3_temp.FieldSchema(name:key, type:int, comment:null), ] +PREHOOK: query: select * from multi_partitioned_temp order by key, key2, p +PREHOOK: type: QUERY +PREHOOK: Input: default@multi_partitioned_temp +PREHOOK: Input: default@multi_partitioned_temp@p=1 +PREHOOK: Input: default@multi_partitioned_temp@p=2 +#### A masked pattern was here #### +POSTHOOK: query: select * from multi_partitioned_temp order by key, key2, p +POSTHOOK: type: QUERY +POSTHOOK: Input: default@multi_partitioned_temp +POSTHOOK: Input: default@multi_partitioned_temp@p=1 +POSTHOOK: Input: default@multi_partitioned_temp@p=2 +#### A masked pattern was here #### +0 456 1 +10 456 1 +97 455 1 +98 455 1 +100 457 1 +103 457 1 +455 97 2 +455 97 2 +455 98 2 +455 98 2 +456 0 2 +456 0 2 +456 10 2 +456 10 2 +457 100 2 +457 100 2 +457 103 2 +457 103 2 +PREHOOK: query: desc formatted multi_partitioned_temp +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@multi_partitioned_temp +POSTHOOK: query: desc formatted multi_partitioned_temp +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@multi_partitioned_temp +# col_name data_type comment +key int +key2 int + +# Partition Information +# col_name data_type comment +p int + +# Detailed Table Information +Database: default +#### A masked pattern was here #### +Retention: 0 +#### A masked pattern was here #### +Table Type: MANAGED_TABLE +Table Parameters: + COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"key2\":\"true\"}} + bucketing_version 2 + numFiles 3 + numPartitions 2 + numRows 18 + rawDataSize 111 + totalSize 129 + +# Storage Information +SerDe Library: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe +InputFormat: org.apache.hadoop.mapred.TextInputFormat +OutputFormat: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat +Compressed: No +Num Buckets: -1 +Bucket Columns: [] +Sort Columns: [] +Storage Desc Params: + serialization.format 1 +PREHOOK: query: from intermediate_n3_temp +insert into table multi_partitioned_temp partition(p) select p, key, p +insert into table multi_partitioned_temp partition(p=1) select key, p +PREHOOK: type: QUERY +PREHOOK: Input: default@intermediate_n3_temp +PREHOOK: Input: default@intermediate_n3_temp@p=455 +PREHOOK: Input: default@intermediate_n3_temp@p=456 +PREHOOK: Input: default@intermediate_n3_temp@p=457 +PREHOOK: Output: default@multi_partitioned_temp +PREHOOK: Output: default@multi_partitioned_temp@p=1 +POSTHOOK: query: from intermediate_n3_temp +insert into table multi_partitioned_temp partition(p) select p, key, p +insert into table multi_partitioned_temp partition(p=1) select key, p +POSTHOOK: type: QUERY +POSTHOOK: Input: default@intermediate_n3_temp +POSTHOOK: Input: default@intermediate_n3_temp@p=455 +POSTHOOK: Input: default@intermediate_n3_temp@p=456 +POSTHOOK: Input: default@intermediate_n3_temp@p=457 +POSTHOOK: Output: default@multi_partitioned_temp@p=1 +POSTHOOK: Output: default@multi_partitioned_temp@p=455 +POSTHOOK: Output: default@multi_partitioned_temp@p=456 +POSTHOOK: Output: default@multi_partitioned_temp@p=457 +POSTHOOK: Lineage: multi_partitioned_temp PARTITION(p=1).key SIMPLE [(intermediate_n3_temp)intermediate_n3_temp.FieldSchema(name:key, type:int, comment:null), ] +POSTHOOK: Lineage: multi_partitioned_temp PARTITION(p=1).key2 SIMPLE [(intermediate_n3_temp)intermediate_n3_temp.FieldSchema(name:p, type:int, comment:null), ] +POSTHOOK: Lineage: multi_partitioned_temp PARTITION(p=455).key SIMPLE [(intermediate_n3_temp)intermediate_n3_temp.FieldSchema(name:p, type:int, comment:null), ] +POSTHOOK: Lineage: multi_partitioned_temp PARTITION(p=455).key2 SIMPLE [(intermediate_n3_temp)intermediate_n3_temp.FieldSchema(name:key, type:int, comment:null), ] +POSTHOOK: Lineage: multi_partitioned_temp PARTITION(p=456).key SIMPLE [(intermediate_n3_temp)intermediate_n3_temp.FieldSchema(name:p, type:int, comment:null), ] +POSTHOOK: Lineage: multi_partitioned_temp PARTITION(p=456).key2 SIMPLE [(intermediate_n3_temp)intermediate_n3_temp.FieldSchema(name:key, type:int, comment:null), ] +POSTHOOK: Lineage: multi_partitioned_temp PARTITION(p=457).key SIMPLE [(intermediate_n3_temp)intermediate_n3_temp.FieldSchema(name:p, type:int, comment:null), ] +POSTHOOK: Lineage: multi_partitioned_temp PARTITION(p=457).key2 SIMPLE [(intermediate_n3_temp)intermediate_n3_temp.FieldSchema(name:key, type:int, comment:null), ] +PREHOOK: query: select key, key2, p from multi_partitioned_temp order by key, key2, p +PREHOOK: type: QUERY +PREHOOK: Input: default@multi_partitioned_temp +PREHOOK: Input: default@multi_partitioned_temp@p=1 +PREHOOK: Input: default@multi_partitioned_temp@p=2 +PREHOOK: Input: default@multi_partitioned_temp@p=455 +PREHOOK: Input: default@multi_partitioned_temp@p=456 +PREHOOK: Input: default@multi_partitioned_temp@p=457 +#### A masked pattern was here #### +POSTHOOK: query: select key, key2, p from multi_partitioned_temp order by key, key2, p +POSTHOOK: type: QUERY +POSTHOOK: Input: default@multi_partitioned_temp +POSTHOOK: Input: default@multi_partitioned_temp@p=1 +POSTHOOK: Input: default@multi_partitioned_temp@p=2 +POSTHOOK: Input: default@multi_partitioned_temp@p=455 +POSTHOOK: Input: default@multi_partitioned_temp@p=456 +POSTHOOK: Input: default@multi_partitioned_temp@p=457 +#### A masked pattern was here #### +0 456 1 +0 456 1 +10 456 1 +10 456 1 +97 455 1 +97 455 1 +98 455 1 +98 455 1 +100 457 1 +100 457 1 +103 457 1 +103 457 1 +455 97 2 +455 97 2 +455 97 455 +455 98 2 +455 98 2 +455 98 455 +456 0 2 +456 0 2 +456 0 456 +456 10 2 +456 10 2 +456 10 456 +457 100 2 +457 100 2 +457 100 457 +457 103 2 +457 103 2 +457 103 457 +PREHOOK: query: desc formatted multi_partitioned_temp +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@multi_partitioned_temp +POSTHOOK: query: desc formatted multi_partitioned_temp +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@multi_partitioned_temp +# col_name data_type comment +key int +key2 int + +# Partition Information +# col_name data_type comment +p int + +# Detailed Table Information +Database: default +#### A masked pattern was here #### +Retention: 0 +#### A masked pattern was here #### +Table Type: MANAGED_TABLE +Table Parameters: + COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"key2\":\"true\"}} + bucketing_version 2 + numFiles 7 + numPartitions 5 + numRows 30 + rawDataSize 185 + totalSize 215 + +# Storage Information +SerDe Library: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe +InputFormat: org.apache.hadoop.mapred.TextInputFormat +OutputFormat: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat +Compressed: No +Num Buckets: -1 +Bucket Columns: [] +Sort Columns: [] +Storage Desc Params: + serialization.format 1 +PREHOOK: query: from intermediate_n3_temp +insert into table multi_partitioned_temp partition(p) select p, key, 1 +insert into table multi_partitioned_temp partition(p=1) select key, p +PREHOOK: type: QUERY +PREHOOK: Input: default@intermediate_n3_temp +PREHOOK: Input: default@intermediate_n3_temp@p=455 +PREHOOK: Input: default@intermediate_n3_temp@p=456 +PREHOOK: Input: default@intermediate_n3_temp@p=457 +PREHOOK: Output: default@multi_partitioned_temp +PREHOOK: Output: default@multi_partitioned_temp@p=1 +POSTHOOK: query: from intermediate_n3_temp +insert into table multi_partitioned_temp partition(p) select p, key, 1 +insert into table multi_partitioned_temp partition(p=1) select key, p +POSTHOOK: type: QUERY +POSTHOOK: Input: default@intermediate_n3_temp +POSTHOOK: Input: default@intermediate_n3_temp@p=455 +POSTHOOK: Input: default@intermediate_n3_temp@p=456 +POSTHOOK: Input: default@intermediate_n3_temp@p=457 +POSTHOOK: Output: default@multi_partitioned_temp@p=1 +POSTHOOK: Lineage: multi_partitioned_temp PARTITION(p=1).key SIMPLE [(intermediate_n3_temp)intermediate_n3_temp.FieldSchema(name:p, type:int, comment:null), ] +POSTHOOK: Lineage: multi_partitioned_temp PARTITION(p=1).key2 SIMPLE [(intermediate_n3_temp)intermediate_n3_temp.FieldSchema(name:key, type:int, comment:null), ] +POSTHOOK: Lineage: multi_partitioned_temp PARTITION(p=1).key SIMPLE [(intermediate_n3_temp)intermediate_n3_temp.FieldSchema(name:key, type:int, comment:null), ] +POSTHOOK: Lineage: multi_partitioned_temp PARTITION(p=1).key2 SIMPLE [(intermediate_n3_temp)intermediate_n3_temp.FieldSchema(name:p, type:int, comment:null), ] +PREHOOK: query: select key, key2, p from multi_partitioned_temp order by key, key2, p +PREHOOK: type: QUERY +PREHOOK: Input: default@multi_partitioned_temp +PREHOOK: Input: default@multi_partitioned_temp@p=1 +PREHOOK: Input: default@multi_partitioned_temp@p=2 +PREHOOK: Input: default@multi_partitioned_temp@p=455 +PREHOOK: Input: default@multi_partitioned_temp@p=456 +PREHOOK: Input: default@multi_partitioned_temp@p=457 +#### A masked pattern was here #### +POSTHOOK: query: select key, key2, p from multi_partitioned_temp order by key, key2, p +POSTHOOK: type: QUERY +POSTHOOK: Input: default@multi_partitioned_temp +POSTHOOK: Input: default@multi_partitioned_temp@p=1 +POSTHOOK: Input: default@multi_partitioned_temp@p=2 +POSTHOOK: Input: default@multi_partitioned_temp@p=455 +POSTHOOK: Input: default@multi_partitioned_temp@p=456 +POSTHOOK: Input: default@multi_partitioned_temp@p=457 +#### A masked pattern was here #### +0 456 1 +0 456 1 +0 456 1 +10 456 1 +10 456 1 +10 456 1 +97 455 1 +97 455 1 +97 455 1 +98 455 1 +98 455 1 +98 455 1 +100 457 1 +100 457 1 +100 457 1 +103 457 1 +103 457 1 +103 457 1 +455 97 1 +455 97 2 +455 97 2 +455 97 455 +455 98 1 +455 98 2 +455 98 2 +455 98 455 +456 0 1 +456 0 2 +456 0 2 +456 0 456 +456 10 1 +456 10 2 +456 10 2 +456 10 456 +457 100 1 +457 100 2 +457 100 2 +457 100 457 +457 103 1 +457 103 2 +457 103 2 +457 103 457 +PREHOOK: query: desc formatted multi_partitioned_temp +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@multi_partitioned_temp +POSTHOOK: query: desc formatted multi_partitioned_temp +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@multi_partitioned_temp +# col_name data_type comment +key int +key2 int + +# Partition Information +# col_name data_type comment +p int + +# Detailed Table Information +Database: default +#### A masked pattern was here #### +Retention: 0 +#### A masked pattern was here #### +Table Type: MANAGED_TABLE +Table Parameters: + COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"key2\":\"true\"}} + bucketing_version 2 + numFiles 9 + numPartitions 5 + numRows 42 + rawDataSize 259 + totalSize 301 + +# Storage Information +SerDe Library: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe +InputFormat: org.apache.hadoop.mapred.TextInputFormat +OutputFormat: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat +Compressed: No +Num Buckets: -1 +Bucket Columns: [] +Sort Columns: [] +Storage Desc Params: + serialization.format 1 +PREHOOK: query: drop table multi_partitioned_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@multi_partitioned_temp +PREHOOK: Output: default@multi_partitioned_temp +POSTHOOK: query: drop table multi_partitioned_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@multi_partitioned_temp +POSTHOOK: Output: default@multi_partitioned_temp +PREHOOK: query: drop table intermediate_n3_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@intermediate_n3_temp +PREHOOK: Output: default@intermediate_n3_temp +POSTHOOK: query: drop table intermediate_n3_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@intermediate_n3_temp +POSTHOOK: Output: default@intermediate_n3_temp diff --git a/ql/src/test/results/clientpositive/temp_table_orc_diff_part_cols.q.out b/ql/src/test/results/clientpositive/temp_table_orc_diff_part_cols.q.out new file mode 100644 index 0000000000..41fd4f84cd --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_orc_diff_part_cols.q.out @@ -0,0 +1,65 @@ +PREHOOK: query: CREATE TEMPORARY TABLE test_orc_n0_temp (key STRING) +PARTITIONED BY (part STRING) +ROW FORMAT SERDE 'org.apache.hadoop.hive.ql.io.orc.OrcSerde' +STORED AS INPUTFORMAT 'org.apache.hadoop.hive.ql.io.orc.OrcInputFormat' +OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat' +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@test_orc_n0_temp +POSTHOOK: query: CREATE TEMPORARY TABLE test_orc_n0_temp (key STRING) +PARTITIONED BY (part STRING) +ROW FORMAT SERDE 'org.apache.hadoop.hive.ql.io.orc.OrcSerde' +STORED AS INPUTFORMAT 'org.apache.hadoop.hive.ql.io.orc.OrcInputFormat' +OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat' +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@test_orc_n0_temp +PREHOOK: query: INSERT OVERWRITE TABLE test_orc_n0_temp PARTITION (part = '1') SELECT key FROM src tablesample (5 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@src +PREHOOK: Output: default@test_orc_n0_temp@part=1 +POSTHOOK: query: INSERT OVERWRITE TABLE test_orc_n0_temp PARTITION (part = '1') SELECT key FROM src tablesample (5 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src +POSTHOOK: Output: default@test_orc_n0_temp@part=1 +POSTHOOK: Lineage: test_orc_n0_temp PARTITION(part=1).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +PREHOOK: query: ALTER TABLE test_orc_n0_temp ADD COLUMNS (cnt INT) +PREHOOK: type: ALTERTABLE_ADDCOLS +PREHOOK: Input: default@test_orc_n0_temp +PREHOOK: Output: default@test_orc_n0_temp +POSTHOOK: query: ALTER TABLE test_orc_n0_temp ADD COLUMNS (cnt INT) +POSTHOOK: type: ALTERTABLE_ADDCOLS +POSTHOOK: Input: default@test_orc_n0_temp +POSTHOOK: Output: default@test_orc_n0_temp +PREHOOK: query: INSERT OVERWRITE TABLE test_orc_n0_temp PARTITION (part = '2') SELECT key, count(*) FROM src GROUP BY key LIMIT 5 +PREHOOK: type: QUERY +PREHOOK: Input: default@src +PREHOOK: Output: default@test_orc_n0_temp@part=2 +POSTHOOK: query: INSERT OVERWRITE TABLE test_orc_n0_temp PARTITION (part = '2') SELECT key, count(*) FROM src GROUP BY key LIMIT 5 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src +POSTHOOK: Output: default@test_orc_n0_temp@part=2 +POSTHOOK: Lineage: test_orc_n0_temp PARTITION(part=2).cnt EXPRESSION [(src)src.null, ] +POSTHOOK: Lineage: test_orc_n0_temp PARTITION(part=2).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +PREHOOK: query: SELECT * FROM test_orc_n0_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@test_orc_n0_temp +PREHOOK: Input: default@test_orc_n0_temp@part=1 +PREHOOK: Input: default@test_orc_n0_temp@part=2 +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM test_orc_n0_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@test_orc_n0_temp +POSTHOOK: Input: default@test_orc_n0_temp@part=1 +POSTHOOK: Input: default@test_orc_n0_temp@part=2 +#### A masked pattern was here #### +0 3 2 +10 1 2 +100 2 2 +103 2 2 +104 2 2 +165 NULL 1 +238 NULL 1 +27 NULL 1 +311 NULL 1 +86 NULL 1 diff --git a/ql/src/test/results/clientpositive/temp_table_orc_diff_part_cols2.q.out b/ql/src/test/results/clientpositive/temp_table_orc_diff_part_cols2.q.out new file mode 100644 index 0000000000..7516423ee1 --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_orc_diff_part_cols2.q.out @@ -0,0 +1,40 @@ +PREHOOK: query: CREATE TEMPORARY TABLE test_orc_n4_temp (key STRING) +STORED AS ORC +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@test_orc_n4_temp +POSTHOOK: query: CREATE TEMPORARY TABLE test_orc_n4_temp (key STRING) +STORED AS ORC +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@test_orc_n4_temp +PREHOOK: query: INSERT OVERWRITE TABLE test_orc_n4_temp SELECT key FROM src LIMIT 5 +PREHOOK: type: QUERY +PREHOOK: Input: default@src +PREHOOK: Output: default@test_orc_n4_temp +POSTHOOK: query: INSERT OVERWRITE TABLE test_orc_n4_temp SELECT key FROM src LIMIT 5 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src +POSTHOOK: Output: default@test_orc_n4_temp +POSTHOOK: Lineage: test_orc_n4_temp.key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +PREHOOK: query: ALTER TABLE test_orc_n4_temp ADD COLUMNS (value STRING) +PREHOOK: type: ALTERTABLE_ADDCOLS +PREHOOK: Input: default@test_orc_n4_temp +PREHOOK: Output: default@test_orc_n4_temp +POSTHOOK: query: ALTER TABLE test_orc_n4_temp ADD COLUMNS (value STRING) +POSTHOOK: type: ALTERTABLE_ADDCOLS +POSTHOOK: Input: default@test_orc_n4_temp +POSTHOOK: Output: default@test_orc_n4_temp +PREHOOK: query: SELECT * FROM test_orc_n4_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@test_orc_n4_temp +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM test_orc_n4_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@test_orc_n4_temp +#### A masked pattern was here #### +165 NULL +238 NULL +27 NULL +311 NULL +86 NULL diff --git a/ql/src/test/results/clientpositive/temp_table_parquet_mixed_partition_formats.q.out b/ql/src/test/results/clientpositive/temp_table_parquet_mixed_partition_formats.q.out new file mode 100644 index 0000000000..876fb863dd --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_parquet_mixed_partition_formats.q.out @@ -0,0 +1,293 @@ +PREHOOK: query: DROP TABLE if exists parquet_mixed_partition_formats_temp +PREHOOK: type: DROPTABLE +POSTHOOK: query: DROP TABLE if exists parquet_mixed_partition_formats_temp +POSTHOOK: type: DROPTABLE +PREHOOK: query: CREATE TEMPORARY TABLE parquet_mixed_partition_formats_temp ( + cint int, + ctinyint tinyint, + csmallint smallint, + cfloat float, + cdouble double, + cstring1 string, + t timestamp, + cchar char(5), + cvarchar varchar(10), + cbinary string, + m1 map, + l1 array, + st1 struct, + d date) +PARTITIONED BY (dateint int) +ROW FORMAT DELIMITED +FIELDS TERMINATED BY '|' +COLLECTION ITEMS TERMINATED BY ',' +MAP KEYS TERMINATED BY ':' +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@parquet_mixed_partition_formats_temp +POSTHOOK: query: CREATE TEMPORARY TABLE parquet_mixed_partition_formats_temp ( + cint int, + ctinyint tinyint, + csmallint smallint, + cfloat float, + cdouble double, + cstring1 string, + t timestamp, + cchar char(5), + cvarchar varchar(10), + cbinary string, + m1 map, + l1 array, + st1 struct, + d date) +PARTITIONED BY (dateint int) +ROW FORMAT DELIMITED +FIELDS TERMINATED BY '|' +COLLECTION ITEMS TERMINATED BY ',' +MAP KEYS TERMINATED BY ':' +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@parquet_mixed_partition_formats_temp +PREHOOK: query: LOAD DATA LOCAL INPATH '../../data/files/parquet_types.txt' OVERWRITE INTO TABLE parquet_mixed_partition_formats_temp PARTITION (dateint=20140330) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@parquet_mixed_partition_formats_temp +POSTHOOK: query: LOAD DATA LOCAL INPATH '../../data/files/parquet_types.txt' OVERWRITE INTO TABLE parquet_mixed_partition_formats_temp PARTITION (dateint=20140330) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@parquet_mixed_partition_formats_temp +POSTHOOK: Output: default@parquet_mixed_partition_formats_temp@dateint=20140330 +PREHOOK: query: SELECT * FROM parquet_mixed_partition_formats_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@parquet_mixed_partition_formats_temp +PREHOOK: Input: default@parquet_mixed_partition_formats_temp@dateint=20140330 +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM parquet_mixed_partition_formats_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@parquet_mixed_partition_formats_temp +POSTHOOK: Input: default@parquet_mixed_partition_formats_temp@dateint=20140330 +#### A masked pattern was here #### +100 1 1 1.0 0.0 abc 2011-01-01 01:01:01.111111111 a a B4F3CAFDBEDD {"k1":"v1"} [101,200] {"c1":10,"c2":"a"} 2011-01-01 20140330 +101 2 2 1.1 0.3 def 2012-02-02 02:02:02.222222222 ab ab 68692CCAC0BDE7 {"k2":"v2"} [102,200] {"c1":10,"c2":"d"} 2012-02-02 20140330 +102 3 3 1.2 0.6 ghi 2013-03-03 03:03:03.333333333 abc abc B4F3CAFDBEDD {"k3":"v3"} [103,200] {"c1":10,"c2":"g"} 2013-03-03 20140330 +103 1 4 1.3 0.9 jkl 2014-04-04 04:04:04.444444444 abcd abcd 68692CCAC0BDE7 {"k4":"v4"} [104,200] {"c1":10,"c2":"j"} 2014-04-04 20140330 +104 2 5 1.4 1.2 mno 2015-05-05 05:05:05.555555555 abcde abcde B4F3CAFDBEDD {"k5":"v5"} [105,200] {"c1":10,"c2":"m"} 2015-05-05 20140330 +105 3 1 1.0 1.5 pqr 2016-06-06 06:06:06.666666666 abcde abcdef 68692CCAC0BDE7 {"k6":"v6"} [106,200] {"c1":10,"c2":"p"} 2016-06-06 20140330 +106 1 2 1.1 1.8 stu 2017-07-07 07:07:07.777777777 abcde abcdefg B4F3CAFDBEDD {"k7":"v7"} [107,200] {"c1":10,"c2":"s"} 2017-07-07 20140330 +107 2 3 1.2 2.1 vwx 2018-08-08 08:08:08.888888888 bcdef abcdefgh 68692CCAC0BDE7 {"k8":"v8"} [108,200] {"c1":10,"c2":"v"} 2018-08-08 20140330 +108 3 4 1.3 2.4 yza 2019-09-09 09:09:09.999999999 cdefg B4F3CAFDBE 68656C6C6F {"k9":"v9"} [109,200] {"c1":10,"c2":"y"} 2019-09-09 20140330 +109 1 5 1.4 2.7 bcd 2020-10-10 10:10:10.101010101 klmno abcdedef 68692CCAC0BDE7 {"k10":"v10"} [110,200] {"c1":10,"c2":"b"} 2020-10-10 20140330 +110 2 1 1.0 3.0 efg 2021-11-11 11:11:11.111111111 pqrst abcdede B4F3CAFDBEDD {"k11":"v11"} [111,200] {"c1":10,"c2":"e"} 2021-11-11 20140330 +111 3 2 1.1 3.3 hij 2022-12-12 12:12:12.121212121 nopqr abcded 68692CCAC0BDE7 {"k12":"v12"} [112,200] {"c1":10,"c2":"h"} 2022-12-12 20140330 +112 1 3 1.2 3.6 klm 2023-01-02 13:13:13.131313131 opqrs abcdd B4F3CAFDBEDD {"k13":"v13"} [113,200] {"c1":10,"c2":"k"} 2023-01-02 20140330 +113 2 4 1.3 3.9 nop 2024-02-02 14:14:14.141414141 pqrst abc 68692CCAC0BDE7 {"k14":"v14"} [114,200] {"c1":10,"c2":"n"} 2024-02-02 20140330 +114 3 5 1.4 4.2 qrs 2025-03-03 15:15:15.151515151 qrstu b B4F3CAFDBEDD {"k15":"v15"} [115,200] {"c1":10,"c2":"q"} 2025-03-03 20140330 +115 1 1 1.0 4.5 qrs 2026-04-04 16:16:16.161616161 rstuv abcded 68692CCAC0BDE7 {"k16":"v16"} [116,200] {"c1":10,"c2":"q"} 2026-04-04 20140330 +116 2 2 1.1 4.8 wxy 2027-05-05 17:17:17.171717171 stuvw abcded B4F3CAFDBEDD {"k17":"v17"} [117,200] {"c1":10,"c2":"w"} 2027-05-05 20140330 +117 3 3 1.2 5.1 zab 2028-06-06 18:18:18.181818181 tuvwx abcded 68692CCAC0BDE7 {"k18":"v18"} [118,200] {"c1":10,"c2":"z"} 2028-06-06 20140330 +118 1 4 1.3 5.4 cde 2029-07-07 19:19:19.191919191 uvwzy abcdede B4F3CAFDBEDD {"k19":"v19"} [119,200] {"c1":10,"c2":"c"} 2029-07-07 20140330 +119 2 5 1.4 5.7 fgh 2030-08-08 20:20:20.202020202 vwxyz abcdede 68692CCAC0BDE7 {"k20":"v20"} [120,200] {"c1":10,"c2":"f"} 2030-08-08 20140330 +120 3 1 1.0 6.0 ijk 2031-09-09 21:21:21.212121212 wxyza abcde B4F3CAFDBEDD {"k21":"v21"} [121,200] {"c1":10,"c2":"i"} 2031-09-09 20140330 +121 1 2 1.1 6.3 lmn 2032-10-10 22:22:22.222222222 bcdef abcde {"k22":"v22"} [122,200] {"c1":10,"c2":"l"} 2032-10-10 20140330 +PREHOOK: query: DESCRIBE FORMATTED parquet_mixed_partition_formats_temp PARTITION (dateint=20140330) +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@parquet_mixed_partition_formats_temp +POSTHOOK: query: DESCRIBE FORMATTED parquet_mixed_partition_formats_temp PARTITION (dateint=20140330) +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@parquet_mixed_partition_formats_temp +# col_name data_type comment +cint int +ctinyint tinyint +csmallint smallint +cfloat float +cdouble double +cstring1 string +t timestamp +cchar char(5) +cvarchar varchar(10) +cbinary string +m1 map +l1 array +st1 struct +d date + +# Partition Information +# col_name data_type comment +dateint int + +# Detailed Partition Information +Partition Value: [20140330] +Database: default +Table: parquet_mixed_partition_formats_temp +#### A masked pattern was here #### +Partition Parameters: + numFiles 1 + numRows 0 + rawDataSize 0 + totalSize 2521 + +# 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: + collection.delim , + field.delim | + mapkey.delim : + serialization.format | +PREHOOK: query: ALTER TABLE parquet_mixed_partition_formats_temp +SET FILEFORMAT +INPUTFORMAT 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat' +OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat' +SERDE 'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe' +PREHOOK: type: ALTERTABLE_FILEFORMAT +PREHOOK: Input: default@parquet_mixed_partition_formats_temp +PREHOOK: Output: default@parquet_mixed_partition_formats_temp +POSTHOOK: query: ALTER TABLE parquet_mixed_partition_formats_temp +SET FILEFORMAT +INPUTFORMAT 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat' +OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat' +SERDE 'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe' +POSTHOOK: type: ALTERTABLE_FILEFORMAT +POSTHOOK: Input: default@parquet_mixed_partition_formats_temp +POSTHOOK: Output: default@parquet_mixed_partition_formats_temp +PREHOOK: query: DESCRIBE FORMATTED parquet_mixed_partition_formats_temp +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@parquet_mixed_partition_formats_temp +POSTHOOK: query: DESCRIBE FORMATTED parquet_mixed_partition_formats_temp +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@parquet_mixed_partition_formats_temp +# col_name data_type comment +cint int +ctinyint tinyint +csmallint smallint +cfloat float +cdouble double +cstring1 string +t timestamp +cchar char(5) +cvarchar varchar(10) +cbinary string +m1 map +l1 array +st1 struct +d date + +# Partition Information +# col_name data_type comment +dateint int + +# Detailed Table Information +Database: default +#### A masked pattern was here #### +Retention: 0 +#### A masked pattern was here #### +Table Type: MANAGED_TABLE +Table Parameters: + bucketing_version 2 +#### A masked pattern was here #### + numFiles 1 + numPartitions 1 + numRows 0 + rawDataSize 0 + totalSize 2521 + +# Storage Information +SerDe Library: org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe +InputFormat: org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat +OutputFormat: org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat +Compressed: No +Num Buckets: -1 +Bucket Columns: [] +Sort Columns: [] +Storage Desc Params: + collection.delim , + field.delim | + mapkey.delim : + serialization.format | +PREHOOK: query: DESCRIBE FORMATTED parquet_mixed_partition_formats_temp PARTITION (dateint=20140330) +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@parquet_mixed_partition_formats_temp +POSTHOOK: query: DESCRIBE FORMATTED parquet_mixed_partition_formats_temp PARTITION (dateint=20140330) +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@parquet_mixed_partition_formats_temp +# col_name data_type comment +cint int +ctinyint tinyint +csmallint smallint +cfloat float +cdouble double +cstring1 string +t timestamp +cchar char(5) +cvarchar varchar(10) +cbinary string +m1 map +l1 array +st1 struct +d date + +# Partition Information +# col_name data_type comment +dateint int + +# Detailed Partition Information +Partition Value: [20140330] +Database: default +Table: parquet_mixed_partition_formats_temp +#### A masked pattern was here #### +Partition Parameters: + numFiles 1 + numRows 0 + rawDataSize 0 + totalSize 2521 + +# 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: + collection.delim , + field.delim | + mapkey.delim : + serialization.format | +PREHOOK: query: SELECT * FROM parquet_mixed_partition_formats_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@parquet_mixed_partition_formats_temp +PREHOOK: Input: default@parquet_mixed_partition_formats_temp@dateint=20140330 +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM parquet_mixed_partition_formats_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@parquet_mixed_partition_formats_temp +POSTHOOK: Input: default@parquet_mixed_partition_formats_temp@dateint=20140330 +#### A masked pattern was here #### +100 1 1 1.0 0.0 abc 2011-01-01 01:01:01.111111111 a a B4F3CAFDBEDD {"k1":"v1"} [101,200] {"c1":10,"c2":"a"} 2011-01-01 20140330 +101 2 2 1.1 0.3 def 2012-02-02 02:02:02.222222222 ab ab 68692CCAC0BDE7 {"k2":"v2"} [102,200] {"c1":10,"c2":"d"} 2012-02-02 20140330 +102 3 3 1.2 0.6 ghi 2013-03-03 03:03:03.333333333 abc abc B4F3CAFDBEDD {"k3":"v3"} [103,200] {"c1":10,"c2":"g"} 2013-03-03 20140330 +103 1 4 1.3 0.9 jkl 2014-04-04 04:04:04.444444444 abcd abcd 68692CCAC0BDE7 {"k4":"v4"} [104,200] {"c1":10,"c2":"j"} 2014-04-04 20140330 +104 2 5 1.4 1.2 mno 2015-05-05 05:05:05.555555555 abcde abcde B4F3CAFDBEDD {"k5":"v5"} [105,200] {"c1":10,"c2":"m"} 2015-05-05 20140330 +105 3 1 1.0 1.5 pqr 2016-06-06 06:06:06.666666666 abcde abcdef 68692CCAC0BDE7 {"k6":"v6"} [106,200] {"c1":10,"c2":"p"} 2016-06-06 20140330 +106 1 2 1.1 1.8 stu 2017-07-07 07:07:07.777777777 abcde abcdefg B4F3CAFDBEDD {"k7":"v7"} [107,200] {"c1":10,"c2":"s"} 2017-07-07 20140330 +107 2 3 1.2 2.1 vwx 2018-08-08 08:08:08.888888888 bcdef abcdefgh 68692CCAC0BDE7 {"k8":"v8"} [108,200] {"c1":10,"c2":"v"} 2018-08-08 20140330 +108 3 4 1.3 2.4 yza 2019-09-09 09:09:09.999999999 cdefg B4F3CAFDBE 68656C6C6F {"k9":"v9"} [109,200] {"c1":10,"c2":"y"} 2019-09-09 20140330 +109 1 5 1.4 2.7 bcd 2020-10-10 10:10:10.101010101 klmno abcdedef 68692CCAC0BDE7 {"k10":"v10"} [110,200] {"c1":10,"c2":"b"} 2020-10-10 20140330 +110 2 1 1.0 3.0 efg 2021-11-11 11:11:11.111111111 pqrst abcdede B4F3CAFDBEDD {"k11":"v11"} [111,200] {"c1":10,"c2":"e"} 2021-11-11 20140330 +111 3 2 1.1 3.3 hij 2022-12-12 12:12:12.121212121 nopqr abcded 68692CCAC0BDE7 {"k12":"v12"} [112,200] {"c1":10,"c2":"h"} 2022-12-12 20140330 +112 1 3 1.2 3.6 klm 2023-01-02 13:13:13.131313131 opqrs abcdd B4F3CAFDBEDD {"k13":"v13"} [113,200] {"c1":10,"c2":"k"} 2023-01-02 20140330 +113 2 4 1.3 3.9 nop 2024-02-02 14:14:14.141414141 pqrst abc 68692CCAC0BDE7 {"k14":"v14"} [114,200] {"c1":10,"c2":"n"} 2024-02-02 20140330 +114 3 5 1.4 4.2 qrs 2025-03-03 15:15:15.151515151 qrstu b B4F3CAFDBEDD {"k15":"v15"} [115,200] {"c1":10,"c2":"q"} 2025-03-03 20140330 +115 1 1 1.0 4.5 qrs 2026-04-04 16:16:16.161616161 rstuv abcded 68692CCAC0BDE7 {"k16":"v16"} [116,200] {"c1":10,"c2":"q"} 2026-04-04 20140330 +116 2 2 1.1 4.8 wxy 2027-05-05 17:17:17.171717171 stuvw abcded B4F3CAFDBEDD {"k17":"v17"} [117,200] {"c1":10,"c2":"w"} 2027-05-05 20140330 +117 3 3 1.2 5.1 zab 2028-06-06 18:18:18.181818181 tuvwx abcded 68692CCAC0BDE7 {"k18":"v18"} [118,200] {"c1":10,"c2":"z"} 2028-06-06 20140330 +118 1 4 1.3 5.4 cde 2029-07-07 19:19:19.191919191 uvwzy abcdede B4F3CAFDBEDD {"k19":"v19"} [119,200] {"c1":10,"c2":"c"} 2029-07-07 20140330 +119 2 5 1.4 5.7 fgh 2030-08-08 20:20:20.202020202 vwxyz abcdede 68692CCAC0BDE7 {"k20":"v20"} [120,200] {"c1":10,"c2":"f"} 2030-08-08 20140330 +120 3 1 1.0 6.0 ijk 2031-09-09 21:21:21.212121212 wxyza abcde B4F3CAFDBEDD {"k21":"v21"} [121,200] {"c1":10,"c2":"i"} 2031-09-09 20140330 +121 1 2 1.1 6.3 lmn 2032-10-10 22:22:22.222222222 bcdef abcde {"k22":"v22"} [122,200] {"c1":10,"c2":"l"} 2032-10-10 20140330 diff --git a/ql/src/test/results/clientpositive/temp_table_parquet_mixed_partition_formats2.q.out b/ql/src/test/results/clientpositive/temp_table_parquet_mixed_partition_formats2.q.out new file mode 100644 index 0000000000..23bb41edfe --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_parquet_mixed_partition_formats2.q.out @@ -0,0 +1,99 @@ +PREHOOK: query: CREATE TEMPORARY TABLE parquet_table_json_partition_temp ( + id bigint COMMENT 'from deserializer', + address struct COMMENT 'from deserializer', + reports array COMMENT 'from deserializer') +PARTITIONED BY ( + ts string) +ROW FORMAT SERDE +'org.apache.hive.hcatalog.data.JsonSerDe' +STORED AS INPUTFORMAT +'org.apache.hadoop.mapred.TextInputFormat' +OUTPUTFORMAT +'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@parquet_table_json_partition_temp +POSTHOOK: query: CREATE TEMPORARY TABLE parquet_table_json_partition_temp ( + id bigint COMMENT 'from deserializer', + address struct COMMENT 'from deserializer', + reports array COMMENT 'from deserializer') +PARTITIONED BY ( + ts string) +ROW FORMAT SERDE +'org.apache.hive.hcatalog.data.JsonSerDe' +STORED AS INPUTFORMAT +'org.apache.hadoop.mapred.TextInputFormat' +OUTPUTFORMAT +'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@parquet_table_json_partition_temp +PREHOOK: query: LOAD DATA LOCAL INPATH '../../data/files/sample2.json' INTO TABLE parquet_table_json_partition_temp PARTITION(ts='20150101') +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@parquet_table_json_partition_temp +POSTHOOK: query: LOAD DATA LOCAL INPATH '../../data/files/sample2.json' INTO TABLE parquet_table_json_partition_temp PARTITION(ts='20150101') +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@parquet_table_json_partition_temp +POSTHOOK: Output: default@parquet_table_json_partition_temp@ts=20150101 +PREHOOK: query: SELECT * FROM parquet_table_json_partition_temp LIMIT 100 +PREHOOK: type: QUERY +PREHOOK: Input: default@parquet_table_json_partition_temp +PREHOOK: Input: default@parquet_table_json_partition_temp@ts=20150101 +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM parquet_table_json_partition_temp LIMIT 100 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@parquet_table_json_partition_temp +POSTHOOK: Input: default@parquet_table_json_partition_temp@ts=20150101 +#### A masked pattern was here #### +1 {"country":1,"state":1} [2,3] 20150101 +2 {"country":1,"state":2} [] 20150101 +PREHOOK: query: ALTER TABLE parquet_table_json_partition_temp +SET FILEFORMAT INPUTFORMAT 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat' +OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat' +SERDE 'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe' +PREHOOK: type: ALTERTABLE_FILEFORMAT +PREHOOK: Input: default@parquet_table_json_partition_temp +PREHOOK: Output: default@parquet_table_json_partition_temp +POSTHOOK: query: ALTER TABLE parquet_table_json_partition_temp +SET FILEFORMAT INPUTFORMAT 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat' +OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat' +SERDE 'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe' +POSTHOOK: type: ALTERTABLE_FILEFORMAT +POSTHOOK: Input: default@parquet_table_json_partition_temp +POSTHOOK: Output: default@parquet_table_json_partition_temp +PREHOOK: query: SELECT * FROM parquet_table_json_partition_temp LIMIT 100 +PREHOOK: type: QUERY +PREHOOK: Input: default@parquet_table_json_partition_temp +PREHOOK: Input: default@parquet_table_json_partition_temp@ts=20150101 +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM parquet_table_json_partition_temp LIMIT 100 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@parquet_table_json_partition_temp +POSTHOOK: Input: default@parquet_table_json_partition_temp@ts=20150101 +#### A masked pattern was here #### +1 {"country":1,"state":1} [2,3] 20150101 +2 {"country":1,"state":2} [] 20150101 +PREHOOK: query: CREATE TEMPORARY TABLE new_table_temp AS SELECT * FROM parquet_table_json_partition_temp LIMIT 100 +PREHOOK: type: CREATETABLE_AS_SELECT +PREHOOK: Input: default@parquet_table_json_partition_temp +PREHOOK: Input: default@parquet_table_json_partition_temp@ts=20150101 +PREHOOK: Output: database:default +PREHOOK: Output: default@new_table_temp +POSTHOOK: query: CREATE TEMPORARY TABLE new_table_temp AS SELECT * FROM parquet_table_json_partition_temp LIMIT 100 +POSTHOOK: type: CREATETABLE_AS_SELECT +POSTHOOK: Input: default@parquet_table_json_partition_temp +POSTHOOK: Input: default@parquet_table_json_partition_temp@ts=20150101 +POSTHOOK: Output: database:default +POSTHOOK: Output: default@new_table_temp +PREHOOK: query: SELECT * FROM new_table_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@new_table_temp +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM new_table_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@new_table_temp +#### A masked pattern was here #### +2 {"country":1,"state":2} [] 20150101 +1 {"country":1,"state":1} [2,3] 20150101 diff --git a/ql/src/test/results/clientpositive/temp_table_parquet_partitioned.q.out b/ql/src/test/results/clientpositive/temp_table_parquet_partitioned.q.out new file mode 100644 index 0000000000..e48b0ef088 --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_parquet_partitioned.q.out @@ -0,0 +1,171 @@ +PREHOOK: query: DROP TABLE parquet_partitioned_staging_temp +PREHOOK: type: DROPTABLE +POSTHOOK: query: DROP TABLE parquet_partitioned_staging_temp +POSTHOOK: type: DROPTABLE +PREHOOK: query: DROP TABLE parquet_partitioned_temp +PREHOOK: type: DROPTABLE +POSTHOOK: query: DROP TABLE parquet_partitioned_temp +POSTHOOK: type: DROPTABLE +PREHOOK: query: CREATE TEMPORARY TABLE parquet_partitioned_staging_temp ( + id int, + str string, + part string +) ROW FORMAT DELIMITED +FIELDS TERMINATED BY '|' +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@parquet_partitioned_staging_temp +POSTHOOK: query: CREATE TEMPORARY TABLE parquet_partitioned_staging_temp ( + id int, + str string, + part string +) ROW FORMAT DELIMITED +FIELDS TERMINATED BY '|' +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@parquet_partitioned_staging_temp +PREHOOK: query: CREATE TEMPORARY TABLE parquet_partitioned_temp ( + id int, + str string +) PARTITIONED BY (part string) +STORED AS PARQUET +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@parquet_partitioned_temp +POSTHOOK: query: CREATE TEMPORARY TABLE parquet_partitioned_temp ( + id int, + str string +) PARTITIONED BY (part string) +STORED AS PARQUET +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@parquet_partitioned_temp +PREHOOK: query: DESCRIBE FORMATTED parquet_partitioned_temp +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@parquet_partitioned_temp +POSTHOOK: query: DESCRIBE FORMATTED parquet_partitioned_temp +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@parquet_partitioned_temp +# col_name data_type comment +id int +str string + +# Partition Information +# col_name data_type comment +part string + +# Detailed Table Information +Database: default +#### A masked pattern was here #### +Retention: 0 +#### A masked pattern was here #### +Table Type: MANAGED_TABLE +Table Parameters: + COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"id\":\"true\",\"str\":\"true\"}} + bucketing_version 2 + numFiles 0 + numPartitions 0 + numRows 0 + rawDataSize 0 + totalSize 0 + +# Storage Information +SerDe Library: org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe +InputFormat: org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat +OutputFormat: org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat +Compressed: No +Num Buckets: -1 +Bucket Columns: [] +Sort Columns: [] +Storage Desc Params: + serialization.format 1 +PREHOOK: query: LOAD DATA LOCAL INPATH '../../data/files/parquet_partitioned.txt' OVERWRITE INTO TABLE parquet_partitioned_staging_temp +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@parquet_partitioned_staging_temp +POSTHOOK: query: LOAD DATA LOCAL INPATH '../../data/files/parquet_partitioned.txt' OVERWRITE INTO TABLE parquet_partitioned_staging_temp +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@parquet_partitioned_staging_temp +PREHOOK: query: SELECT * FROM parquet_partitioned_staging_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@parquet_partitioned_staging_temp +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM parquet_partitioned_staging_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@parquet_partitioned_staging_temp +#### A masked pattern was here #### +1 foo part1 +2 bar part2 +3 baz part2 +PREHOOK: query: INSERT OVERWRITE TABLE parquet_partitioned_temp PARTITION (part) SELECT * FROM parquet_partitioned_staging_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@parquet_partitioned_staging_temp +PREHOOK: Output: default@parquet_partitioned_temp +POSTHOOK: query: INSERT OVERWRITE TABLE parquet_partitioned_temp PARTITION (part) SELECT * FROM parquet_partitioned_staging_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@parquet_partitioned_staging_temp +POSTHOOK: Output: default@parquet_partitioned_temp@part=part1 +POSTHOOK: Output: default@parquet_partitioned_temp@part=part2 +POSTHOOK: Lineage: parquet_partitioned_temp PARTITION(part=part1).id SIMPLE [(parquet_partitioned_staging_temp)parquet_partitioned_staging_temp.FieldSchema(name:id, type:int, comment:null), ] +POSTHOOK: Lineage: parquet_partitioned_temp PARTITION(part=part1).str SIMPLE [(parquet_partitioned_staging_temp)parquet_partitioned_staging_temp.FieldSchema(name:str, type:string, comment:null), ] +POSTHOOK: Lineage: parquet_partitioned_temp PARTITION(part=part2).id SIMPLE [(parquet_partitioned_staging_temp)parquet_partitioned_staging_temp.FieldSchema(name:id, type:int, comment:null), ] +POSTHOOK: Lineage: parquet_partitioned_temp PARTITION(part=part2).str SIMPLE [(parquet_partitioned_staging_temp)parquet_partitioned_staging_temp.FieldSchema(name:str, type:string, comment:null), ] +PREHOOK: query: SELECT * FROM parquet_partitioned_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@parquet_partitioned_temp +PREHOOK: Input: default@parquet_partitioned_temp@part=part1 +PREHOOK: Input: default@parquet_partitioned_temp@part=part2 +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM parquet_partitioned_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@parquet_partitioned_temp +POSTHOOK: Input: default@parquet_partitioned_temp@part=part1 +POSTHOOK: Input: default@parquet_partitioned_temp@part=part2 +#### A masked pattern was here #### +1 foo part1 +2 bar part2 +3 baz part2 +PREHOOK: query: SELECT part, COUNT(0) FROM parquet_partitioned_temp GROUP BY part +PREHOOK: type: QUERY +PREHOOK: Input: default@parquet_partitioned_temp +PREHOOK: Input: default@parquet_partitioned_temp@part=part1 +PREHOOK: Input: default@parquet_partitioned_temp@part=part2 +#### A masked pattern was here #### +POSTHOOK: query: SELECT part, COUNT(0) FROM parquet_partitioned_temp GROUP BY part +POSTHOOK: type: QUERY +POSTHOOK: Input: default@parquet_partitioned_temp +POSTHOOK: Input: default@parquet_partitioned_temp@part=part1 +POSTHOOK: Input: default@parquet_partitioned_temp@part=part2 +#### A masked pattern was here #### +part1 1 +part2 2 +PREHOOK: query: SELECT * FROM parquet_partitioned_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@parquet_partitioned_temp +PREHOOK: Input: default@parquet_partitioned_temp@part=part1 +PREHOOK: Input: default@parquet_partitioned_temp@part=part2 +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM parquet_partitioned_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@parquet_partitioned_temp +POSTHOOK: Input: default@parquet_partitioned_temp@part=part1 +POSTHOOK: Input: default@parquet_partitioned_temp@part=part2 +#### A masked pattern was here #### +1 foo part1 +2 bar part2 +3 baz part2 +PREHOOK: query: SELECT part, COUNT(0) FROM parquet_partitioned_temp GROUP BY part +PREHOOK: type: QUERY +PREHOOK: Input: default@parquet_partitioned_temp +PREHOOK: Input: default@parquet_partitioned_temp@part=part1 +PREHOOK: Input: default@parquet_partitioned_temp@part=part2 +#### A masked pattern was here #### +POSTHOOK: query: SELECT part, COUNT(0) FROM parquet_partitioned_temp GROUP BY part +POSTHOOK: type: QUERY +POSTHOOK: Input: default@parquet_partitioned_temp +POSTHOOK: Input: default@parquet_partitioned_temp@part=part1 +POSTHOOK: Input: default@parquet_partitioned_temp@part=part2 +#### A masked pattern was here #### +part1 1 +part2 2 diff --git a/ql/src/test/results/clientpositive/temp_table_parquet_ppd_partition.q.out b/ql/src/test/results/clientpositive/temp_table_parquet_ppd_partition.q.out new file mode 100644 index 0000000000..b00e77065a --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_parquet_ppd_partition.q.out @@ -0,0 +1,45 @@ +PREHOOK: query: CREATE TEMPORARY TABLE part1_n1_temp (id int, content string) PARTITIONED BY (p string) STORED AS PARQUET +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@part1_n1_temp +POSTHOOK: query: CREATE TEMPORARY TABLE part1_n1_temp (id int, content string) PARTITIONED BY (p string) STORED AS PARQUET +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@part1_n1_temp +PREHOOK: query: ALTER TABLE part1_n1_temp ADD PARTITION (p='p1') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@part1_n1_temp +POSTHOOK: query: ALTER TABLE part1_n1_temp ADD PARTITION (p='p1') +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@part1_n1_temp +POSTHOOK: Output: default@part1_n1_temp@p=p1 +PREHOOK: query: INSERT INTO TABLE part1_n1_temp PARTITION (p='p1') VALUES (1, 'a'), (2, 'b') +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@part1_n1_temp@p=p1 +POSTHOOK: query: INSERT INTO TABLE part1_n1_temp PARTITION (p='p1') VALUES (1, 'a'), (2, 'b') +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@part1_n1_temp@p=p1 +POSTHOOK: Lineage: part1_n1_temp PARTITION(p=p1).content SCRIPT [] +POSTHOOK: Lineage: part1_n1_temp PARTITION(p=p1).id SCRIPT [] +PREHOOK: query: SELECT * FROM part1_n1_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@part1_n1_temp +PREHOOK: Input: default@part1_n1_temp@p=p1 +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM part1_n1_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@part1_n1_temp +POSTHOOK: Input: default@part1_n1_temp@p=p1 +#### A masked pattern was here #### +1 a p1 +2 b p1 +PREHOOK: query: DROP TABLE part1_n1_temp PURGE +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@part1_n1_temp +PREHOOK: Output: default@part1_n1_temp +POSTHOOK: query: DROP TABLE part1_n1_temp PURGE +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@part1_n1_temp +POSTHOOK: Output: default@part1_n1_temp diff --git a/ql/src/test/results/clientpositive/temp_table_partInit.q.out b/ql/src/test/results/clientpositive/temp_table_partInit.q.out new file mode 100644 index 0000000000..46b3658dc9 --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_partInit.q.out @@ -0,0 +1,55 @@ +PREHOOK: query: CREATE TABLE empty_n1 (c INT) PARTITIONED BY (p INT) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@empty_n1 +POSTHOOK: query: CREATE TABLE empty_n1 (c INT) PARTITIONED BY (p INT) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@empty_n1 +PREHOOK: query: SELECT MAX(c) FROM empty_n1 +PREHOOK: type: QUERY +PREHOOK: Input: default@empty_n1 +#### A masked pattern was here #### +POSTHOOK: query: SELECT MAX(c) FROM empty_n1 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@empty_n1 +#### A masked pattern was here #### +NULL +PREHOOK: query: SELECT MAX(p) FROM empty_n1 +PREHOOK: type: QUERY +PREHOOK: Input: default@empty_n1 +#### A masked pattern was here #### +POSTHOOK: query: SELECT MAX(p) FROM empty_n1 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@empty_n1 +#### A masked pattern was here #### +NULL +PREHOOK: query: ALTER TABLE empty_n1 ADD PARTITION (p=1) +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@empty_n1 +POSTHOOK: query: ALTER TABLE empty_n1 ADD PARTITION (p=1) +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@empty_n1 +POSTHOOK: Output: default@empty_n1@p=1 +PREHOOK: query: SELECT MAX(p) FROM empty_n1 +PREHOOK: type: QUERY +PREHOOK: Input: default@empty_n1 +PREHOOK: Input: default@empty_n1@p=1 +#### A masked pattern was here #### +POSTHOOK: query: SELECT MAX(p) FROM empty_n1 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@empty_n1 +POSTHOOK: Input: default@empty_n1@p=1 +#### A masked pattern was here #### +NULL +PREHOOK: query: SELECT MAX(p) FROM empty_n1 +PREHOOK: type: QUERY +PREHOOK: Input: default@empty_n1 +PREHOOK: Input: default@empty_n1@p=1 +#### A masked pattern was here #### +POSTHOOK: query: SELECT MAX(p) FROM empty_n1 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@empty_n1 +POSTHOOK: Input: default@empty_n1@p=1 +#### A masked pattern was here #### +NULL diff --git a/ql/src/test/results/clientpositive/temp_table_partcols1.q.out b/ql/src/test/results/clientpositive/temp_table_partcols1.q.out new file mode 100644 index 0000000000..f2da1bf431 --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_partcols1.q.out @@ -0,0 +1,63 @@ +PREHOOK: query: create temporary table test1_n15_temp(col1 string) partitioned by (partitionid int) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@test1_n15_temp +POSTHOOK: query: create temporary table test1_n15_temp(col1 string) partitioned by (partitionid int) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@test1_n15_temp +PREHOOK: query: insert overwrite table test1_n15_temp partition (partitionid=1) + select key from src tablesample (10 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@src +PREHOOK: Output: default@test1_n15_temp@partitionid=1 +POSTHOOK: query: insert overwrite table test1_n15_temp partition (partitionid=1) + select key from src tablesample (10 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src +POSTHOOK: Output: default@test1_n15_temp@partitionid=1 +POSTHOOK: Lineage: test1_n15_temp PARTITION(partitionid=1).col1 SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +PREHOOK: query: FROM ( + FROM test1_n15_temp + 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) +PREHOOK: type: QUERY +PREHOOK: Input: default@test1_n15_temp +PREHOOK: Input: default@test1_n15_temp@partitionid=1 +#### A masked pattern was here #### +POSTHOOK: query: FROM ( + FROM test1_n15_temp + 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) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@test1_n15_temp +POSTHOOK: Input: default@test1_n15_temp@partitionid=1 +#### A masked pattern was here #### +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 diff --git a/ql/src/test/results/clientpositive/temp_table_partition_boolean.q.out b/ql/src/test/results/clientpositive/temp_table_partition_boolean.q.out new file mode 100644 index 0000000000..63d055e9ad --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_partition_boolean.q.out @@ -0,0 +1,229 @@ +PREHOOK: query: CREATE TEMPORARY TABLE broken_temp (c int) PARTITIONED BY (b1 BOOLEAN, s STRING, b2 BOOLEAN, i INT) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@broken_temp +POSTHOOK: query: CREATE TEMPORARY TABLE broken_temp (c int) PARTITIONED BY (b1 BOOLEAN, s STRING, b2 BOOLEAN, i INT) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@broken_temp +PREHOOK: query: INSERT INTO TABLE broken_temp PARTITION(b1=false,s='a',b2=false,i=0) VALUES(1) +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@broken_temp@b1=false/s=a/b2=false/i=0 +POSTHOOK: query: INSERT INTO TABLE broken_temp PARTITION(b1=false,s='a',b2=false,i=0) VALUES(1) +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@broken_temp@b1=false/s=a/b2=false/i=0 +POSTHOOK: Lineage: broken_temp PARTITION(b1=false,s=a,b2=false,i=0).c SCRIPT [] +PREHOOK: query: INSERT INTO TABLE broken_temp PARTITION(b1=FALSE,s='a',b2=false,i=0) VALUES(3) +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@broken_temp@b1=false/s=a/b2=false/i=0 +POSTHOOK: query: INSERT INTO TABLE broken_temp PARTITION(b1=FALSE,s='a',b2=false,i=0) VALUES(3) +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@broken_temp@b1=false/s=a/b2=false/i=0 +POSTHOOK: Lineage: broken_temp PARTITION(b1=false,s=a,b2=false,i=0).c SCRIPT [] +PREHOOK: query: INSERT INTO TABLE broken_temp PARTITION(b1='no',s='a',b2=False,i=0) VALUES(5) +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@broken_temp@b1=false/s=a/b2=false/i=0 +POSTHOOK: query: INSERT INTO TABLE broken_temp PARTITION(b1='no',s='a',b2=False,i=0) VALUES(5) +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@broken_temp@b1=false/s=a/b2=false/i=0 +POSTHOOK: Lineage: broken_temp PARTITION(b1=false,s=a,b2=false,i=0).c SCRIPT [] +PREHOOK: query: INSERT INTO TABLE broken_temp PARTITION(b1='off',s='a',b2='0',i=0) VALUES(7) +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@broken_temp@b1=false/s=a/b2=false/i=0 +POSTHOOK: query: INSERT INTO TABLE broken_temp PARTITION(b1='off',s='a',b2='0',i=0) VALUES(7) +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@broken_temp@b1=false/s=a/b2=false/i=0 +POSTHOOK: Lineage: broken_temp PARTITION(b1=false,s=a,b2=false,i=0).c SCRIPT [] +PREHOOK: query: select * from broken_temp where b1=false and b2=false +PREHOOK: type: QUERY +PREHOOK: Input: default@broken_temp +PREHOOK: Input: default@broken_temp@b1=false/s=a/b2=false/i=0 +#### A masked pattern was here #### +POSTHOOK: query: select * from broken_temp where b1=false and b2=false +POSTHOOK: type: QUERY +POSTHOOK: Input: default@broken_temp +POSTHOOK: Input: default@broken_temp@b1=false/s=a/b2=false/i=0 +#### A masked pattern was here #### +1 false a false 0 +3 false a false 0 +5 false a false 0 +7 false a false 0 +PREHOOK: query: INSERT INTO TABLE broken_temp PARTITION(b1=true,s='a',b2=true,i=0) VALUES(2) +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@broken_temp@b1=true/s=a/b2=true/i=0 +POSTHOOK: query: INSERT INTO TABLE broken_temp PARTITION(b1=true,s='a',b2=true,i=0) VALUES(2) +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@broken_temp@b1=true/s=a/b2=true/i=0 +POSTHOOK: Lineage: broken_temp PARTITION(b1=true,s=a,b2=true,i=0).c SCRIPT [] +PREHOOK: query: INSERT INTO TABLE broken_temp PARTITION(b1=TRUE,s='a',b2=true,i=0) VALUES(4) +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@broken_temp@b1=true/s=a/b2=true/i=0 +POSTHOOK: query: INSERT INTO TABLE broken_temp PARTITION(b1=TRUE,s='a',b2=true,i=0) VALUES(4) +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@broken_temp@b1=true/s=a/b2=true/i=0 +POSTHOOK: Lineage: broken_temp PARTITION(b1=true,s=a,b2=true,i=0).c SCRIPT [] +PREHOOK: query: INSERT INTO TABLE broken_temp PARTITION(b1='yes',s='a',b2=True,i=0) VALUES(6) +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@broken_temp@b1=true/s=a/b2=true/i=0 +POSTHOOK: query: INSERT INTO TABLE broken_temp PARTITION(b1='yes',s='a',b2=True,i=0) VALUES(6) +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@broken_temp@b1=true/s=a/b2=true/i=0 +POSTHOOK: Lineage: broken_temp PARTITION(b1=true,s=a,b2=true,i=0).c SCRIPT [] +PREHOOK: query: INSERT INTO TABLE broken_temp PARTITION(b1='1',s='a',b2='on',i=0) VALUES(8) +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@broken_temp@b1=true/s=a/b2=true/i=0 +POSTHOOK: query: INSERT INTO TABLE broken_temp PARTITION(b1='1',s='a',b2='on',i=0) VALUES(8) +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@broken_temp@b1=true/s=a/b2=true/i=0 +POSTHOOK: Lineage: broken_temp PARTITION(b1=true,s=a,b2=true,i=0).c SCRIPT [] +PREHOOK: query: select * from broken_temp where b1 is true and b2 is true +PREHOOK: type: QUERY +PREHOOK: Input: default@broken_temp +PREHOOK: Input: default@broken_temp@b1=false/s=a/b2=false/i=0 +PREHOOK: Input: default@broken_temp@b1=true/s=a/b2=true/i=0 +#### A masked pattern was here #### +POSTHOOK: query: select * from broken_temp where b1 is true and b2 is true +POSTHOOK: type: QUERY +POSTHOOK: Input: default@broken_temp +POSTHOOK: Input: default@broken_temp@b1=false/s=a/b2=false/i=0 +POSTHOOK: Input: default@broken_temp@b1=true/s=a/b2=true/i=0 +#### A masked pattern was here #### +2 true a true 0 +4 true a true 0 +6 true a true 0 +8 true a true 0 +PREHOOK: query: INSERT INTO TABLE broken_temp PARTITION(b1=false,s='a',b2=true,i=0) VALUES(100) +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@broken_temp@b1=false/s=a/b2=true/i=0 +POSTHOOK: query: INSERT INTO TABLE broken_temp PARTITION(b1=false,s='a',b2=true,i=0) VALUES(100) +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@broken_temp@b1=false/s=a/b2=true/i=0 +POSTHOOK: Lineage: broken_temp PARTITION(b1=false,s=a,b2=true,i=0).c SCRIPT [] +PREHOOK: query: INSERT INTO TABLE broken_temp PARTITION(b1=FALSE,s='a',b2=TRUE,i=0) VALUES(1000) +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@broken_temp@b1=false/s=a/b2=true/i=0 +POSTHOOK: query: INSERT INTO TABLE broken_temp PARTITION(b1=FALSE,s='a',b2=TRUE,i=0) VALUES(1000) +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@broken_temp@b1=false/s=a/b2=true/i=0 +POSTHOOK: Lineage: broken_temp PARTITION(b1=false,s=a,b2=true,i=0).c SCRIPT [] +PREHOOK: query: INSERT INTO TABLE broken_temp PARTITION(b1=true,s='a',b2=false,i=0) VALUES(10000) +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@broken_temp@b1=true/s=a/b2=false/i=0 +POSTHOOK: query: INSERT INTO TABLE broken_temp PARTITION(b1=true,s='a',b2=false,i=0) VALUES(10000) +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@broken_temp@b1=true/s=a/b2=false/i=0 +POSTHOOK: Lineage: broken_temp PARTITION(b1=true,s=a,b2=false,i=0).c SCRIPT [] +PREHOOK: query: INSERT INTO TABLE broken_temp PARTITION(b1=tRUe,s='a',b2=fALSe,i=0) VALUES(100000) +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@broken_temp@b1=true/s=a/b2=false/i=0 +POSTHOOK: query: INSERT INTO TABLE broken_temp PARTITION(b1=tRUe,s='a',b2=fALSe,i=0) VALUES(100000) +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@broken_temp@b1=true/s=a/b2=false/i=0 +POSTHOOK: Lineage: broken_temp PARTITION(b1=true,s=a,b2=false,i=0).c SCRIPT [] +PREHOOK: query: select * from broken_temp where b1 is true and b2=false +PREHOOK: type: QUERY +PREHOOK: Input: default@broken_temp +PREHOOK: Input: default@broken_temp@b1=false/s=a/b2=false/i=0 +PREHOOK: Input: default@broken_temp@b1=false/s=a/b2=true/i=0 +PREHOOK: Input: default@broken_temp@b1=true/s=a/b2=false/i=0 +PREHOOK: Input: default@broken_temp@b1=true/s=a/b2=true/i=0 +#### A masked pattern was here #### +POSTHOOK: query: select * from broken_temp where b1 is true and b2=false +POSTHOOK: type: QUERY +POSTHOOK: Input: default@broken_temp +POSTHOOK: Input: default@broken_temp@b1=false/s=a/b2=false/i=0 +POSTHOOK: Input: default@broken_temp@b1=false/s=a/b2=true/i=0 +POSTHOOK: Input: default@broken_temp@b1=true/s=a/b2=false/i=0 +POSTHOOK: Input: default@broken_temp@b1=true/s=a/b2=true/i=0 +#### A masked pattern was here #### +10000 true a false 0 +100000 true a false 0 +PREHOOK: query: select * from broken_temp where b1=false and b2 is true +PREHOOK: type: QUERY +PREHOOK: Input: default@broken_temp +PREHOOK: Input: default@broken_temp@b1=false/s=a/b2=false/i=0 +PREHOOK: Input: default@broken_temp@b1=false/s=a/b2=true/i=0 +PREHOOK: Input: default@broken_temp@b1=true/s=a/b2=false/i=0 +PREHOOK: Input: default@broken_temp@b1=true/s=a/b2=true/i=0 +#### A masked pattern was here #### +POSTHOOK: query: select * from broken_temp where b1=false and b2 is true +POSTHOOK: type: QUERY +POSTHOOK: Input: default@broken_temp +POSTHOOK: Input: default@broken_temp@b1=false/s=a/b2=false/i=0 +POSTHOOK: Input: default@broken_temp@b1=false/s=a/b2=true/i=0 +POSTHOOK: Input: default@broken_temp@b1=true/s=a/b2=false/i=0 +POSTHOOK: Input: default@broken_temp@b1=true/s=a/b2=true/i=0 +#### A masked pattern was here #### +100 false a true 0 +1000 false a true 0 +PREHOOK: query: select count(*) from broken_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@broken_temp +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from broken_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@broken_temp +#### A masked pattern was here #### +12 +PREHOOK: query: select * from broken_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@broken_temp +PREHOOK: Input: default@broken_temp@b1=false/s=a/b2=false/i=0 +PREHOOK: Input: default@broken_temp@b1=false/s=a/b2=true/i=0 +PREHOOK: Input: default@broken_temp@b1=true/s=a/b2=false/i=0 +PREHOOK: Input: default@broken_temp@b1=true/s=a/b2=true/i=0 +#### A masked pattern was here #### +POSTHOOK: query: select * from broken_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@broken_temp +POSTHOOK: Input: default@broken_temp@b1=false/s=a/b2=false/i=0 +POSTHOOK: Input: default@broken_temp@b1=false/s=a/b2=true/i=0 +POSTHOOK: Input: default@broken_temp@b1=true/s=a/b2=false/i=0 +POSTHOOK: Input: default@broken_temp@b1=true/s=a/b2=true/i=0 +#### A masked pattern was here #### +1 false a false 0 +100 false a true 0 +1000 false a true 0 +10000 true a false 0 +100000 true a false 0 +2 true a true 0 +3 false a false 0 +4 true a true 0 +5 false a false 0 +6 true a true 0 +7 false a false 0 +8 true a true 0 +PREHOOK: query: show partitions broken_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@broken_temp +POSTHOOK: query: show partitions broken_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@broken_temp +b1=false/s=a/b2=false/i=0 +b1=false/s=a/b2=true/i=0 +b1=true/s=a/b2=false/i=0 +b1=true/s=a/b2=true/i=0 diff --git a/ql/src/test/results/clientpositive/temp_table_partition_boolexpr.q.out b/ql/src/test/results/clientpositive/temp_table_partition_boolexpr.q.out new file mode 100644 index 0000000000..7f46dcb887 --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_partition_boolexpr.q.out @@ -0,0 +1,286 @@ +PREHOOK: query: create temporary table part_boolexpr_temp(key int, value string) partitioned by (dt int, ts string) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@part_boolexpr_temp +POSTHOOK: query: create temporary table part_boolexpr_temp(key int, value string) partitioned by (dt int, ts string) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@part_boolexpr_temp +PREHOOK: query: select count(*) from part_boolexpr_temp where key = 'abc' +PREHOOK: type: QUERY +PREHOOK: Input: default@part_boolexpr_temp +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from part_boolexpr_temp where key = 'abc' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@part_boolexpr_temp +#### A masked pattern was here #### +0 +PREHOOK: query: select * from part_boolexpr_temp where dt = 'abc' +PREHOOK: type: QUERY +PREHOOK: Input: default@part_boolexpr_temp +#### A masked pattern was here #### +POSTHOOK: query: select * from part_boolexpr_temp where dt = 'abc' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@part_boolexpr_temp +#### A masked pattern was here #### +PREHOOK: query: explain select count(1) from srcpart where true +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +#### A masked pattern was here #### +POSTHOOK: query: explain select count(1) from srcpart where true +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +#### A masked pattern was here #### +STAGE DEPENDENCIES: + Stage-0 is a root stage + +STAGE PLANS: + Stage: Stage-0 + Fetch Operator + limit: 1 + Processor Tree: + ListSink + +PREHOOK: query: explain select count(1) from srcpart where false +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +#### A masked pattern was here #### +POSTHOOK: query: explain select count(1) from srcpart where false +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +#### A masked pattern was here #### +STAGE DEPENDENCIES: + Stage-1 is a root stage + Stage-0 depends on stages: Stage-1 + +STAGE PLANS: + Stage: Stage-1 + Map Reduce + Map Operator Tree: + TableScan + alias: srcpart + Statistics: Num rows: 2000 Data size: 37248 Basic stats: COMPLETE Column stats: COMPLETE + Select Operator + Statistics: Num rows: 2000 Data size: 8000 Basic stats: COMPLETE Column stats: COMPLETE + Limit + Number of rows: 0 + Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: COMPLETE + Group By Operator + aggregations: count() + minReductionHashAggr: 0.99 + mode: hash + outputColumnNames: _col0 + Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE + Reduce Output Operator + sort order: + Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE + value expressions: _col0 (type: bigint) + Execution mode: vectorized + Reduce Operator Tree: + Group By Operator + aggregations: count(VALUE._col0) + mode: mergepartial + outputColumnNames: _col0 + Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE + File Output Operator + compressed: false + Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE + 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 + + Stage: Stage-0 + Fetch Operator + limit: -1 + Processor Tree: + ListSink + +PREHOOK: query: explain select count(1) from srcpart where true and hr='11' +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +#### A masked pattern was here #### +POSTHOOK: query: explain select count(1) from srcpart where true and hr='11' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +#### A masked pattern was here #### +STAGE DEPENDENCIES: + Stage-0 is a root stage + +STAGE PLANS: + Stage: Stage-0 + Fetch Operator + limit: 1 + Processor Tree: + ListSink + +PREHOOK: query: explain select count(1) from srcpart where true or hr='11' +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +#### A masked pattern was here #### +POSTHOOK: query: explain select count(1) from srcpart where true or hr='11' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +#### A masked pattern was here #### +STAGE DEPENDENCIES: + Stage-0 is a root stage + +STAGE PLANS: + Stage: Stage-0 + Fetch Operator + limit: 1 + Processor Tree: + ListSink + +PREHOOK: query: explain select count(1) from srcpart where false or hr='11' +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +#### A masked pattern was here #### +POSTHOOK: query: explain select count(1) from srcpart where false or hr='11' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +#### A masked pattern was here #### +STAGE DEPENDENCIES: + Stage-0 is a root stage + +STAGE PLANS: + Stage: Stage-0 + Fetch Operator + limit: 1 + Processor Tree: + ListSink + +PREHOOK: query: explain select count(1) from srcpart where false and hr='11' +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +#### A masked pattern was here #### +POSTHOOK: query: explain select count(1) from srcpart where false and hr='11' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +#### A masked pattern was here #### +STAGE DEPENDENCIES: + Stage-1 is a root stage + Stage-0 depends on stages: Stage-1 + +STAGE PLANS: + Stage: Stage-1 + Map Reduce + Map Operator Tree: + TableScan + alias: srcpart + Statistics: Num rows: 2000 Data size: 37248 Basic stats: COMPLETE Column stats: COMPLETE + Select Operator + Statistics: Num rows: 2000 Data size: 8000 Basic stats: COMPLETE Column stats: COMPLETE + Limit + Number of rows: 0 + Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: COMPLETE + Group By Operator + aggregations: count() + minReductionHashAggr: 0.99 + mode: hash + outputColumnNames: _col0 + Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE + Reduce Output Operator + sort order: + Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE + value expressions: _col0 (type: bigint) + Execution mode: vectorized + Reduce Operator Tree: + Group By Operator + aggregations: count(VALUE._col0) + mode: mergepartial + outputColumnNames: _col0 + Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE + File Output Operator + compressed: false + Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE + 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 + + Stage: Stage-0 + Fetch Operator + limit: -1 + Processor Tree: + ListSink + +PREHOOK: query: explain select count(1) from srcpart where INPUT__FILE__NAME is not null +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +#### A masked pattern was here #### +POSTHOOK: query: explain select count(1) from srcpart where INPUT__FILE__NAME is not null +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +#### A masked pattern was here #### +STAGE DEPENDENCIES: + Stage-1 is a root stage + Stage-0 depends on stages: Stage-1 + +STAGE PLANS: + Stage: Stage-1 + Map Reduce + Map Operator Tree: + TableScan + alias: srcpart + filterExpr: INPUT__FILE__NAME is not null (type: boolean) + Statistics: Num rows: 2000 Data size: 37248 Basic stats: COMPLETE Column stats: NONE + Filter Operator + predicate: INPUT__FILE__NAME is not null (type: boolean) + Statistics: Num rows: 2000 Data size: 37248 Basic stats: COMPLETE Column stats: NONE + Select Operator + Statistics: Num rows: 2000 Data size: 37248 Basic stats: COMPLETE Column stats: NONE + Group By Operator + aggregations: count() + minReductionHashAggr: 0.99 + mode: hash + outputColumnNames: _col0 + Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: NONE + Reduce Output Operator + sort order: + Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: NONE + value expressions: _col0 (type: bigint) + Reduce Operator Tree: + Group By Operator + aggregations: count(VALUE._col0) + mode: mergepartial + outputColumnNames: _col0 + Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: NONE + File Output Operator + compressed: false + Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: NONE + 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 + + Stage: Stage-0 + Fetch Operator + limit: -1 + Processor Tree: + ListSink + diff --git a/ql/src/test/results/clientpositive/temp_table_partition_char.q.out b/ql/src/test/results/clientpositive/temp_table_partition_char.q.out new file mode 100644 index 0000000000..d05b8a8e74 --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_partition_char.q.out @@ -0,0 +1,43 @@ +PREHOOK: query: drop table partition_char_1_temp +PREHOOK: type: DROPTABLE +POSTHOOK: query: drop table partition_char_1_temp +POSTHOOK: type: DROPTABLE +PREHOOK: query: create temporary table partition_char_1_temp (key string, value char(20)) partitioned by (dt char(10), region int) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@partition_char_1_temp +POSTHOOK: query: create temporary table partition_char_1_temp (key string, value char(20)) partitioned by (dt char(10), region int) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@partition_char_1_temp +PREHOOK: query: insert overwrite table partition_char_1_temp partition(dt='2000-01-01', region=1) + select * from src tablesample (10 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@src +PREHOOK: Output: default@partition_char_1_temp@dt=2000-01-01/region=1 +POSTHOOK: query: insert overwrite table partition_char_1_temp partition(dt='2000-01-01', region=1) + select * from src tablesample (10 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src +POSTHOOK: Output: default@partition_char_1_temp@dt=2000-01-01/region=1 +POSTHOOK: Lineage: partition_char_1_temp PARTITION(dt=2000-01-01,region=1).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_char_1_temp PARTITION(dt=2000-01-01,region=1).value EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: select * from partition_char_1_temp limit 1 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_char_1_temp +PREHOOK: Input: default@partition_char_1_temp@dt=2000-01-01/region=1 +#### A masked pattern was here #### +POSTHOOK: query: select * from partition_char_1_temp limit 1 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_char_1_temp +POSTHOOK: Input: default@partition_char_1_temp@dt=2000-01-01/region=1 +#### A masked pattern was here #### +238 val_238 2000-01-01 1 +PREHOOK: query: drop table partition_char_1_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@partition_char_1_temp +PREHOOK: Output: default@partition_char_1_temp +POSTHOOK: query: drop table partition_char_1_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@partition_char_1_temp +POSTHOOK: Output: default@partition_char_1_temp diff --git a/ql/src/test/results/clientpositive/temp_table_partition_condition_remover.q.out b/ql/src/test/results/clientpositive/temp_table_partition_condition_remover.q.out new file mode 100644 index 0000000000..18f5348f0f --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_partition_condition_remover.q.out @@ -0,0 +1,86 @@ +PREHOOK: query: drop table foo_n5_temp +PREHOOK: type: DROPTABLE +POSTHOOK: query: drop table foo_n5_temp +POSTHOOK: type: DROPTABLE +PREHOOK: query: create temporary table foo_n5_temp (i int) partitioned by (s string) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@foo_n5_temp +POSTHOOK: query: create temporary table foo_n5_temp (i int) partitioned by (s string) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@foo_n5_temp +PREHOOK: query: insert overwrite table foo_n5_temp partition(s='foo_n5_temp') select cint from alltypesorc limit 10 +PREHOOK: type: QUERY +PREHOOK: Input: default@alltypesorc +PREHOOK: Output: default@foo_n5_temp@s=foo_n5_temp +POSTHOOK: query: insert overwrite table foo_n5_temp partition(s='foo_n5_temp') select cint from alltypesorc limit 10 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alltypesorc +POSTHOOK: Output: default@foo_n5_temp@s=foo_n5_temp +POSTHOOK: Lineage: foo_n5_temp PARTITION(s=foo_n5_temp).i SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +PREHOOK: query: insert overwrite table foo_n5_temp partition(s='bar') select cint from alltypesorc limit 10 +PREHOOK: type: QUERY +PREHOOK: Input: default@alltypesorc +PREHOOK: Output: default@foo_n5_temp@s=bar +POSTHOOK: query: insert overwrite table foo_n5_temp partition(s='bar') select cint from alltypesorc limit 10 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@alltypesorc +POSTHOOK: Output: default@foo_n5_temp@s=bar +POSTHOOK: Lineage: foo_n5_temp PARTITION(s=bar).i SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ] +PREHOOK: query: explain select * from foo_n5_temp where s not in ('bar') +PREHOOK: type: QUERY +PREHOOK: Input: default@foo_n5_temp +PREHOOK: Input: default@foo_n5_temp@s=foo_n5_temp +#### A masked pattern was here #### +POSTHOOK: query: explain select * from foo_n5_temp where s not in ('bar') +POSTHOOK: type: QUERY +POSTHOOK: Input: default@foo_n5_temp +POSTHOOK: Input: default@foo_n5_temp@s=foo_n5_temp +#### A masked pattern was here #### +STAGE DEPENDENCIES: + Stage-0 is a root stage + +STAGE PLANS: + Stage: Stage-0 + Fetch Operator + limit: -1 + Processor Tree: + TableScan + alias: foo_n5_temp + filterExpr: (s <> 'bar') (type: boolean) + Statistics: Num rows: 10 Data size: 1880 Basic stats: COMPLETE Column stats: PARTIAL + Select Operator + expressions: i (type: int), s (type: string) + outputColumnNames: _col0, _col1 + Statistics: Num rows: 10 Data size: 1880 Basic stats: COMPLETE Column stats: PARTIAL + ListSink + +PREHOOK: query: select * from foo_n5_temp where s not in ('bar') +PREHOOK: type: QUERY +PREHOOK: Input: default@foo_n5_temp +PREHOOK: Input: default@foo_n5_temp@s=foo_n5_temp +#### A masked pattern was here #### +POSTHOOK: query: select * from foo_n5_temp where s not in ('bar') +POSTHOOK: type: QUERY +POSTHOOK: Input: default@foo_n5_temp +POSTHOOK: Input: default@foo_n5_temp@s=foo_n5_temp +#### A masked pattern was here #### +528534767 foo_n5_temp +528534767 foo_n5_temp +528534767 foo_n5_temp +528534767 foo_n5_temp +528534767 foo_n5_temp +528534767 foo_n5_temp +528534767 foo_n5_temp +528534767 foo_n5_temp +528534767 foo_n5_temp +528534767 foo_n5_temp +PREHOOK: query: drop table foo_n5_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@foo_n5_temp +PREHOOK: Output: default@foo_n5_temp +POSTHOOK: query: drop table foo_n5_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@foo_n5_temp +POSTHOOK: Output: default@foo_n5_temp diff --git a/ql/src/test/results/clientpositive/temp_table_partition_ctas.q.out b/ql/src/test/results/clientpositive/temp_table_partition_ctas.q.out new file mode 100644 index 0000000000..dc348bc220 --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_partition_ctas.q.out @@ -0,0 +1,1133 @@ +PREHOOK: query: EXPLAIN +CREATE TEMPORARY TABLE partition_ctas_1_temp PARTITIONED BY (key) AS + SELECT value, key FROM src where key > 200 and key < 300 +PREHOOK: type: CREATETABLE_AS_SELECT +PREHOOK: Input: default@src +PREHOOK: Output: database:default +PREHOOK: Output: default@partition_ctas_1_temp +PREHOOK: Output: default@partition_ctas_1_temp +POSTHOOK: query: EXPLAIN +CREATE TEMPORARY TABLE partition_ctas_1_temp PARTITIONED BY (key) AS + SELECT value, key FROM src where key > 200 and key < 300 +POSTHOOK: type: CREATETABLE_AS_SELECT +POSTHOOK: Input: default@src +POSTHOOK: Output: database:default +POSTHOOK: Output: default@partition_ctas_1_temp +STAGE DEPENDENCIES: + Stage-1 is a root stage + Stage-3 depends on stages: Stage-1 + Stage-0 depends on stages: Stage-3 + Stage-2 depends on stages: Stage-0, Stage-3 + +STAGE PLANS: + Stage: Stage-1 + Map Reduce + Map Operator Tree: + TableScan + alias: src + filterExpr: ((UDFToDouble(key) > 200.0D) and (UDFToDouble(key) < 300.0D)) (type: boolean) + Statistics: Num rows: 500 Data size: 89000 Basic stats: COMPLETE Column stats: COMPLETE + Filter Operator + predicate: ((UDFToDouble(key) > 200.0D) and (UDFToDouble(key) < 300.0D)) (type: boolean) + Statistics: Num rows: 55 Data size: 9790 Basic stats: COMPLETE Column stats: COMPLETE + Select Operator + expressions: value (type: string), key (type: string) + outputColumnNames: _col0, _col1 + Statistics: Num rows: 55 Data size: 9790 Basic stats: COMPLETE Column stats: COMPLETE + Reduce Output Operator + key expressions: _col1 (type: string) + sort order: + + Map-reduce partition columns: _col1 (type: string) + Statistics: Num rows: 55 Data size: 9790 Basic stats: COMPLETE Column stats: COMPLETE + value expressions: _col0 (type: string) + Execution mode: vectorized + Reduce Operator Tree: + Select Operator + expressions: VALUE._col0 (type: string), KEY._col1 (type: string) + outputColumnNames: _col0, _col1 + File Output Operator + compressed: false + Dp Sort State: PARTITION_SORTED + Statistics: Num rows: 55 Data size: 9790 Basic stats: COMPLETE Column stats: COMPLETE + table: + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.partition_ctas_1_temp + + Stage: Stage-3 + Create Table + columns: value string + input format: org.apache.hadoop.mapred.TextInputFormat +#### A masked pattern was here #### + output format: org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat + partition columns: key string + serde name: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.partition_ctas_1_temp + isTemporary: true + + Stage: Stage-0 + Move Operator + tables: + partition: + key + 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: default.partition_ctas_1_temp + + Stage: Stage-2 + Stats Work + Basic Stats Work: + +PREHOOK: query: CREATE TABLE partition_ctas_1_temp PARTITIONED BY (key) AS + SELECT value, key FROM src where key > 200 and key < 300 +PREHOOK: type: CREATETABLE_AS_SELECT +PREHOOK: Input: default@src +PREHOOK: Output: database:default +PREHOOK: Output: default@partition_ctas_1_temp +PREHOOK: Output: default@partition_ctas_1_temp +POSTHOOK: query: CREATE TABLE partition_ctas_1_temp PARTITIONED BY (key) AS + SELECT value, key FROM src where key > 200 and key < 300 +POSTHOOK: type: CREATETABLE_AS_SELECT +POSTHOOK: Input: default@src +POSTHOOK: Output: database:default +POSTHOOK: Output: default@partition_ctas_1_temp +POSTHOOK: Output: default@partition_ctas_1_temp@key=201 +POSTHOOK: Output: default@partition_ctas_1_temp@key=202 +POSTHOOK: Output: default@partition_ctas_1_temp@key=203 +POSTHOOK: Output: default@partition_ctas_1_temp@key=205 +POSTHOOK: Output: default@partition_ctas_1_temp@key=207 +POSTHOOK: Output: default@partition_ctas_1_temp@key=208 +POSTHOOK: Output: default@partition_ctas_1_temp@key=209 +POSTHOOK: Output: default@partition_ctas_1_temp@key=213 +POSTHOOK: Output: default@partition_ctas_1_temp@key=214 +POSTHOOK: Output: default@partition_ctas_1_temp@key=216 +POSTHOOK: Output: default@partition_ctas_1_temp@key=217 +POSTHOOK: Output: default@partition_ctas_1_temp@key=218 +POSTHOOK: Output: default@partition_ctas_1_temp@key=219 +POSTHOOK: Output: default@partition_ctas_1_temp@key=221 +POSTHOOK: Output: default@partition_ctas_1_temp@key=222 +POSTHOOK: Output: default@partition_ctas_1_temp@key=223 +POSTHOOK: Output: default@partition_ctas_1_temp@key=224 +POSTHOOK: Output: default@partition_ctas_1_temp@key=226 +POSTHOOK: Output: default@partition_ctas_1_temp@key=228 +POSTHOOK: Output: default@partition_ctas_1_temp@key=229 +POSTHOOK: Output: default@partition_ctas_1_temp@key=230 +POSTHOOK: Output: default@partition_ctas_1_temp@key=233 +POSTHOOK: Output: default@partition_ctas_1_temp@key=235 +POSTHOOK: Output: default@partition_ctas_1_temp@key=237 +POSTHOOK: Output: default@partition_ctas_1_temp@key=238 +POSTHOOK: Output: default@partition_ctas_1_temp@key=239 +POSTHOOK: Output: default@partition_ctas_1_temp@key=241 +POSTHOOK: Output: default@partition_ctas_1_temp@key=242 +POSTHOOK: Output: default@partition_ctas_1_temp@key=244 +POSTHOOK: Output: default@partition_ctas_1_temp@key=247 +POSTHOOK: Output: default@partition_ctas_1_temp@key=248 +POSTHOOK: Output: default@partition_ctas_1_temp@key=249 +POSTHOOK: Output: default@partition_ctas_1_temp@key=252 +POSTHOOK: Output: default@partition_ctas_1_temp@key=255 +POSTHOOK: Output: default@partition_ctas_1_temp@key=256 +POSTHOOK: Output: default@partition_ctas_1_temp@key=257 +POSTHOOK: Output: default@partition_ctas_1_temp@key=258 +POSTHOOK: Output: default@partition_ctas_1_temp@key=260 +POSTHOOK: Output: default@partition_ctas_1_temp@key=262 +POSTHOOK: Output: default@partition_ctas_1_temp@key=263 +POSTHOOK: Output: default@partition_ctas_1_temp@key=265 +POSTHOOK: Output: default@partition_ctas_1_temp@key=266 +POSTHOOK: Output: default@partition_ctas_1_temp@key=272 +POSTHOOK: Output: default@partition_ctas_1_temp@key=273 +POSTHOOK: Output: default@partition_ctas_1_temp@key=274 +POSTHOOK: Output: default@partition_ctas_1_temp@key=275 +POSTHOOK: Output: default@partition_ctas_1_temp@key=277 +POSTHOOK: Output: default@partition_ctas_1_temp@key=278 +POSTHOOK: Output: default@partition_ctas_1_temp@key=280 +POSTHOOK: Output: default@partition_ctas_1_temp@key=281 +POSTHOOK: Output: default@partition_ctas_1_temp@key=282 +POSTHOOK: Output: default@partition_ctas_1_temp@key=283 +POSTHOOK: Output: default@partition_ctas_1_temp@key=284 +POSTHOOK: Output: default@partition_ctas_1_temp@key=285 +POSTHOOK: Output: default@partition_ctas_1_temp@key=286 +POSTHOOK: Output: default@partition_ctas_1_temp@key=287 +POSTHOOK: Output: default@partition_ctas_1_temp@key=288 +POSTHOOK: Output: default@partition_ctas_1_temp@key=289 +POSTHOOK: Output: default@partition_ctas_1_temp@key=291 +POSTHOOK: Output: default@partition_ctas_1_temp@key=292 +POSTHOOK: Output: default@partition_ctas_1_temp@key=296 +POSTHOOK: Output: default@partition_ctas_1_temp@key=298 +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=201).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=202).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=203).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=205).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=207).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=208).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=209).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=213).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=214).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=216).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=217).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=218).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=219).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=221).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=222).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=223).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=224).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=226).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=228).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=229).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=230).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=233).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=235).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=237).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=238).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=239).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=241).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=242).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=244).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=247).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=248).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=249).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=252).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=255).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=256).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=257).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=258).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=260).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=262).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=263).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=265).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=266).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=272).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=273).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=274).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=275).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=277).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=278).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=280).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=281).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=282).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=283).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=284).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=285).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=286).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=287).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=288).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=289).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=291).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=292).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=296).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_1_temp PARTITION(key=298).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: DESCRIBE FORMATTED partition_ctas_1_temp +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@partition_ctas_1_temp +POSTHOOK: query: DESCRIBE FORMATTED partition_ctas_1_temp +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@partition_ctas_1_temp +# col_name data_type comment +value string + +# Partition Information +# col_name data_type comment +key string + +# Detailed Table Information +Database: default +#### A masked pattern was here #### +Retention: 0 +#### A masked pattern was here #### +Table Type: MANAGED_TABLE +Table Parameters: + COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} + bucketing_version 2 + numFiles 62 + numPartitions 62 + numRows 101 + rawDataSize 707 + totalSize 808 +#### A masked pattern was here #### + +# Storage Information +SerDe Library: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe +InputFormat: org.apache.hadoop.mapred.TextInputFormat +OutputFormat: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat +Compressed: No +Num Buckets: -1 +Bucket Columns: [] +Sort Columns: [] +Storage Desc Params: + serialization.format 1 +PREHOOK: query: EXPLAIN +SELECT * FROM partition_ctas_1_temp where key = 238 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_ctas_1_temp +PREHOOK: Input: default@partition_ctas_1_temp@key=238 +#### A masked pattern was here #### +POSTHOOK: query: EXPLAIN +SELECT * FROM partition_ctas_1_temp where key = 238 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_ctas_1_temp +POSTHOOK: Input: default@partition_ctas_1_temp@key=238 +#### A masked pattern was here #### +STAGE DEPENDENCIES: + Stage-0 is a root stage + +STAGE PLANS: + Stage: Stage-0 + Fetch Operator + limit: -1 + Processor Tree: + TableScan + alias: partition_ctas_1_temp + filterExpr: (238.0D = 238.0D) (type: boolean) + Statistics: Num rows: 2 Data size: 550 Basic stats: COMPLETE Column stats: COMPLETE + Select Operator + expressions: value (type: string), key (type: string) + outputColumnNames: _col0, _col1 + Statistics: Num rows: 2 Data size: 550 Basic stats: COMPLETE Column stats: COMPLETE + ListSink + +PREHOOK: query: SELECT * FROM partition_ctas_1_temp where key = 238 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_ctas_1_temp +PREHOOK: Input: default@partition_ctas_1_temp@key=238 +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM partition_ctas_1_temp where key = 238 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_ctas_1_temp +POSTHOOK: Input: default@partition_ctas_1_temp@key=238 +#### A masked pattern was here #### +val_238 238 +val_238 238 +PREHOOK: query: CREATE TEMPORARY TABLE partition_ctas_2_temp PARTITIONED BY (value) AS + SELECT key, value FROM src where key > 200 and key < 300 +PREHOOK: type: CREATETABLE_AS_SELECT +PREHOOK: Input: default@src +PREHOOK: Output: database:default +PREHOOK: Output: default@partition_ctas_2_temp +PREHOOK: Output: default@partition_ctas_2_temp +POSTHOOK: query: CREATE TEMPORARY TABLE partition_ctas_2_temp PARTITIONED BY (value) AS + SELECT key, value FROM src where key > 200 and key < 300 +POSTHOOK: type: CREATETABLE_AS_SELECT +POSTHOOK: Input: default@src +POSTHOOK: Output: database:default +POSTHOOK: Output: default@partition_ctas_2_temp +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_201 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_202 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_203 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_205 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_207 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_208 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_209 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_213 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_214 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_216 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_217 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_218 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_219 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_221 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_222 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_223 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_224 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_226 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_228 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_229 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_230 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_233 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_235 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_237 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_238 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_239 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_241 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_242 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_244 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_247 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_248 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_249 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_252 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_255 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_256 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_257 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_258 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_260 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_262 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_263 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_265 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_266 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_272 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_273 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_274 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_275 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_277 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_278 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_280 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_281 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_282 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_283 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_284 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_285 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_286 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_287 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_288 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_289 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_291 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_292 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_296 +POSTHOOK: Output: default@partition_ctas_2_temp@value=val_298 +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_201).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_202).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_203).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_205).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_207).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_208).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_209).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_213).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_214).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_216).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_217).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_218).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_219).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_221).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_222).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_223).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_224).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_226).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_228).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_229).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_230).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_233).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_235).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_237).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_238).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_239).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_241).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_242).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_244).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_247).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_248).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_249).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_252).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_255).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_256).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_257).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_258).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_260).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_262).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_263).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_265).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_266).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_272).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_273).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_274).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_275).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_277).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_278).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_280).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_281).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_282).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_283).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_284).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_285).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_286).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_287).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_288).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_289).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_291).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_292).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_296).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_2_temp PARTITION(value=val_298).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +PREHOOK: query: EXPLAIN +SELECT * FROM partition_ctas_2_temp where value = 'val_238' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_ctas_2_temp +PREHOOK: Input: default@partition_ctas_2_temp@value=val_238 +#### A masked pattern was here #### +POSTHOOK: query: EXPLAIN +SELECT * FROM partition_ctas_2_temp where value = 'val_238' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_ctas_2_temp +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_238 +#### A masked pattern was here #### +STAGE DEPENDENCIES: + Stage-0 is a root stage + +STAGE PLANS: + Stage: Stage-0 + Fetch Operator + limit: -1 + Processor Tree: + TableScan + alias: partition_ctas_2_temp + filterExpr: (value = 'val_238') (type: boolean) + Statistics: Num rows: 2 Data size: 368 Basic stats: COMPLETE Column stats: NONE + Select Operator + expressions: key (type: string), 'val_238' (type: string) + outputColumnNames: _col0, _col1 + Statistics: Num rows: 2 Data size: 368 Basic stats: COMPLETE Column stats: NONE + ListSink + +PREHOOK: query: SELECT * FROM partition_ctas_2_temp where value = 'val_238' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_ctas_2_temp +PREHOOK: Input: default@partition_ctas_2_temp@value=val_238 +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM partition_ctas_2_temp where value = 'val_238' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_ctas_2_temp +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_238 +#### A masked pattern was here #### +238 val_238 +238 val_238 +PREHOOK: query: EXPLAIN +SELECT value FROM partition_ctas_2_temp where key = 238 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_ctas_2_temp +PREHOOK: Input: default@partition_ctas_2_temp@value=val_201 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_202 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_203 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_205 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_207 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_208 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_209 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_213 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_214 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_216 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_217 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_218 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_219 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_221 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_222 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_223 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_224 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_226 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_228 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_229 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_230 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_233 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_235 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_237 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_238 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_239 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_241 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_242 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_244 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_247 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_248 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_249 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_252 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_255 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_256 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_257 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_258 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_260 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_262 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_263 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_265 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_266 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_272 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_273 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_274 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_275 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_277 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_278 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_280 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_281 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_282 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_283 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_284 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_285 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_286 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_287 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_288 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_289 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_291 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_292 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_296 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_298 +#### A masked pattern was here #### +POSTHOOK: query: EXPLAIN +SELECT value FROM partition_ctas_2_temp where key = 238 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_ctas_2_temp +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_201 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_202 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_203 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_205 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_207 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_208 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_209 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_213 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_214 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_216 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_217 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_218 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_219 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_221 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_222 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_223 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_224 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_226 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_228 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_229 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_230 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_233 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_235 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_237 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_238 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_239 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_241 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_242 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_244 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_247 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_248 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_249 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_252 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_255 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_256 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_257 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_258 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_260 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_262 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_263 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_265 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_266 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_272 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_273 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_274 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_275 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_277 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_278 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_280 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_281 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_282 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_283 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_284 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_285 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_286 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_287 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_288 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_289 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_291 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_292 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_296 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_298 +#### A masked pattern was here #### +STAGE DEPENDENCIES: + Stage-1 is a root stage + Stage-0 depends on stages: Stage-1 + +STAGE PLANS: + Stage: Stage-1 + Map Reduce + Map Operator Tree: + TableScan + alias: partition_ctas_2_temp + filterExpr: (UDFToDouble(key) = 238.0D) (type: boolean) + Statistics: Num rows: 101 Data size: 36432 Basic stats: COMPLETE Column stats: PARTIAL + Filter Operator + predicate: (UDFToDouble(key) = 238.0D) (type: boolean) + Statistics: Num rows: 50 Data size: 18216 Basic stats: COMPLETE Column stats: PARTIAL + Select Operator + expressions: value (type: string) + outputColumnNames: _col0 + Statistics: Num rows: 50 Data size: 9200 Basic stats: COMPLETE Column stats: PARTIAL + File Output Operator + compressed: false + Statistics: Num rows: 50 Data size: 9200 Basic stats: COMPLETE Column stats: PARTIAL + 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 + Execution mode: vectorized + + Stage: Stage-0 + Fetch Operator + limit: -1 + Processor Tree: + ListSink + +PREHOOK: query: SELECT value FROM partition_ctas_2_temp where key = 238 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_ctas_2_temp +PREHOOK: Input: default@partition_ctas_2_temp@value=val_201 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_202 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_203 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_205 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_207 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_208 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_209 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_213 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_214 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_216 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_217 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_218 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_219 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_221 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_222 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_223 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_224 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_226 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_228 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_229 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_230 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_233 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_235 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_237 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_238 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_239 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_241 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_242 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_244 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_247 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_248 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_249 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_252 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_255 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_256 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_257 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_258 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_260 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_262 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_263 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_265 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_266 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_272 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_273 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_274 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_275 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_277 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_278 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_280 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_281 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_282 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_283 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_284 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_285 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_286 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_287 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_288 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_289 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_291 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_292 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_296 +PREHOOK: Input: default@partition_ctas_2_temp@value=val_298 +#### A masked pattern was here #### +POSTHOOK: query: SELECT value FROM partition_ctas_2_temp where key = 238 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_ctas_2_temp +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_201 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_202 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_203 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_205 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_207 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_208 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_209 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_213 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_214 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_216 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_217 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_218 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_219 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_221 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_222 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_223 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_224 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_226 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_228 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_229 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_230 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_233 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_235 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_237 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_238 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_239 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_241 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_242 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_244 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_247 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_248 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_249 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_252 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_255 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_256 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_257 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_258 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_260 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_262 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_263 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_265 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_266 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_272 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_273 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_274 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_275 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_277 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_278 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_280 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_281 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_282 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_283 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_284 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_285 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_286 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_287 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_288 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_289 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_291 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_292 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_296 +POSTHOOK: Input: default@partition_ctas_2_temp@value=val_298 +#### A masked pattern was here #### +val_238 +val_238 +PREHOOK: query: CREATE TEMPORARY TABLE partition_ctas_diff_order_temp PARTITIONED BY (value) AS + SELECT value, key FROM src where key > 200 and key < 300 +PREHOOK: type: CREATETABLE_AS_SELECT +PREHOOK: Input: default@src +PREHOOK: Output: database:default +PREHOOK: Output: default@partition_ctas_diff_order_temp +PREHOOK: Output: default@partition_ctas_diff_order_temp +POSTHOOK: query: CREATE TEMPORARY TABLE partition_ctas_diff_order_temp PARTITIONED BY (value) AS + SELECT value, key FROM src where key > 200 and key < 300 +POSTHOOK: type: CREATETABLE_AS_SELECT +POSTHOOK: Input: default@src +POSTHOOK: Output: database:default +POSTHOOK: Output: default@partition_ctas_diff_order_temp +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_201 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_202 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_203 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_205 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_207 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_208 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_209 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_213 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_214 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_216 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_217 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_218 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_219 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_221 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_222 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_223 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_224 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_226 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_228 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_229 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_230 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_233 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_235 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_237 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_238 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_239 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_241 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_242 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_244 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_247 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_248 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_249 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_252 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_255 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_256 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_257 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_258 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_260 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_262 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_263 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_265 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_266 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_272 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_273 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_274 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_275 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_277 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_278 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_280 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_281 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_282 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_283 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_284 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_285 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_286 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_287 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_288 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_289 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_291 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_292 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_296 +POSTHOOK: Output: default@partition_ctas_diff_order_temp@value=val_298 +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_201).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_202).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_203).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_205).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_207).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_208).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_209).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_213).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_214).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_216).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_217).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_218).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_219).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_221).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_222).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_223).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_224).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_226).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_228).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_229).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_230).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_233).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_235).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_237).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_238).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_239).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_241).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_242).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_244).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_247).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_248).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_249).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_252).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_255).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_256).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_257).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_258).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_260).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_262).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_263).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_265).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_266).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_272).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_273).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_274).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_275).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_277).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_278).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_280).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_281).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_282).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_283).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_284).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_285).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_286).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_287).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_288).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_289).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_291).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_292).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_296).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_diff_order_temp PARTITION(value=val_298).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +PREHOOK: query: EXPLAIN +SELECT * FROM partition_ctas_diff_order_temp where value = 'val_238' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_ctas_diff_order_temp +PREHOOK: Input: default@partition_ctas_diff_order_temp@value=val_238 +#### A masked pattern was here #### +POSTHOOK: query: EXPLAIN +SELECT * FROM partition_ctas_diff_order_temp where value = 'val_238' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_ctas_diff_order_temp +POSTHOOK: Input: default@partition_ctas_diff_order_temp@value=val_238 +#### A masked pattern was here #### +STAGE DEPENDENCIES: + Stage-0 is a root stage + +STAGE PLANS: + Stage: Stage-0 + Fetch Operator + limit: -1 + Processor Tree: + TableScan + alias: partition_ctas_diff_order_temp + filterExpr: (value = 'val_238') (type: boolean) + Statistics: Num rows: 2 Data size: 368 Basic stats: COMPLETE Column stats: NONE + Select Operator + expressions: key (type: string), 'val_238' (type: string) + outputColumnNames: _col0, _col1 + Statistics: Num rows: 2 Data size: 368 Basic stats: COMPLETE Column stats: NONE + ListSink + +PREHOOK: query: SELECT * FROM partition_ctas_diff_order_temp where value = 'val_238' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_ctas_diff_order_temp +PREHOOK: Input: default@partition_ctas_diff_order_temp@value=val_238 +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM partition_ctas_diff_order_temp where value = 'val_238' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_ctas_diff_order_temp +POSTHOOK: Input: default@partition_ctas_diff_order_temp@value=val_238 +#### A masked pattern was here #### +238 val_238 +238 val_238 +PREHOOK: query: CREATE TEMPORARY TABLE partition_ctas_complex_order_temp PARTITIONED BY (c0, c4, c1) AS + SELECT concat(value, '_0') as c0, + concat(value, '_1') as c1, + concat(value, '_2') as c2, + concat(value, '_3') as c3, + concat(value, '_5') as c5, + concat(value, '_4') as c4 + FROM src where key > 200 and key < 240 +PREHOOK: type: CREATETABLE_AS_SELECT +PREHOOK: Input: default@src +PREHOOK: Output: database:default +PREHOOK: Output: default@partition_ctas_complex_order_temp +PREHOOK: Output: default@partition_ctas_complex_order_temp +POSTHOOK: query: CREATE TEMPORARY TABLE partition_ctas_complex_order_temp PARTITIONED BY (c0, c4, c1) AS + SELECT concat(value, '_0') as c0, + concat(value, '_1') as c1, + concat(value, '_2') as c2, + concat(value, '_3') as c3, + concat(value, '_5') as c5, + concat(value, '_4') as c4 + FROM src where key > 200 and key < 240 +POSTHOOK: type: CREATETABLE_AS_SELECT +POSTHOOK: Input: default@src +POSTHOOK: Output: database:default +POSTHOOK: Output: default@partition_ctas_complex_order_temp +POSTHOOK: Output: default@partition_ctas_complex_order_temp@c0=val_201_0/c4=val_201_4/c1=val_201_1 +POSTHOOK: Output: default@partition_ctas_complex_order_temp@c0=val_202_0/c4=val_202_4/c1=val_202_1 +POSTHOOK: Output: default@partition_ctas_complex_order_temp@c0=val_203_0/c4=val_203_4/c1=val_203_1 +POSTHOOK: Output: default@partition_ctas_complex_order_temp@c0=val_205_0/c4=val_205_4/c1=val_205_1 +POSTHOOK: Output: default@partition_ctas_complex_order_temp@c0=val_207_0/c4=val_207_4/c1=val_207_1 +POSTHOOK: Output: default@partition_ctas_complex_order_temp@c0=val_208_0/c4=val_208_4/c1=val_208_1 +POSTHOOK: Output: default@partition_ctas_complex_order_temp@c0=val_209_0/c4=val_209_4/c1=val_209_1 +POSTHOOK: Output: default@partition_ctas_complex_order_temp@c0=val_213_0/c4=val_213_4/c1=val_213_1 +POSTHOOK: Output: default@partition_ctas_complex_order_temp@c0=val_214_0/c4=val_214_4/c1=val_214_1 +POSTHOOK: Output: default@partition_ctas_complex_order_temp@c0=val_216_0/c4=val_216_4/c1=val_216_1 +POSTHOOK: Output: default@partition_ctas_complex_order_temp@c0=val_217_0/c4=val_217_4/c1=val_217_1 +POSTHOOK: Output: default@partition_ctas_complex_order_temp@c0=val_218_0/c4=val_218_4/c1=val_218_1 +POSTHOOK: Output: default@partition_ctas_complex_order_temp@c0=val_219_0/c4=val_219_4/c1=val_219_1 +POSTHOOK: Output: default@partition_ctas_complex_order_temp@c0=val_221_0/c4=val_221_4/c1=val_221_1 +POSTHOOK: Output: default@partition_ctas_complex_order_temp@c0=val_222_0/c4=val_222_4/c1=val_222_1 +POSTHOOK: Output: default@partition_ctas_complex_order_temp@c0=val_223_0/c4=val_223_4/c1=val_223_1 +POSTHOOK: Output: default@partition_ctas_complex_order_temp@c0=val_224_0/c4=val_224_4/c1=val_224_1 +POSTHOOK: Output: default@partition_ctas_complex_order_temp@c0=val_226_0/c4=val_226_4/c1=val_226_1 +POSTHOOK: Output: default@partition_ctas_complex_order_temp@c0=val_228_0/c4=val_228_4/c1=val_228_1 +POSTHOOK: Output: default@partition_ctas_complex_order_temp@c0=val_229_0/c4=val_229_4/c1=val_229_1 +POSTHOOK: Output: default@partition_ctas_complex_order_temp@c0=val_230_0/c4=val_230_4/c1=val_230_1 +POSTHOOK: Output: default@partition_ctas_complex_order_temp@c0=val_233_0/c4=val_233_4/c1=val_233_1 +POSTHOOK: Output: default@partition_ctas_complex_order_temp@c0=val_235_0/c4=val_235_4/c1=val_235_1 +POSTHOOK: Output: default@partition_ctas_complex_order_temp@c0=val_237_0/c4=val_237_4/c1=val_237_1 +POSTHOOK: Output: default@partition_ctas_complex_order_temp@c0=val_238_0/c4=val_238_4/c1=val_238_1 +POSTHOOK: Output: default@partition_ctas_complex_order_temp@c0=val_239_0/c4=val_239_4/c1=val_239_1 +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_201_0,c4=val_201_4,c1=val_201_1).c2 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_201_0,c4=val_201_4,c1=val_201_1).c3 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_201_0,c4=val_201_4,c1=val_201_1).c5 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_202_0,c4=val_202_4,c1=val_202_1).c2 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_202_0,c4=val_202_4,c1=val_202_1).c3 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_202_0,c4=val_202_4,c1=val_202_1).c5 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_203_0,c4=val_203_4,c1=val_203_1).c2 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_203_0,c4=val_203_4,c1=val_203_1).c3 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_203_0,c4=val_203_4,c1=val_203_1).c5 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_205_0,c4=val_205_4,c1=val_205_1).c2 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_205_0,c4=val_205_4,c1=val_205_1).c3 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_205_0,c4=val_205_4,c1=val_205_1).c5 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_207_0,c4=val_207_4,c1=val_207_1).c2 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_207_0,c4=val_207_4,c1=val_207_1).c3 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_207_0,c4=val_207_4,c1=val_207_1).c5 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_208_0,c4=val_208_4,c1=val_208_1).c2 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_208_0,c4=val_208_4,c1=val_208_1).c3 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_208_0,c4=val_208_4,c1=val_208_1).c5 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_209_0,c4=val_209_4,c1=val_209_1).c2 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_209_0,c4=val_209_4,c1=val_209_1).c3 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_209_0,c4=val_209_4,c1=val_209_1).c5 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_213_0,c4=val_213_4,c1=val_213_1).c2 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_213_0,c4=val_213_4,c1=val_213_1).c3 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_213_0,c4=val_213_4,c1=val_213_1).c5 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_214_0,c4=val_214_4,c1=val_214_1).c2 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_214_0,c4=val_214_4,c1=val_214_1).c3 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_214_0,c4=val_214_4,c1=val_214_1).c5 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_216_0,c4=val_216_4,c1=val_216_1).c2 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_216_0,c4=val_216_4,c1=val_216_1).c3 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_216_0,c4=val_216_4,c1=val_216_1).c5 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_217_0,c4=val_217_4,c1=val_217_1).c2 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_217_0,c4=val_217_4,c1=val_217_1).c3 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_217_0,c4=val_217_4,c1=val_217_1).c5 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_218_0,c4=val_218_4,c1=val_218_1).c2 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_218_0,c4=val_218_4,c1=val_218_1).c3 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_218_0,c4=val_218_4,c1=val_218_1).c5 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_219_0,c4=val_219_4,c1=val_219_1).c2 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_219_0,c4=val_219_4,c1=val_219_1).c3 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_219_0,c4=val_219_4,c1=val_219_1).c5 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_221_0,c4=val_221_4,c1=val_221_1).c2 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_221_0,c4=val_221_4,c1=val_221_1).c3 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_221_0,c4=val_221_4,c1=val_221_1).c5 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_222_0,c4=val_222_4,c1=val_222_1).c2 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_222_0,c4=val_222_4,c1=val_222_1).c3 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_222_0,c4=val_222_4,c1=val_222_1).c5 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_223_0,c4=val_223_4,c1=val_223_1).c2 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_223_0,c4=val_223_4,c1=val_223_1).c3 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_223_0,c4=val_223_4,c1=val_223_1).c5 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_224_0,c4=val_224_4,c1=val_224_1).c2 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_224_0,c4=val_224_4,c1=val_224_1).c3 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_224_0,c4=val_224_4,c1=val_224_1).c5 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_226_0,c4=val_226_4,c1=val_226_1).c2 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_226_0,c4=val_226_4,c1=val_226_1).c3 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_226_0,c4=val_226_4,c1=val_226_1).c5 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_228_0,c4=val_228_4,c1=val_228_1).c2 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_228_0,c4=val_228_4,c1=val_228_1).c3 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_228_0,c4=val_228_4,c1=val_228_1).c5 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_229_0,c4=val_229_4,c1=val_229_1).c2 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_229_0,c4=val_229_4,c1=val_229_1).c3 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_229_0,c4=val_229_4,c1=val_229_1).c5 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_230_0,c4=val_230_4,c1=val_230_1).c2 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_230_0,c4=val_230_4,c1=val_230_1).c3 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_230_0,c4=val_230_4,c1=val_230_1).c5 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_233_0,c4=val_233_4,c1=val_233_1).c2 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_233_0,c4=val_233_4,c1=val_233_1).c3 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_233_0,c4=val_233_4,c1=val_233_1).c5 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_235_0,c4=val_235_4,c1=val_235_1).c2 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_235_0,c4=val_235_4,c1=val_235_1).c3 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_235_0,c4=val_235_4,c1=val_235_1).c5 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_237_0,c4=val_237_4,c1=val_237_1).c2 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_237_0,c4=val_237_4,c1=val_237_1).c3 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_237_0,c4=val_237_4,c1=val_237_1).c5 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_238_0,c4=val_238_4,c1=val_238_1).c2 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_238_0,c4=val_238_4,c1=val_238_1).c3 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_238_0,c4=val_238_4,c1=val_238_1).c5 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_239_0,c4=val_239_4,c1=val_239_1).c2 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_239_0,c4=val_239_4,c1=val_239_1).c3 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +POSTHOOK: Lineage: partition_ctas_complex_order_temp PARTITION(c0=val_239_0,c4=val_239_4,c1=val_239_1).c5 EXPRESSION [(src)src.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: EXPLAIN +SELECT * FROM partition_ctas_complex_order_temp where c0 = 'val_238_0' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_ctas_complex_order_temp +PREHOOK: Input: default@partition_ctas_complex_order_temp@c0=val_238_0/c4=val_238_4/c1=val_238_1 +#### A masked pattern was here #### +POSTHOOK: query: EXPLAIN +SELECT * FROM partition_ctas_complex_order_temp where c0 = 'val_238_0' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_ctas_complex_order_temp +POSTHOOK: Input: default@partition_ctas_complex_order_temp@c0=val_238_0/c4=val_238_4/c1=val_238_1 +#### A masked pattern was here #### +STAGE DEPENDENCIES: + Stage-0 is a root stage + +STAGE PLANS: + Stage: Stage-0 + Fetch Operator + limit: -1 + Processor Tree: + TableScan + alias: partition_ctas_complex_order_temp + filterExpr: (c0 = 'val_238_0') (type: boolean) + Statistics: Num rows: 2 Data size: 1840 Basic stats: COMPLETE Column stats: PARTIAL + Select Operator + expressions: c2 (type: string), c3 (type: string), c5 (type: string), 'val_238_0' (type: string), c4 (type: string), c1 (type: string) + outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5 + Statistics: Num rows: 2 Data size: 2026 Basic stats: COMPLETE Column stats: PARTIAL + ListSink + +PREHOOK: query: SELECT * FROM partition_ctas_complex_order_temp where c0 = 'val_238_0' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_ctas_complex_order_temp +PREHOOK: Input: default@partition_ctas_complex_order_temp@c0=val_238_0/c4=val_238_4/c1=val_238_1 +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM partition_ctas_complex_order_temp where c0 = 'val_238_0' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_ctas_complex_order_temp +POSTHOOK: Input: default@partition_ctas_complex_order_temp@c0=val_238_0/c4=val_238_4/c1=val_238_1 +#### A masked pattern was here #### +val_238_2 val_238_3 val_238_5 val_238_0 val_238_4 val_238_1 +val_238_2 val_238_3 val_238_5 val_238_0 val_238_4 val_238_1 diff --git a/ql/src/test/results/clientpositive/temp_table_partition_date.q.out b/ql/src/test/results/clientpositive/temp_table_partition_date.q.out new file mode 100644 index 0000000000..ff07eb76f2 --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_partition_date.q.out @@ -0,0 +1,379 @@ +PREHOOK: query: drop table partition_date_1_temp +PREHOOK: type: DROPTABLE +POSTHOOK: query: drop table partition_date_1_temp +POSTHOOK: type: DROPTABLE +PREHOOK: query: create temporary table partition_date_1_temp (key string, value string) partitioned by (dt date, region string) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@partition_date_1_temp +POSTHOOK: query: create temporary table partition_date_1_temp (key string, value string) partitioned by (dt date, region string) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@partition_date_1_temp +PREHOOK: query: insert overwrite table partition_date_1_temp partition(dt='2000-01-01', region= '1') + select * from src tablesample (10 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@src +PREHOOK: Output: default@partition_date_1_temp@dt=2000-01-01/region=1 +POSTHOOK: query: insert overwrite table partition_date_1_temp partition(dt='2000-01-01', region= '1') + select * from src tablesample (10 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src +POSTHOOK: Output: default@partition_date_1_temp@dt=2000-01-01/region=1 +POSTHOOK: Lineage: partition_date_1_temp PARTITION(dt=2000-01-01,region=1).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_date_1_temp PARTITION(dt=2000-01-01,region=1).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: insert overwrite table partition_date_1_temp partition(dt='2000-01-01', region= '2') + select * from src tablesample (5 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@src +PREHOOK: Output: default@partition_date_1_temp@dt=2000-01-01/region=2 +POSTHOOK: query: insert overwrite table partition_date_1_temp partition(dt='2000-01-01', region= '2') + select * from src tablesample (5 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src +POSTHOOK: Output: default@partition_date_1_temp@dt=2000-01-01/region=2 +POSTHOOK: Lineage: partition_date_1_temp PARTITION(dt=2000-01-01,region=2).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_date_1_temp PARTITION(dt=2000-01-01,region=2).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: insert overwrite table partition_date_1_temp partition(dt='2013-12-10', region= '2020-20-20') + select * from src tablesample (5 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@src +PREHOOK: Output: default@partition_date_1_temp@dt=2013-12-10/region=2020-20-20 +POSTHOOK: query: insert overwrite table partition_date_1_temp partition(dt='2013-12-10', region= '2020-20-20') + select * from src tablesample (5 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src +POSTHOOK: Output: default@partition_date_1_temp@dt=2013-12-10/region=2020-20-20 +POSTHOOK: Lineage: partition_date_1_temp PARTITION(dt=2013-12-10,region=2020-20-20).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_date_1_temp PARTITION(dt=2013-12-10,region=2020-20-20).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: insert overwrite table partition_date_1_temp partition(dt='2013-08-08', region= '1') + select * from src tablesample (20 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@src +PREHOOK: Output: default@partition_date_1_temp@dt=2013-08-08/region=1 +POSTHOOK: query: insert overwrite table partition_date_1_temp partition(dt='2013-08-08', region= '1') + select * from src tablesample (20 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src +POSTHOOK: Output: default@partition_date_1_temp@dt=2013-08-08/region=1 +POSTHOOK: Lineage: partition_date_1_temp PARTITION(dt=2013-08-08,region=1).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_date_1_temp PARTITION(dt=2013-08-08,region=1).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: insert overwrite table partition_date_1_temp partition(dt='2013-08-08', region= '10') + select * from src tablesample (11 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@src +PREHOOK: Output: default@partition_date_1_temp@dt=2013-08-08/region=10 +POSTHOOK: query: insert overwrite table partition_date_1_temp partition(dt='2013-08-08', region= '10') + select * from src tablesample (11 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src +POSTHOOK: Output: default@partition_date_1_temp@dt=2013-08-08/region=10 +POSTHOOK: Lineage: partition_date_1_temp PARTITION(dt=2013-08-08,region=10).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_date_1_temp PARTITION(dt=2013-08-08,region=10).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: select distinct dt from partition_date_1_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_date_1_temp +PREHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=1 +PREHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=2 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=1 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=10 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-12-10/region=2020-20-20 +#### A masked pattern was here #### +POSTHOOK: query: select distinct dt from partition_date_1_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_date_1_temp +POSTHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=1 +POSTHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=2 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=1 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=10 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-12-10/region=2020-20-20 +#### A masked pattern was here #### +2000-01-01 +2013-08-08 +2013-12-10 +PREHOOK: query: select * from partition_date_1_temp where dt = '2000-01-01' and region = '2' order by key,value +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_date_1_temp +PREHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=1 +PREHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=2 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=1 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=10 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-12-10/region=2020-20-20 +#### A masked pattern was here #### +POSTHOOK: query: select * from partition_date_1_temp where dt = '2000-01-01' and region = '2' order by key,value +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_date_1_temp +POSTHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=1 +POSTHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=2 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=1 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=10 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-12-10/region=2020-20-20 +#### A masked pattern was here #### +165 val_165 2000-01-01 2 +238 val_238 2000-01-01 2 +27 val_27 2000-01-01 2 +311 val_311 2000-01-01 2 +86 val_86 2000-01-01 2 +PREHOOK: query: select count(*) from partition_date_1_temp where dt = date '2000-01-01' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_date_1_temp +PREHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=1 +PREHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=2 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=1 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=10 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-12-10/region=2020-20-20 +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from partition_date_1_temp where dt = date '2000-01-01' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_date_1_temp +POSTHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=1 +POSTHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=2 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=1 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=10 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-12-10/region=2020-20-20 +#### A masked pattern was here #### +15 +PREHOOK: query: select count(*) from partition_date_1_temp where dt = '2000-01-01' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_date_1_temp +PREHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=1 +PREHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=2 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=1 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=10 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-12-10/region=2020-20-20 +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from partition_date_1_temp where dt = '2000-01-01' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_date_1_temp +POSTHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=1 +POSTHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=2 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=1 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=10 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-12-10/region=2020-20-20 +#### A masked pattern was here #### +15 +PREHOOK: query: select count(*) from partition_date_1_temp where dt = date '2000-01-01' and region = '2' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_date_1_temp +PREHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=1 +PREHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=2 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=1 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=10 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-12-10/region=2020-20-20 +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from partition_date_1_temp where dt = date '2000-01-01' and region = '2' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_date_1_temp +POSTHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=1 +POSTHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=2 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=1 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=10 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-12-10/region=2020-20-20 +#### A masked pattern was here #### +5 +PREHOOK: query: select count(*) from partition_date_1_temp where dt = date '2013-08-08' and region = '10' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_date_1_temp +PREHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=1 +PREHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=2 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=1 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=10 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-12-10/region=2020-20-20 +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from partition_date_1_temp where dt = date '2013-08-08' and region = '10' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_date_1_temp +POSTHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=1 +POSTHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=2 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=1 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=10 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-12-10/region=2020-20-20 +#### A masked pattern was here #### +11 +PREHOOK: query: select count(*) from partition_date_1_temp where region = '1' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_date_1_temp +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from partition_date_1_temp where region = '1' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_date_1_temp +#### A masked pattern was here #### +30 +PREHOOK: query: select count(*) from partition_date_1_temp where dt = date '2000-01-01' and region = '3' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_date_1_temp +PREHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=1 +PREHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=2 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=1 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=10 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-12-10/region=2020-20-20 +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from partition_date_1_temp where dt = date '2000-01-01' and region = '3' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_date_1_temp +POSTHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=1 +POSTHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=2 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=1 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=10 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-12-10/region=2020-20-20 +#### A masked pattern was here #### +0 +PREHOOK: query: select count(*) from partition_date_1_temp where dt = date '1999-01-01' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_date_1_temp +PREHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=1 +PREHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=2 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=1 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=10 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-12-10/region=2020-20-20 +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from partition_date_1_temp where dt = date '1999-01-01' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_date_1_temp +POSTHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=1 +POSTHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=2 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=1 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=10 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-12-10/region=2020-20-20 +#### A masked pattern was here #### +0 +PREHOOK: query: select count(*) from partition_date_1_temp where dt > date '2000-01-01' and region = '1' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_date_1_temp +PREHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=1 +PREHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=2 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=1 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=10 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-12-10/region=2020-20-20 +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from partition_date_1_temp where dt > date '2000-01-01' and region = '1' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_date_1_temp +POSTHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=1 +POSTHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=2 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=1 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=10 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-12-10/region=2020-20-20 +#### A masked pattern was here #### +20 +PREHOOK: query: select count(*) from partition_date_1_temp where dt < date '2000-01-02' and region = '1' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_date_1_temp +PREHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=1 +PREHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=2 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=1 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=10 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-12-10/region=2020-20-20 +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from partition_date_1_temp where dt < date '2000-01-02' and region = '1' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_date_1_temp +POSTHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=1 +POSTHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=2 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=1 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=10 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-12-10/region=2020-20-20 +#### A masked pattern was here #### +10 +PREHOOK: query: select count(*) from partition_date_1_temp where dt >= date '2000-01-02' and region = '1' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_date_1_temp +PREHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=1 +PREHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=2 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=1 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=10 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-12-10/region=2020-20-20 +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from partition_date_1_temp where dt >= date '2000-01-02' and region = '1' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_date_1_temp +POSTHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=1 +POSTHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=2 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=1 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=10 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-12-10/region=2020-20-20 +#### A masked pattern was here #### +20 +PREHOOK: query: select count(*) from partition_date_1_temp where dt <= date '2000-01-01' and region = '1' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_date_1_temp +PREHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=1 +PREHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=2 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=1 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=10 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-12-10/region=2020-20-20 +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from partition_date_1_temp where dt <= date '2000-01-01' and region = '1' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_date_1_temp +POSTHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=1 +POSTHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=2 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=1 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=10 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-12-10/region=2020-20-20 +#### A masked pattern was here #### +10 +PREHOOK: query: select count(*) from partition_date_1_temp where dt <> date '2000-01-01' and region = '1' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_date_1_temp +PREHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=1 +PREHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=2 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=1 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=10 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-12-10/region=2020-20-20 +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from partition_date_1_temp where dt <> date '2000-01-01' and region = '1' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_date_1_temp +POSTHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=1 +POSTHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=2 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=1 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=10 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-12-10/region=2020-20-20 +#### A masked pattern was here #### +20 +PREHOOK: query: select count(*) from partition_date_1_temp where dt between date '1999-12-30' and date '2000-01-03' and region = '1' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_date_1_temp +PREHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=1 +PREHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=2 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=1 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=10 +PREHOOK: Input: default@partition_date_1_temp@dt=2013-12-10/region=2020-20-20 +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from partition_date_1_temp where dt between date '1999-12-30' and date '2000-01-03' and region = '1' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_date_1_temp +POSTHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=1 +POSTHOOK: Input: default@partition_date_1_temp@dt=2000-01-01/region=2 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=1 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-08-08/region=10 +POSTHOOK: Input: default@partition_date_1_temp@dt=2013-12-10/region=2020-20-20 +#### A masked pattern was here #### +10 +PREHOOK: query: select count(*) from partition_date_1_temp where region = '2020-20-20' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_date_1_temp +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from partition_date_1_temp where region = '2020-20-20' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_date_1_temp +#### A masked pattern was here #### +5 +PREHOOK: query: select count(*) from partition_date_1_temp where region > '2010-01-01' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_date_1_temp +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from partition_date_1_temp where region > '2010-01-01' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_date_1_temp +#### A masked pattern was here #### +5 +PREHOOK: query: drop table partition_date_1_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@partition_date_1_temp +PREHOOK: Output: default@partition_date_1_temp +POSTHOOK: query: drop table partition_date_1_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@partition_date_1_temp +POSTHOOK: Output: default@partition_date_1_temp diff --git a/ql/src/test/results/clientpositive/temp_table_partition_decode_name.q.out b/ql/src/test/results/clientpositive/temp_table_partition_decode_name.q.out new file mode 100644 index 0000000000..7310182998 --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_partition_decode_name.q.out @@ -0,0 +1,90 @@ +PREHOOK: query: create temporary table sc_n0_temp as select * + from (select '2011-01-11', '2011-01-11+14:18:26' from src tablesample (1 rows) + union all + select '2011-01-11', '2011-01-11+15:18:26' from src tablesample (1 rows) + union all + select '2011-01-11', '2011-01-11+16:18:26' from src tablesample (1 rows) ) s +PREHOOK: type: CREATETABLE_AS_SELECT +PREHOOK: Input: default@src +PREHOOK: Output: database:default +PREHOOK: Output: default@sc_n0_temp +POSTHOOK: query: create temporary table sc_n0_temp as select * + from (select '2011-01-11', '2011-01-11+14:18:26' from src tablesample (1 rows) + union all + select '2011-01-11', '2011-01-11+15:18:26' from src tablesample (1 rows) + union all + select '2011-01-11', '2011-01-11+16:18:26' from src tablesample (1 rows) ) s +POSTHOOK: type: CREATETABLE_AS_SELECT +POSTHOOK: Input: default@src +POSTHOOK: Output: database:default +POSTHOOK: Output: default@sc_n0_temp +PREHOOK: query: create table sc_part_n0_temp (key string) partitioned by (ts string) stored as rcfile +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@sc_part_n0_temp +POSTHOOK: query: create table sc_part_n0_temp (key string) partitioned by (ts string) stored as rcfile +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@sc_part_n0_temp +PREHOOK: query: insert overwrite table sc_part_n0_temp partition(ts) select * from sc_n0_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@sc_n0_temp +PREHOOK: Output: default@sc_part_n0_temp +POSTHOOK: query: insert overwrite table sc_part_n0_temp partition(ts) select * from sc_n0_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@sc_n0_temp +POSTHOOK: Output: default@sc_part_n0_temp@ts=2011-01-11+14%3A18%3A26 +POSTHOOK: Output: default@sc_part_n0_temp@ts=2011-01-11+15%3A18%3A26 +POSTHOOK: Output: default@sc_part_n0_temp@ts=2011-01-11+16%3A18%3A26 +POSTHOOK: Lineage: sc_part_n0_temp PARTITION(ts=2011-01-11+14:18:26).key SIMPLE [(sc_n0_temp)sc_n0_temp.FieldSchema(name:_c0, type:string, comment:null), ] +POSTHOOK: Lineage: sc_part_n0_temp PARTITION(ts=2011-01-11+15:18:26).key SIMPLE [(sc_n0_temp)sc_n0_temp.FieldSchema(name:_c0, type:string, comment:null), ] +POSTHOOK: Lineage: sc_part_n0_temp PARTITION(ts=2011-01-11+16:18:26).key SIMPLE [(sc_n0_temp)sc_n0_temp.FieldSchema(name:_c0, type:string, comment:null), ] +PREHOOK: query: show partitions sc_part_n0_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@sc_part_n0_temp +POSTHOOK: query: show partitions sc_part_n0_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@sc_part_n0_temp +ts=2011-01-11+14%3A18%3A26 +ts=2011-01-11+15%3A18%3A26 +ts=2011-01-11+16%3A18%3A26 +PREHOOK: query: select count(*) from sc_part_n0_temp where ts is not null +PREHOOK: type: QUERY +PREHOOK: Input: default@sc_part_n0_temp +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from sc_part_n0_temp where ts is not null +POSTHOOK: type: QUERY +POSTHOOK: Input: default@sc_part_n0_temp +#### A masked pattern was here #### +3 +PREHOOK: query: insert overwrite table sc_part_n0_temp partition(ts) select * from sc_n0_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@sc_n0_temp +PREHOOK: Output: default@sc_part_n0_temp +POSTHOOK: query: insert overwrite table sc_part_n0_temp partition(ts) select * from sc_n0_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@sc_n0_temp +POSTHOOK: Output: default@sc_part_n0_temp@ts=2011-01-11+14%3A18%3A26 +POSTHOOK: Output: default@sc_part_n0_temp@ts=2011-01-11+15%3A18%3A26 +POSTHOOK: Output: default@sc_part_n0_temp@ts=2011-01-11+16%3A18%3A26 +POSTHOOK: Lineage: sc_part_n0_temp PARTITION(ts=2011-01-11+14:18:26).key SIMPLE [(sc_n0_temp)sc_n0_temp.FieldSchema(name:_c0, type:string, comment:null), ] +POSTHOOK: Lineage: sc_part_n0_temp PARTITION(ts=2011-01-11+15:18:26).key SIMPLE [(sc_n0_temp)sc_n0_temp.FieldSchema(name:_c0, type:string, comment:null), ] +POSTHOOK: Lineage: sc_part_n0_temp PARTITION(ts=2011-01-11+16:18:26).key SIMPLE [(sc_n0_temp)sc_n0_temp.FieldSchema(name:_c0, type:string, comment:null), ] +PREHOOK: query: show partitions sc_part_n0_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@sc_part_n0_temp +POSTHOOK: query: show partitions sc_part_n0_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@sc_part_n0_temp +ts=2011-01-11+14:18:26 +ts=2011-01-11+15:18:26 +ts=2011-01-11+16:18:26 +PREHOOK: query: select count(*) from sc_part_n0_temp where ts is not null +PREHOOK: type: QUERY +PREHOOK: Input: default@sc_part_n0_temp +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from sc_part_n0_temp where ts is not null +POSTHOOK: type: QUERY +POSTHOOK: Input: default@sc_part_n0_temp +#### A masked pattern was here #### +3 diff --git a/ql/src/test/results/clientpositive/temp_table_partition_multilevels.q.out b/ql/src/test/results/clientpositive/temp_table_partition_multilevels.q.out new file mode 100644 index 0000000000..7d15a2ed2d --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_partition_multilevels.q.out @@ -0,0 +1,1638 @@ +PREHOOK: query: create temporary table partition_test_multilevel_temp (key string, value string) partitioned by (level1 string, level2 string, level3 string) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@partition_test_multilevel_temp +POSTHOOK: query: create temporary table partition_test_multilevel_temp (key string, value string) partitioned by (level1 string, level2 string, level3 string) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@partition_test_multilevel_temp +PREHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='111', level3='11') select key, value from srcpart tablesample (11 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +PREHOOK: Output: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=11 +POSTHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='111', level3='11') select key, value from srcpart tablesample (11 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +POSTHOOK: Output: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=11 +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=1111,level2=111,level3=11).key SIMPLE [(srcpart)srcpart.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=1111,level2=111,level3=11).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='111', level3='22') select key, value from srcpart tablesample (12 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +PREHOOK: Output: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=22 +POSTHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='111', level3='22') select key, value from srcpart tablesample (12 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +POSTHOOK: Output: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=22 +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=1111,level2=111,level3=22).key SIMPLE [(srcpart)srcpart.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=1111,level2=111,level3=22).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='111', level3='33') select key, value from srcpart tablesample (13 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +PREHOOK: Output: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=33 +POSTHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='111', level3='33') select key, value from srcpart tablesample (13 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +POSTHOOK: Output: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=33 +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=1111,level2=111,level3=33).key SIMPLE [(srcpart)srcpart.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=1111,level2=111,level3=33).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='111', level3='44') select key, value from srcpart tablesample (14 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +PREHOOK: Output: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=44 +POSTHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='111', level3='44') select key, value from srcpart tablesample (14 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +POSTHOOK: Output: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=44 +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=1111,level2=111,level3=44).key SIMPLE [(srcpart)srcpart.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=1111,level2=111,level3=44).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='222', level3='11') select key, value from srcpart tablesample (15 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +PREHOOK: Output: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=11 +POSTHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='222', level3='11') select key, value from srcpart tablesample (15 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +POSTHOOK: Output: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=11 +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=1111,level2=222,level3=11).key SIMPLE [(srcpart)srcpart.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=1111,level2=222,level3=11).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='222', level3='22') select key, value from srcpart tablesample (16 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +PREHOOK: Output: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=22 +POSTHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='222', level3='22') select key, value from srcpart tablesample (16 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +POSTHOOK: Output: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=22 +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=1111,level2=222,level3=22).key SIMPLE [(srcpart)srcpart.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=1111,level2=222,level3=22).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='222', level3='33') select key, value from srcpart tablesample (17 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +PREHOOK: Output: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=33 +POSTHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='222', level3='33') select key, value from srcpart tablesample (17 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +POSTHOOK: Output: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=33 +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=1111,level2=222,level3=33).key SIMPLE [(srcpart)srcpart.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=1111,level2=222,level3=33).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='222', level3='44') select key, value from srcpart tablesample (18 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +PREHOOK: Output: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=44 +POSTHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='222', level3='44') select key, value from srcpart tablesample (18 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +POSTHOOK: Output: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=44 +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=1111,level2=222,level3=44).key SIMPLE [(srcpart)srcpart.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=1111,level2=222,level3=44).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='333', level3='11') select key, value from srcpart tablesample (19 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +PREHOOK: Output: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=11 +POSTHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='333', level3='11') select key, value from srcpart tablesample (19 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +POSTHOOK: Output: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=11 +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=1111,level2=333,level3=11).key SIMPLE [(srcpart)srcpart.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=1111,level2=333,level3=11).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='333', level3='22') select key, value from srcpart tablesample (20 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +PREHOOK: Output: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=22 +POSTHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='333', level3='22') select key, value from srcpart tablesample (20 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +POSTHOOK: Output: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=22 +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=1111,level2=333,level3=22).key SIMPLE [(srcpart)srcpart.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=1111,level2=333,level3=22).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='333', level3='33') select key, value from srcpart tablesample (21 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +PREHOOK: Output: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=33 +POSTHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='333', level3='33') select key, value from srcpart tablesample (21 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +POSTHOOK: Output: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=33 +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=1111,level2=333,level3=33).key SIMPLE [(srcpart)srcpart.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=1111,level2=333,level3=33).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='333', level3='44') select key, value from srcpart tablesample (22 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +PREHOOK: Output: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=44 +POSTHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='1111', level2='333', level3='44') select key, value from srcpart tablesample (22 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +POSTHOOK: Output: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=44 +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=1111,level2=333,level3=44).key SIMPLE [(srcpart)srcpart.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=1111,level2=333,level3=44).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='111', level3='11') select key, value from srcpart tablesample (11 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +PREHOOK: Output: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=11 +POSTHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='111', level3='11') select key, value from srcpart tablesample (11 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +POSTHOOK: Output: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=11 +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=2222,level2=111,level3=11).key SIMPLE [(srcpart)srcpart.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=2222,level2=111,level3=11).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='111', level3='22') select key, value from srcpart tablesample (12 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +PREHOOK: Output: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=22 +POSTHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='111', level3='22') select key, value from srcpart tablesample (12 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +POSTHOOK: Output: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=22 +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=2222,level2=111,level3=22).key SIMPLE [(srcpart)srcpart.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=2222,level2=111,level3=22).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='111', level3='33') select key, value from srcpart tablesample (13 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +PREHOOK: Output: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=33 +POSTHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='111', level3='33') select key, value from srcpart tablesample (13 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +POSTHOOK: Output: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=33 +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=2222,level2=111,level3=33).key SIMPLE [(srcpart)srcpart.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=2222,level2=111,level3=33).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='111', level3='44') select key, value from srcpart tablesample (14 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +PREHOOK: Output: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=44 +POSTHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='111', level3='44') select key, value from srcpart tablesample (14 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +POSTHOOK: Output: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=44 +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=2222,level2=111,level3=44).key SIMPLE [(srcpart)srcpart.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=2222,level2=111,level3=44).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='222', level3='11') select key, value from srcpart tablesample (15 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +PREHOOK: Output: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +POSTHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='222', level3='11') select key, value from srcpart tablesample (15 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +POSTHOOK: Output: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=2222,level2=222,level3=11).key SIMPLE [(srcpart)srcpart.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=2222,level2=222,level3=11).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='222', level3='22') select key, value from srcpart tablesample (16 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +PREHOOK: Output: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +POSTHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='222', level3='22') select key, value from srcpart tablesample (16 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +POSTHOOK: Output: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=2222,level2=222,level3=22).key SIMPLE [(srcpart)srcpart.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=2222,level2=222,level3=22).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='222', level3='33') select key, value from srcpart tablesample (17 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +PREHOOK: Output: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +POSTHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='222', level3='33') select key, value from srcpart tablesample (17 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +POSTHOOK: Output: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=2222,level2=222,level3=33).key SIMPLE [(srcpart)srcpart.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=2222,level2=222,level3=33).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='222', level3='44') select key, value from srcpart tablesample (18 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +PREHOOK: Output: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=44 +POSTHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='222', level3='44') select key, value from srcpart tablesample (18 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +POSTHOOK: Output: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=44 +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=2222,level2=222,level3=44).key SIMPLE [(srcpart)srcpart.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=2222,level2=222,level3=44).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='333', level3='11') select key, value from srcpart tablesample (19 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +PREHOOK: Output: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=11 +POSTHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='333', level3='11') select key, value from srcpart tablesample (19 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +POSTHOOK: Output: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=11 +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=2222,level2=333,level3=11).key SIMPLE [(srcpart)srcpart.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=2222,level2=333,level3=11).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='333', level3='22') select key, value from srcpart tablesample (20 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +PREHOOK: Output: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +POSTHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='333', level3='22') select key, value from srcpart tablesample (20 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +POSTHOOK: Output: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=2222,level2=333,level3=22).key SIMPLE [(srcpart)srcpart.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=2222,level2=333,level3=22).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='333', level3='33') select key, value from srcpart tablesample (21 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +PREHOOK: Output: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +POSTHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='333', level3='33') select key, value from srcpart tablesample (21 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +POSTHOOK: Output: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=2222,level2=333,level3=33).key SIMPLE [(srcpart)srcpart.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=2222,level2=333,level3=33).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='333', level3='44') select key, value from srcpart tablesample (22 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@srcpart +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +PREHOOK: Output: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=44 +POSTHOOK: query: insert overwrite table partition_test_multilevel_temp partition(level1='2222', level2='333', level3='44') select key, value from srcpart tablesample (22 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@srcpart +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11 +POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=12 +POSTHOOK: Output: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=44 +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=2222,level2=333,level3=44).key SIMPLE [(srcpart)srcpart.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_test_multilevel_temp PARTITION(level1=2222,level2=333,level3=44).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level1 = '2222' group by level1, level2, level3 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_multilevel_temp +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=44 +#### A masked pattern was here #### +POSTHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level1 = '2222' group by level1, level2, level3 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_multilevel_temp +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=44 +#### A masked pattern was here #### +2222 111 11 11 +2222 111 22 12 +2222 111 33 13 +2222 111 44 14 +2222 222 11 15 +2222 222 22 16 +2222 222 33 17 +2222 222 44 18 +2222 333 11 19 +2222 333 22 20 +2222 333 33 21 +2222 333 44 22 +PREHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level1 >= '2222' group by level1, level2, level3 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_multilevel_temp +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=44 +#### A masked pattern was here #### +POSTHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level1 >= '2222' group by level1, level2, level3 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_multilevel_temp +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=44 +#### A masked pattern was here #### +2222 111 11 11 +2222 111 22 12 +2222 111 33 13 +2222 111 44 14 +2222 222 11 15 +2222 222 22 16 +2222 222 33 17 +2222 222 44 18 +2222 333 11 19 +2222 333 22 20 +2222 333 33 21 +2222 333 44 22 +PREHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level1 !='2222' group by level1, level2, level3 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_multilevel_temp +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=44 +#### A masked pattern was here #### +POSTHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level1 !='2222' group by level1, level2, level3 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_multilevel_temp +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=44 +#### A masked pattern was here #### +1111 111 11 11 +1111 111 22 12 +1111 111 33 13 +1111 111 44 14 +1111 222 11 15 +1111 222 22 16 +1111 222 33 17 +1111 222 44 18 +1111 333 11 19 +1111 333 22 20 +1111 333 33 21 +1111 333 44 22 +PREHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level2 = '222' group by level1, level2, level3 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_multilevel_temp +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=44 +#### A masked pattern was here #### +POSTHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level2 = '222' group by level1, level2, level3 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_multilevel_temp +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=44 +#### A masked pattern was here #### +1111 222 11 15 +1111 222 22 16 +1111 222 33 17 +1111 222 44 18 +2222 222 11 15 +2222 222 22 16 +2222 222 33 17 +2222 222 44 18 +PREHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level2 <= '222' group by level1, level2, level3 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_multilevel_temp +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=44 +#### A masked pattern was here #### +POSTHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level2 <= '222' group by level1, level2, level3 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_multilevel_temp +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=44 +#### A masked pattern was here #### +1111 111 11 11 +1111 111 22 12 +1111 111 33 13 +1111 111 44 14 +1111 222 11 15 +1111 222 22 16 +1111 222 33 17 +1111 222 44 18 +2222 111 11 11 +2222 111 22 12 +2222 111 33 13 +2222 111 44 14 +2222 222 11 15 +2222 222 22 16 +2222 222 33 17 +2222 222 44 18 +PREHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level2 != '222' group by level1, level2, level3 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_multilevel_temp +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=44 +#### A masked pattern was here #### +POSTHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level2 != '222' group by level1, level2, level3 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_multilevel_temp +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=44 +#### A masked pattern was here #### +1111 111 11 11 +1111 111 22 12 +1111 111 33 13 +1111 111 44 14 +1111 333 11 19 +1111 333 22 20 +1111 333 33 21 +1111 333 44 22 +2222 111 11 11 +2222 111 22 12 +2222 111 33 13 +2222 111 44 14 +2222 333 11 19 +2222 333 22 20 +2222 333 33 21 +2222 333 44 22 +PREHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level3 = '22' group by level1, level2, level3 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_multilevel_temp +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +#### A masked pattern was here #### +POSTHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level3 = '22' group by level1, level2, level3 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_multilevel_temp +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +#### A masked pattern was here #### +1111 111 22 12 +1111 222 22 16 +1111 333 22 20 +2222 111 22 12 +2222 222 22 16 +2222 333 22 20 +PREHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level3 >= '22' group by level1, level2, level3 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_multilevel_temp +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=44 +#### A masked pattern was here #### +POSTHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level3 >= '22' group by level1, level2, level3 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_multilevel_temp +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=44 +#### A masked pattern was here #### +1111 111 22 12 +1111 111 33 13 +1111 111 44 14 +1111 222 22 16 +1111 222 33 17 +1111 222 44 18 +1111 333 22 20 +1111 333 33 21 +1111 333 44 22 +2222 111 22 12 +2222 111 33 13 +2222 111 44 14 +2222 222 22 16 +2222 222 33 17 +2222 222 44 18 +2222 333 22 20 +2222 333 33 21 +2222 333 44 22 +PREHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level3 != '22' group by level1, level2, level3 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_multilevel_temp +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=44 +#### A masked pattern was here #### +POSTHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level3 != '22' group by level1, level2, level3 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_multilevel_temp +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=44 +#### A masked pattern was here #### +1111 111 11 11 +1111 111 33 13 +1111 111 44 14 +1111 222 11 15 +1111 222 33 17 +1111 222 44 18 +1111 333 11 19 +1111 333 33 21 +1111 333 44 22 +2222 111 11 11 +2222 111 33 13 +2222 111 44 14 +2222 222 11 15 +2222 222 33 17 +2222 222 44 18 +2222 333 11 19 +2222 333 33 21 +2222 333 44 22 +PREHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level2 >= '222' and level3 = '33' group by level1, level2, level3 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_multilevel_temp +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +#### A masked pattern was here #### +POSTHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level2 >= '222' and level3 = '33' group by level1, level2, level3 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_multilevel_temp +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +#### A masked pattern was here #### +1111 222 33 17 +1111 333 33 21 +2222 222 33 17 +2222 333 33 21 +PREHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level1 <= '1111' and level3 >= '33' group by level1, level2, level3 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_multilevel_temp +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=44 +#### A masked pattern was here #### +POSTHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level1 <= '1111' and level3 >= '33' group by level1, level2, level3 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_multilevel_temp +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=44 +#### A masked pattern was here #### +1111 111 33 13 +1111 111 44 14 +1111 222 33 17 +1111 222 44 18 +1111 333 33 21 +1111 333 44 22 +PREHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level1 = '2222' and level2 >= '222' and level3 <= '33' group by level1, level2, level3 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_multilevel_temp +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +#### A masked pattern was here #### +POSTHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level1 = '2222' and level2 >= '222' and level3 <= '33' group by level1, level2, level3 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_multilevel_temp +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +#### A masked pattern was here #### +2222 222 11 15 +2222 222 22 16 +2222 222 33 17 +2222 333 11 19 +2222 333 22 20 +2222 333 33 21 +PREHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where (level1 = '2222') and (level2 between '222' and '333') and (level3 between '11' and '33') group by level1, level2, level3 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_multilevel_temp +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +#### A masked pattern was here #### +POSTHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where (level1 = '2222') and (level2 between '222' and '333') and (level3 between '11' and '33') group by level1, level2, level3 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_multilevel_temp +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +#### A masked pattern was here #### +2222 222 11 15 +2222 222 22 16 +2222 222 33 17 +2222 333 11 19 +2222 333 22 20 +2222 333 33 21 +PREHOOK: query: explain select level1, level2, level3, count(*) from partition_test_multilevel_temp where (level1 = '2222') and (level2 between '222' and '333') and (level3 between '11' and '33') group by level1, level2, level3 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_multilevel_temp +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +#### A masked pattern was here #### +POSTHOOK: query: explain select level1, level2, level3, count(*) from partition_test_multilevel_temp where (level1 = '2222') and (level2 between '222' and '333') and (level3 between '11' and '33') group by level1, level2, level3 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_multilevel_temp +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +#### A masked pattern was here #### +STAGE DEPENDENCIES: + Stage-1 is a root stage + Stage-0 depends on stages: Stage-1 + +STAGE PLANS: + Stage: Stage-1 + Map Reduce + Map Operator Tree: + TableScan + alias: partition_test_multilevel_temp + filterExpr: ((level1 = '2222') and level2 BETWEEN '222' AND '333' and level3 BETWEEN '11' AND '33') (type: boolean) + Statistics: Num rows: 108 Data size: 40890 Basic stats: COMPLETE Column stats: COMPLETE + Select Operator + expressions: level2 (type: string), level3 (type: string) + outputColumnNames: level2, level3 + Statistics: Num rows: 108 Data size: 40890 Basic stats: COMPLETE Column stats: COMPLETE + Group By Operator + aggregations: count() + keys: level2 (type: string), level3 (type: string) + minReductionHashAggr: 0.99 + mode: hash + outputColumnNames: _col0, _col1, _col2 + Statistics: Num rows: 6 Data size: 2256 Basic stats: COMPLETE Column stats: COMPLETE + Reduce Output Operator + key expressions: _col0 (type: string), _col1 (type: string) + sort order: ++ + Map-reduce partition columns: _col0 (type: string), _col1 (type: string) + Statistics: Num rows: 6 Data size: 2256 Basic stats: COMPLETE Column stats: COMPLETE + value expressions: _col2 (type: bigint) + Execution mode: vectorized + Reduce Operator Tree: + Group By Operator + aggregations: count(VALUE._col0) + keys: KEY._col0 (type: string), KEY._col1 (type: string) + mode: mergepartial + outputColumnNames: _col0, _col1, _col2 + Statistics: Num rows: 6 Data size: 2256 Basic stats: COMPLETE Column stats: COMPLETE + Select Operator + expressions: '2222' (type: string), _col0 (type: string), _col1 (type: string), _col2 (type: bigint) + outputColumnNames: _col0, _col1, _col2, _col3 + Statistics: Num rows: 6 Data size: 2784 Basic stats: COMPLETE Column stats: COMPLETE + File Output Operator + compressed: false + Statistics: Num rows: 6 Data size: 2784 Basic stats: COMPLETE Column stats: COMPLETE + 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 + + Stage: Stage-0 + Fetch Operator + limit: -1 + Processor Tree: + ListSink + +PREHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level1 = '2222' group by level1, level2, level3 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_multilevel_temp +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=44 +#### A masked pattern was here #### +POSTHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level1 = '2222' group by level1, level2, level3 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_multilevel_temp +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=44 +#### A masked pattern was here #### +2222 111 11 11 +2222 111 22 12 +2222 111 33 13 +2222 111 44 14 +2222 222 11 15 +2222 222 22 16 +2222 222 33 17 +2222 222 44 18 +2222 333 11 19 +2222 333 22 20 +2222 333 33 21 +2222 333 44 22 +PREHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level1 >= '2222' group by level1, level2, level3 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_multilevel_temp +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=44 +#### A masked pattern was here #### +POSTHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level1 >= '2222' group by level1, level2, level3 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_multilevel_temp +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=44 +#### A masked pattern was here #### +2222 111 11 11 +2222 111 22 12 +2222 111 33 13 +2222 111 44 14 +2222 222 11 15 +2222 222 22 16 +2222 222 33 17 +2222 222 44 18 +2222 333 11 19 +2222 333 22 20 +2222 333 33 21 +2222 333 44 22 +PREHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level1 !='2222' group by level1, level2, level3 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_multilevel_temp +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=44 +#### A masked pattern was here #### +POSTHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level1 !='2222' group by level1, level2, level3 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_multilevel_temp +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=44 +#### A masked pattern was here #### +1111 111 11 11 +1111 111 22 12 +1111 111 33 13 +1111 111 44 14 +1111 222 11 15 +1111 222 22 16 +1111 222 33 17 +1111 222 44 18 +1111 333 11 19 +1111 333 22 20 +1111 333 33 21 +1111 333 44 22 +PREHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level2 = '222' group by level1, level2, level3 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_multilevel_temp +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=44 +#### A masked pattern was here #### +POSTHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level2 = '222' group by level1, level2, level3 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_multilevel_temp +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=44 +#### A masked pattern was here #### +1111 222 11 15 +1111 222 22 16 +1111 222 33 17 +1111 222 44 18 +2222 222 11 15 +2222 222 22 16 +2222 222 33 17 +2222 222 44 18 +PREHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level2 <= '222' group by level1, level2, level3 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_multilevel_temp +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=44 +#### A masked pattern was here #### +POSTHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level2 <= '222' group by level1, level2, level3 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_multilevel_temp +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=44 +#### A masked pattern was here #### +1111 111 11 11 +1111 111 22 12 +1111 111 33 13 +1111 111 44 14 +1111 222 11 15 +1111 222 22 16 +1111 222 33 17 +1111 222 44 18 +2222 111 11 11 +2222 111 22 12 +2222 111 33 13 +2222 111 44 14 +2222 222 11 15 +2222 222 22 16 +2222 222 33 17 +2222 222 44 18 +PREHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level2 != '222' group by level1, level2, level3 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_multilevel_temp +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=44 +#### A masked pattern was here #### +POSTHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level2 != '222' group by level1, level2, level3 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_multilevel_temp +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=44 +#### A masked pattern was here #### +1111 111 11 11 +1111 111 22 12 +1111 111 33 13 +1111 111 44 14 +1111 333 11 19 +1111 333 22 20 +1111 333 33 21 +1111 333 44 22 +2222 111 11 11 +2222 111 22 12 +2222 111 33 13 +2222 111 44 14 +2222 333 11 19 +2222 333 22 20 +2222 333 33 21 +2222 333 44 22 +PREHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level3 = '22' group by level1, level2, level3 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_multilevel_temp +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +#### A masked pattern was here #### +POSTHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level3 = '22' group by level1, level2, level3 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_multilevel_temp +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +#### A masked pattern was here #### +1111 111 22 12 +1111 222 22 16 +1111 333 22 20 +2222 111 22 12 +2222 222 22 16 +2222 333 22 20 +PREHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level3 >= '22' group by level1, level2, level3 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_multilevel_temp +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=44 +#### A masked pattern was here #### +POSTHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level3 >= '22' group by level1, level2, level3 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_multilevel_temp +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=44 +#### A masked pattern was here #### +1111 111 22 12 +1111 111 33 13 +1111 111 44 14 +1111 222 22 16 +1111 222 33 17 +1111 222 44 18 +1111 333 22 20 +1111 333 33 21 +1111 333 44 22 +2222 111 22 12 +2222 111 33 13 +2222 111 44 14 +2222 222 22 16 +2222 222 33 17 +2222 222 44 18 +2222 333 22 20 +2222 333 33 21 +2222 333 44 22 +PREHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level3 != '22' group by level1, level2, level3 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_multilevel_temp +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=44 +#### A masked pattern was here #### +POSTHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level3 != '22' group by level1, level2, level3 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_multilevel_temp +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=111/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=44 +#### A masked pattern was here #### +1111 111 11 11 +1111 111 33 13 +1111 111 44 14 +1111 222 11 15 +1111 222 33 17 +1111 222 44 18 +1111 333 11 19 +1111 333 33 21 +1111 333 44 22 +2222 111 11 11 +2222 111 33 13 +2222 111 44 14 +2222 222 11 15 +2222 222 33 17 +2222 222 44 18 +2222 333 11 19 +2222 333 33 21 +2222 333 44 22 +PREHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level2 >= '222' and level3 = '33' group by level1, level2, level3 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_multilevel_temp +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +#### A masked pattern was here #### +POSTHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level2 >= '222' and level3 = '33' group by level1, level2, level3 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_multilevel_temp +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +#### A masked pattern was here #### +1111 222 33 17 +1111 333 33 21 +2222 222 33 17 +2222 333 33 21 +PREHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level1 <= '1111' and level3 >= '33' group by level1, level2, level3 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_multilevel_temp +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=44 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=44 +#### A masked pattern was here #### +POSTHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level1 <= '1111' and level3 >= '33' group by level1, level2, level3 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_multilevel_temp +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=111/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=222/level3=44 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=1111/level2=333/level3=44 +#### A masked pattern was here #### +1111 111 33 13 +1111 111 44 14 +1111 222 33 17 +1111 222 44 18 +1111 333 33 21 +1111 333 44 22 +PREHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level1 = '2222' and level2 >= '222' and level3 <= '33' group by level1, level2, level3 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_multilevel_temp +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +#### A masked pattern was here #### +POSTHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where level1 = '2222' and level2 >= '222' and level3 <= '33' group by level1, level2, level3 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_multilevel_temp +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +#### A masked pattern was here #### +2222 222 11 15 +2222 222 22 16 +2222 222 33 17 +2222 333 11 19 +2222 333 22 20 +2222 333 33 21 +PREHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where (level1 = '2222') and (level2 between '222' and '333') and (level3 between '11' and '33') group by level1, level2, level3 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_multilevel_temp +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +#### A masked pattern was here #### +POSTHOOK: query: select level1, level2, level3, count(*) from partition_test_multilevel_temp where (level1 = '2222') and (level2 between '222' and '333') and (level3 between '11' and '33') group by level1, level2, level3 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_multilevel_temp +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +#### A masked pattern was here #### +2222 222 11 15 +2222 222 22 16 +2222 222 33 17 +2222 333 11 19 +2222 333 22 20 +2222 333 33 21 +PREHOOK: query: explain select level1, level2, level3, count(*) from partition_test_multilevel_temp where (level1 = '2222') and (level2 between '222' and '333') and (level3 between '11' and '33') group by level1, level2, level3 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_multilevel_temp +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=11 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +PREHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +#### A masked pattern was here #### +POSTHOOK: query: explain select level1, level2, level3, count(*) from partition_test_multilevel_temp where (level1 = '2222') and (level2 between '222' and '333') and (level3 between '11' and '33') group by level1, level2, level3 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_multilevel_temp +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=222/level3=33 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=11 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=22 +POSTHOOK: Input: default@partition_test_multilevel_temp@level1=2222/level2=333/level3=33 +#### A masked pattern was here #### +STAGE DEPENDENCIES: + Stage-1 is a root stage + Stage-0 depends on stages: Stage-1 + +STAGE PLANS: + Stage: Stage-1 + Map Reduce + Map Operator Tree: + TableScan + alias: partition_test_multilevel_temp + filterExpr: ((level1 = '2222') and level2 BETWEEN '222' AND '333' and level3 BETWEEN '11' AND '33') (type: boolean) + Statistics: Num rows: 108 Data size: 40890 Basic stats: COMPLETE Column stats: COMPLETE + Select Operator + expressions: level2 (type: string), level3 (type: string) + outputColumnNames: level2, level3 + Statistics: Num rows: 108 Data size: 40890 Basic stats: COMPLETE Column stats: COMPLETE + Group By Operator + aggregations: count() + keys: level2 (type: string), level3 (type: string) + minReductionHashAggr: 0.99 + mode: hash + outputColumnNames: _col0, _col1, _col2 + Statistics: Num rows: 6 Data size: 2256 Basic stats: COMPLETE Column stats: COMPLETE + Reduce Output Operator + key expressions: _col0 (type: string), _col1 (type: string) + sort order: ++ + Map-reduce partition columns: _col0 (type: string), _col1 (type: string) + Statistics: Num rows: 6 Data size: 2256 Basic stats: COMPLETE Column stats: COMPLETE + value expressions: _col2 (type: bigint) + Execution mode: vectorized + Reduce Operator Tree: + Group By Operator + aggregations: count(VALUE._col0) + keys: KEY._col0 (type: string), KEY._col1 (type: string) + mode: mergepartial + outputColumnNames: _col0, _col1, _col2 + Statistics: Num rows: 6 Data size: 2256 Basic stats: COMPLETE Column stats: COMPLETE + Select Operator + expressions: '2222' (type: string), _col0 (type: string), _col1 (type: string), _col2 (type: bigint) + outputColumnNames: _col0, _col1, _col2, _col3 + Statistics: Num rows: 6 Data size: 2784 Basic stats: COMPLETE Column stats: COMPLETE + File Output Operator + compressed: false + Statistics: Num rows: 6 Data size: 2784 Basic stats: COMPLETE Column stats: COMPLETE + 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 + + Stage: Stage-0 + Fetch Operator + limit: -1 + Processor Tree: + ListSink + diff --git a/ql/src/test/results/clientpositive/temp_table_partition_pruning.q.out b/ql/src/test/results/clientpositive/temp_table_partition_pruning.q.out new file mode 100644 index 0000000000..f1cfbb86fb --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_partition_pruning.q.out @@ -0,0 +1,621 @@ +PREHOOK: query: create temporary table daysales_temp (customer int) partitioned by (dt string) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@daysales_temp +POSTHOOK: query: create temporary table daysales_temp (customer int) partitioned by (dt string) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@daysales_temp +PREHOOK: query: insert into daysales_temp partition(dt='2001-01-01') values(1) +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@daysales_temp@dt=2001-01-01 +POSTHOOK: query: insert into daysales_temp partition(dt='2001-01-01') values(1) +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@daysales_temp@dt=2001-01-01 +POSTHOOK: Lineage: daysales_temp PARTITION(dt=2001-01-01).customer SCRIPT [] +PREHOOK: query: insert into daysales_temp partition(dt='2001-01-03') values(3) +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@daysales_temp@dt=2001-01-03 +POSTHOOK: query: insert into daysales_temp partition(dt='2001-01-03') values(3) +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@daysales_temp@dt=2001-01-03 +POSTHOOK: Lineage: daysales_temp PARTITION(dt=2001-01-03).customer SCRIPT [] +PREHOOK: query: select * from daysales_temp where nvl(dt='2001-01-01' and customer=1, false) +PREHOOK: type: QUERY +PREHOOK: Input: default@daysales_temp +PREHOOK: Input: default@daysales_temp@dt=2001-01-01 +PREHOOK: Input: default@daysales_temp@dt=2001-01-03 +#### A masked pattern was here #### +POSTHOOK: query: select * from daysales_temp where nvl(dt='2001-01-01' and customer=1, false) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@daysales_temp +POSTHOOK: Input: default@daysales_temp@dt=2001-01-01 +POSTHOOK: Input: default@daysales_temp@dt=2001-01-03 +#### A masked pattern was here #### +1 2001-01-01 +PREHOOK: query: select * from daysales_temp where nvl(dt='2001-01-02' and customer=1, false) +PREHOOK: type: QUERY +PREHOOK: Input: default@daysales_temp +PREHOOK: Input: default@daysales_temp@dt=2001-01-01 +PREHOOK: Input: default@daysales_temp@dt=2001-01-03 +#### A masked pattern was here #### +POSTHOOK: query: select * from daysales_temp where nvl(dt='2001-01-02' and customer=1, false) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@daysales_temp +POSTHOOK: Input: default@daysales_temp@dt=2001-01-01 +POSTHOOK: Input: default@daysales_temp@dt=2001-01-03 +#### A masked pattern was here #### +PREHOOK: query: select * from daysales_temp where nvl(dt='2001-01-01' and customer=1, true) +PREHOOK: type: QUERY +PREHOOK: Input: default@daysales_temp +PREHOOK: Input: default@daysales_temp@dt=2001-01-01 +PREHOOK: Input: default@daysales_temp@dt=2001-01-03 +#### A masked pattern was here #### +POSTHOOK: query: select * from daysales_temp where nvl(dt='2001-01-01' and customer=1, true) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@daysales_temp +POSTHOOK: Input: default@daysales_temp@dt=2001-01-01 +POSTHOOK: Input: default@daysales_temp@dt=2001-01-03 +#### A masked pattern was here #### +1 2001-01-01 +PREHOOK: query: select * from daysales_temp where (dt='2001-01-01' and customer=1) +PREHOOK: type: QUERY +PREHOOK: Input: default@daysales_temp +PREHOOK: Input: default@daysales_temp@dt=2001-01-01 +#### A masked pattern was here #### +POSTHOOK: query: select * from daysales_temp where (dt='2001-01-01' and customer=1) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@daysales_temp +POSTHOOK: Input: default@daysales_temp@dt=2001-01-01 +#### A masked pattern was here #### +1 2001-01-01 +PREHOOK: query: select * from daysales_temp where (dt='2001-01-01' or customer=3) +PREHOOK: type: QUERY +PREHOOK: Input: default@daysales_temp +PREHOOK: Input: default@daysales_temp@dt=2001-01-01 +PREHOOK: Input: default@daysales_temp@dt=2001-01-03 +#### A masked pattern was here #### +POSTHOOK: query: select * from daysales_temp where (dt='2001-01-01' or customer=3) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@daysales_temp +POSTHOOK: Input: default@daysales_temp@dt=2001-01-01 +POSTHOOK: Input: default@daysales_temp@dt=2001-01-03 +#### A masked pattern was here #### +1 2001-01-01 +3 2001-01-03 +PREHOOK: query: select * from daysales_temp where (dt='2001-01-03' or customer=100) +PREHOOK: type: QUERY +PREHOOK: Input: default@daysales_temp +PREHOOK: Input: default@daysales_temp@dt=2001-01-01 +PREHOOK: Input: default@daysales_temp@dt=2001-01-03 +#### A masked pattern was here #### +POSTHOOK: query: select * from daysales_temp where (dt='2001-01-03' or customer=100) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@daysales_temp +POSTHOOK: Input: default@daysales_temp@dt=2001-01-01 +POSTHOOK: Input: default@daysales_temp@dt=2001-01-03 +#### A masked pattern was here #### +3 2001-01-03 +PREHOOK: query: explain extended select * from daysales_temp where nvl(dt='2001-01-01' and customer=1, false) +PREHOOK: type: QUERY +PREHOOK: Input: default@daysales_temp +PREHOOK: Input: default@daysales_temp@dt=2001-01-01 +PREHOOK: Input: default@daysales_temp@dt=2001-01-03 +#### A masked pattern was here #### +POSTHOOK: query: explain extended select * from daysales_temp where nvl(dt='2001-01-01' and customer=1, false) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@daysales_temp +POSTHOOK: Input: default@daysales_temp@dt=2001-01-01 +POSTHOOK: Input: default@daysales_temp@dt=2001-01-03 +#### A masked pattern was here #### +OPTIMIZED SQL: SELECT `customer`, `dt` +FROM `default`.`daysales_temp` +WHERE NVL(`dt` = '2001-01-01' AND `customer` = 1, FALSE) +STAGE DEPENDENCIES: + Stage-1 is a root stage + Stage-0 depends on stages: Stage-1 + +STAGE PLANS: + Stage: Stage-1 + Map Reduce + Map Operator Tree: + TableScan + alias: daysales_temp + filterExpr: COALESCE(((dt = '2001-01-01') and (customer = 1)),false) (type: boolean) + Statistics: Num rows: 2 Data size: 376 Basic stats: COMPLETE Column stats: PARTIAL + GatherStats: false + Filter Operator + isSamplingPred: false + predicate: COALESCE(((dt = '2001-01-01') and (customer = 1)),false) (type: boolean) + Statistics: Num rows: 1 Data size: 188 Basic stats: COMPLETE Column stats: PARTIAL + Select Operator + expressions: customer (type: int), dt (type: string) + outputColumnNames: _col0, _col1 + Statistics: Num rows: 1 Data size: 188 Basic stats: COMPLETE Column stats: PARTIAL + File Output Operator + compressed: false + GlobalTableId: 0 +#### A masked pattern was here #### + NumFilesPerFileSink: 1 + Statistics: Num rows: 1 Data size: 188 Basic stats: COMPLETE Column stats: PARTIAL +#### A masked pattern was here #### + table: + input format: org.apache.hadoop.mapred.SequenceFileInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat + properties: + columns _col0,_col1 + columns.types int:string + escape.delim \ + hive.serialization.extend.additional.nesting.levels true + serialization.escape.crlf true + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + TotalFiles: 1 + GatherStats: false + MultiFileSpray: false + Execution mode: vectorized + Path -> Alias: +#### A masked pattern was here #### + Path -> Partition: +#### A masked pattern was here #### + Partition + base file name: dt=2001-01-01 + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + partition values: + dt 2001-01-01 + properties: + COLUMN_STATS_ACCURATE {"BASIC_STATS":"true","COLUMN_STATS":{"customer":"true"}} + bucket_count -1 + column.name.delimiter , + columns customer + columns.comments + columns.types int +#### A masked pattern was here #### + name default.daysales_temp + numFiles 1 + numRows 1 + partition_columns dt + partition_columns.types string + rawDataSize 1 + serialization.ddl struct daysales_temp { i32 customer} + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + totalSize 2 + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + properties: + COLUMN_STATS_ACCURATE {"BASIC_STATS":"true","COLUMN_STATS":{"customer":"true"}} + bucket_count -1 + bucketing_version 2 + column.name.delimiter , + columns customer + columns.comments + columns.types int +#### A masked pattern was here #### + name default.daysales_temp + numFiles 0 + numRows 0 + partition_columns dt + partition_columns.types string + rawDataSize 0 + serialization.ddl struct daysales_temp { i32 customer} + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + totalSize 0 + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.daysales_temp + name: default.daysales_temp +#### A masked pattern was here #### + Partition + base file name: dt=2001-01-03 + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + partition values: + dt 2001-01-03 + properties: + COLUMN_STATS_ACCURATE {"BASIC_STATS":"true","COLUMN_STATS":{"customer":"true"}} + bucket_count -1 + column.name.delimiter , + columns customer + columns.comments + columns.types int +#### A masked pattern was here #### + name default.daysales_temp + numFiles 1 + numRows 1 + partition_columns dt + partition_columns.types string + rawDataSize 1 + serialization.ddl struct daysales_temp { i32 customer} + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + totalSize 2 + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + properties: + COLUMN_STATS_ACCURATE {"BASIC_STATS":"true","COLUMN_STATS":{"customer":"true"}} + bucket_count -1 + bucketing_version 2 + column.name.delimiter , + columns customer + columns.comments + columns.types int +#### A masked pattern was here #### + name default.daysales_temp + numFiles 0 + numRows 0 + partition_columns dt + partition_columns.types string + rawDataSize 0 + serialization.ddl struct daysales_temp { i32 customer} + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + totalSize 0 + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.daysales_temp + name: default.daysales_temp + Truncated Path -> Alias: +#### A masked pattern was here #### + + Stage: Stage-0 + Fetch Operator + limit: -1 + Processor Tree: + ListSink + +PREHOOK: query: explain extended select * from daysales_temp where nvl(dt='2001-01-01' or customer=3, false) +PREHOOK: type: QUERY +PREHOOK: Input: default@daysales_temp +PREHOOK: Input: default@daysales_temp@dt=2001-01-01 +PREHOOK: Input: default@daysales_temp@dt=2001-01-03 +#### A masked pattern was here #### +POSTHOOK: query: explain extended select * from daysales_temp where nvl(dt='2001-01-01' or customer=3, false) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@daysales_temp +POSTHOOK: Input: default@daysales_temp@dt=2001-01-01 +POSTHOOK: Input: default@daysales_temp@dt=2001-01-03 +#### A masked pattern was here #### +OPTIMIZED SQL: SELECT `customer`, `dt` +FROM `default`.`daysales_temp` +WHERE NVL(`dt` = '2001-01-01' OR `customer` = 3, FALSE) +STAGE DEPENDENCIES: + Stage-1 is a root stage + Stage-0 depends on stages: Stage-1 + +STAGE PLANS: + Stage: Stage-1 + Map Reduce + Map Operator Tree: + TableScan + alias: daysales_temp + filterExpr: COALESCE(((dt = '2001-01-01') or (customer = 3)),false) (type: boolean) + Statistics: Num rows: 2 Data size: 376 Basic stats: COMPLETE Column stats: PARTIAL + GatherStats: false + Filter Operator + isSamplingPred: false + predicate: COALESCE(((dt = '2001-01-01') or (customer = 3)),false) (type: boolean) + Statistics: Num rows: 1 Data size: 188 Basic stats: COMPLETE Column stats: PARTIAL + Select Operator + expressions: customer (type: int), dt (type: string) + outputColumnNames: _col0, _col1 + Statistics: Num rows: 1 Data size: 188 Basic stats: COMPLETE Column stats: PARTIAL + File Output Operator + compressed: false + GlobalTableId: 0 +#### A masked pattern was here #### + NumFilesPerFileSink: 1 + Statistics: Num rows: 1 Data size: 188 Basic stats: COMPLETE Column stats: PARTIAL +#### A masked pattern was here #### + table: + input format: org.apache.hadoop.mapred.SequenceFileInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat + properties: + columns _col0,_col1 + columns.types int:string + escape.delim \ + hive.serialization.extend.additional.nesting.levels true + serialization.escape.crlf true + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + TotalFiles: 1 + GatherStats: false + MultiFileSpray: false + Execution mode: vectorized + Path -> Alias: +#### A masked pattern was here #### + Path -> Partition: +#### A masked pattern was here #### + Partition + base file name: dt=2001-01-01 + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + partition values: + dt 2001-01-01 + properties: + COLUMN_STATS_ACCURATE {"BASIC_STATS":"true","COLUMN_STATS":{"customer":"true"}} + bucket_count -1 + column.name.delimiter , + columns customer + columns.comments + columns.types int +#### A masked pattern was here #### + name default.daysales_temp + numFiles 1 + numRows 1 + partition_columns dt + partition_columns.types string + rawDataSize 1 + serialization.ddl struct daysales_temp { i32 customer} + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + totalSize 2 + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + properties: + COLUMN_STATS_ACCURATE {"BASIC_STATS":"true","COLUMN_STATS":{"customer":"true"}} + bucket_count -1 + bucketing_version 2 + column.name.delimiter , + columns customer + columns.comments + columns.types int +#### A masked pattern was here #### + name default.daysales_temp + numFiles 0 + numRows 0 + partition_columns dt + partition_columns.types string + rawDataSize 0 + serialization.ddl struct daysales_temp { i32 customer} + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + totalSize 0 + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.daysales_temp + name: default.daysales_temp +#### A masked pattern was here #### + Partition + base file name: dt=2001-01-03 + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + partition values: + dt 2001-01-03 + properties: + COLUMN_STATS_ACCURATE {"BASIC_STATS":"true","COLUMN_STATS":{"customer":"true"}} + bucket_count -1 + column.name.delimiter , + columns customer + columns.comments + columns.types int +#### A masked pattern was here #### + name default.daysales_temp + numFiles 1 + numRows 1 + partition_columns dt + partition_columns.types string + rawDataSize 1 + serialization.ddl struct daysales_temp { i32 customer} + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + totalSize 2 + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + properties: + COLUMN_STATS_ACCURATE {"BASIC_STATS":"true","COLUMN_STATS":{"customer":"true"}} + bucket_count -1 + bucketing_version 2 + column.name.delimiter , + columns customer + columns.comments + columns.types int +#### A masked pattern was here #### + name default.daysales_temp + numFiles 0 + numRows 0 + partition_columns dt + partition_columns.types string + rawDataSize 0 + serialization.ddl struct daysales_temp { i32 customer} + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + totalSize 0 + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.daysales_temp + name: default.daysales_temp + Truncated Path -> Alias: +#### A masked pattern was here #### + + Stage: Stage-0 + Fetch Operator + limit: -1 + Processor Tree: + ListSink + +PREHOOK: query: explain extended select * from daysales_temp where nvl(dt='2001-01-01' or customer=3, false) +PREHOOK: type: QUERY +PREHOOK: Input: default@daysales_temp +PREHOOK: Input: default@daysales_temp@dt=2001-01-01 +PREHOOK: Input: default@daysales_temp@dt=2001-01-03 +#### A masked pattern was here #### +POSTHOOK: query: explain extended select * from daysales_temp where nvl(dt='2001-01-01' or customer=3, false) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@daysales_temp +POSTHOOK: Input: default@daysales_temp@dt=2001-01-01 +POSTHOOK: Input: default@daysales_temp@dt=2001-01-03 +#### A masked pattern was here #### +OPTIMIZED SQL: SELECT `customer`, `dt` +FROM `default`.`daysales_temp` +WHERE NVL(`dt` = '2001-01-01' OR `customer` = 3, FALSE) +STAGE DEPENDENCIES: + Stage-1 is a root stage + Stage-0 depends on stages: Stage-1 + +STAGE PLANS: + Stage: Stage-1 + Map Reduce + Map Operator Tree: + TableScan + alias: daysales_temp + filterExpr: COALESCE(((dt = '2001-01-01') or (customer = 3)),false) (type: boolean) + Statistics: Num rows: 2 Data size: 376 Basic stats: COMPLETE Column stats: PARTIAL + GatherStats: false + Filter Operator + isSamplingPred: false + predicate: COALESCE(((dt = '2001-01-01') or (customer = 3)),false) (type: boolean) + Statistics: Num rows: 1 Data size: 188 Basic stats: COMPLETE Column stats: PARTIAL + Select Operator + expressions: customer (type: int), dt (type: string) + outputColumnNames: _col0, _col1 + Statistics: Num rows: 1 Data size: 188 Basic stats: COMPLETE Column stats: PARTIAL + File Output Operator + compressed: false + GlobalTableId: 0 +#### A masked pattern was here #### + NumFilesPerFileSink: 1 + Statistics: Num rows: 1 Data size: 188 Basic stats: COMPLETE Column stats: PARTIAL +#### A masked pattern was here #### + table: + input format: org.apache.hadoop.mapred.SequenceFileInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat + properties: + columns _col0,_col1 + columns.types int:string + escape.delim \ + hive.serialization.extend.additional.nesting.levels true + serialization.escape.crlf true + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + TotalFiles: 1 + GatherStats: false + MultiFileSpray: false + Execution mode: vectorized + Path -> Alias: +#### A masked pattern was here #### + Path -> Partition: +#### A masked pattern was here #### + Partition + base file name: dt=2001-01-01 + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + partition values: + dt 2001-01-01 + properties: + COLUMN_STATS_ACCURATE {"BASIC_STATS":"true","COLUMN_STATS":{"customer":"true"}} + bucket_count -1 + column.name.delimiter , + columns customer + columns.comments + columns.types int +#### A masked pattern was here #### + name default.daysales_temp + numFiles 1 + numRows 1 + partition_columns dt + partition_columns.types string + rawDataSize 1 + serialization.ddl struct daysales_temp { i32 customer} + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + totalSize 2 + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + properties: + COLUMN_STATS_ACCURATE {"BASIC_STATS":"true","COLUMN_STATS":{"customer":"true"}} + bucket_count -1 + bucketing_version 2 + column.name.delimiter , + columns customer + columns.comments + columns.types int +#### A masked pattern was here #### + name default.daysales_temp + numFiles 0 + numRows 0 + partition_columns dt + partition_columns.types string + rawDataSize 0 + serialization.ddl struct daysales_temp { i32 customer} + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + totalSize 0 + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.daysales_temp + name: default.daysales_temp +#### A masked pattern was here #### + Partition + base file name: dt=2001-01-03 + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + partition values: + dt 2001-01-03 + properties: + COLUMN_STATS_ACCURATE {"BASIC_STATS":"true","COLUMN_STATS":{"customer":"true"}} + bucket_count -1 + column.name.delimiter , + columns customer + columns.comments + columns.types int +#### A masked pattern was here #### + name default.daysales_temp + numFiles 1 + numRows 1 + partition_columns dt + partition_columns.types string + rawDataSize 1 + serialization.ddl struct daysales_temp { i32 customer} + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + totalSize 2 + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + + input format: org.apache.hadoop.mapred.TextInputFormat + output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat + properties: + COLUMN_STATS_ACCURATE {"BASIC_STATS":"true","COLUMN_STATS":{"customer":"true"}} + bucket_count -1 + bucketing_version 2 + column.name.delimiter , + columns customer + columns.comments + columns.types int +#### A masked pattern was here #### + name default.daysales_temp + numFiles 0 + numRows 0 + partition_columns dt + partition_columns.types string + rawDataSize 0 + serialization.ddl struct daysales_temp { i32 customer} + serialization.format 1 + serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + totalSize 0 + serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe + name: default.daysales_temp + name: default.daysales_temp + Truncated Path -> Alias: +#### A masked pattern was here #### + + Stage: Stage-0 + Fetch Operator + limit: -1 + Processor Tree: + ListSink + diff --git a/ql/src/test/results/clientpositive/temp_table_partition_schema1.q.out b/ql/src/test/results/clientpositive/temp_table_partition_schema1.q.out new file mode 100644 index 0000000000..fb6d649522 --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_partition_schema1.q.out @@ -0,0 +1,66 @@ +PREHOOK: query: create temporary table partition_schema1_temp(key string, value string) partitioned by (dt string) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@partition_schema1_temp +POSTHOOK: query: create temporary table partition_schema1_temp(key string, value string) partitioned by (dt string) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@partition_schema1_temp +PREHOOK: query: insert overwrite table partition_schema1_temp partition(dt='100') select * from src1 +PREHOOK: type: QUERY +PREHOOK: Input: default@src1 +PREHOOK: Output: default@partition_schema1_temp@dt=100 +POSTHOOK: query: insert overwrite table partition_schema1_temp partition(dt='100') select * from src1 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src1 +POSTHOOK: Output: default@partition_schema1_temp@dt=100 +POSTHOOK: Lineage: partition_schema1_temp PARTITION(dt=100).key SIMPLE [(src1)src1.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_schema1_temp PARTITION(dt=100).value SIMPLE [(src1)src1.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: desc partition_schema1_temp partition(dt='100') +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@partition_schema1_temp +POSTHOOK: query: desc partition_schema1_temp partition(dt='100') +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@partition_schema1_temp +key string +value string +dt string + +# Partition Information +# col_name data_type comment +dt string +PREHOOK: query: alter table partition_schema1_temp add columns (x string) +PREHOOK: type: ALTERTABLE_ADDCOLS +PREHOOK: Input: default@partition_schema1_temp +PREHOOK: Output: default@partition_schema1_temp +POSTHOOK: query: alter table partition_schema1_temp add columns (x string) +POSTHOOK: type: ALTERTABLE_ADDCOLS +POSTHOOK: Input: default@partition_schema1_temp +POSTHOOK: Output: default@partition_schema1_temp +PREHOOK: query: desc partition_schema1_temp +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@partition_schema1_temp +POSTHOOK: query: desc partition_schema1_temp +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@partition_schema1_temp +key string +value string +x string +dt string + +# Partition Information +# col_name data_type comment +dt string +PREHOOK: query: desc partition_schema1_temp partition (dt='100') +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@partition_schema1_temp +POSTHOOK: query: desc partition_schema1_temp partition (dt='100') +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@partition_schema1_temp +key string +value string +dt string + +# Partition Information +# col_name data_type comment +dt string diff --git a/ql/src/test/results/clientpositive/temp_table_partition_special_char.q.out b/ql/src/test/results/clientpositive/temp_table_partition_special_char.q.out new file mode 100644 index 0000000000..e1b3457652 --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_partition_special_char.q.out @@ -0,0 +1,90 @@ +PREHOOK: query: create temporary table sc_temp as select * + from (select '2011-01-11', '2011-01-11+14:18:26' from src tablesample (1 rows) + union all + select '2011-01-11', '2011-01-11+15:18:26' from src tablesample (1 rows) + union all + select '2011-01-11', '2011-01-11+16:18:26' from src tablesample (1 rows) ) s +PREHOOK: type: CREATETABLE_AS_SELECT +PREHOOK: Input: default@src +PREHOOK: Output: database:default +PREHOOK: Output: default@sc_temp +POSTHOOK: query: create temporary table sc_temp as select * + from (select '2011-01-11', '2011-01-11+14:18:26' from src tablesample (1 rows) + union all + select '2011-01-11', '2011-01-11+15:18:26' from src tablesample (1 rows) + union all + select '2011-01-11', '2011-01-11+16:18:26' from src tablesample (1 rows) ) s +POSTHOOK: type: CREATETABLE_AS_SELECT +POSTHOOK: Input: default@src +POSTHOOK: Output: database:default +POSTHOOK: Output: default@sc_temp +PREHOOK: query: create temporary table sc_part_temp (key string) partitioned by (ts string) stored as rcfile +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@sc_part_temp +POSTHOOK: query: create temporary table sc_part_temp (key string) partitioned by (ts string) stored as rcfile +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@sc_part_temp +PREHOOK: query: insert overwrite table sc_part_temp partition(ts) select * from sc_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@sc_temp +PREHOOK: Output: default@sc_part_temp +POSTHOOK: query: insert overwrite table sc_part_temp partition(ts) select * from sc_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@sc_temp +POSTHOOK: Output: default@sc_part_temp@ts=2011-01-11+14%3A18%3A26 +POSTHOOK: Output: default@sc_part_temp@ts=2011-01-11+15%3A18%3A26 +POSTHOOK: Output: default@sc_part_temp@ts=2011-01-11+16%3A18%3A26 +POSTHOOK: Lineage: sc_part_temp PARTITION(ts=2011-01-11+14:18:26).key SIMPLE [(sc_temp)sc_temp.FieldSchema(name:_c0, type:string, comment:null), ] +POSTHOOK: Lineage: sc_part_temp PARTITION(ts=2011-01-11+15:18:26).key SIMPLE [(sc_temp)sc_temp.FieldSchema(name:_c0, type:string, comment:null), ] +POSTHOOK: Lineage: sc_part_temp PARTITION(ts=2011-01-11+16:18:26).key SIMPLE [(sc_temp)sc_temp.FieldSchema(name:_c0, type:string, comment:null), ] +PREHOOK: query: show partitions sc_part_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@sc_part_temp +POSTHOOK: query: show partitions sc_part_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@sc_part_temp +ts=2011-01-11+14%3A18%3A26 +ts=2011-01-11+15%3A18%3A26 +ts=2011-01-11+16%3A18%3A26 +PREHOOK: query: select count(*) from sc_part_temp where ts is not null +PREHOOK: type: QUERY +PREHOOK: Input: default@sc_part_temp +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from sc_part_temp where ts is not null +POSTHOOK: type: QUERY +POSTHOOK: Input: default@sc_part_temp +#### A masked pattern was here #### +3 +PREHOOK: query: insert overwrite table sc_part_temp partition(ts) select * from sc_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@sc_temp +PREHOOK: Output: default@sc_part_temp +POSTHOOK: query: insert overwrite table sc_part_temp partition(ts) select * from sc_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@sc_temp +POSTHOOK: Output: default@sc_part_temp@ts=2011-01-11+14%3A18%3A26 +POSTHOOK: Output: default@sc_part_temp@ts=2011-01-11+15%3A18%3A26 +POSTHOOK: Output: default@sc_part_temp@ts=2011-01-11+16%3A18%3A26 +POSTHOOK: Lineage: sc_part_temp PARTITION(ts=2011-01-11+14:18:26).key SIMPLE [(sc_temp)sc_temp.FieldSchema(name:_c0, type:string, comment:null), ] +POSTHOOK: Lineage: sc_part_temp PARTITION(ts=2011-01-11+15:18:26).key SIMPLE [(sc_temp)sc_temp.FieldSchema(name:_c0, type:string, comment:null), ] +POSTHOOK: Lineage: sc_part_temp PARTITION(ts=2011-01-11+16:18:26).key SIMPLE [(sc_temp)sc_temp.FieldSchema(name:_c0, type:string, comment:null), ] +PREHOOK: query: show partitions sc_part_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@sc_part_temp +POSTHOOK: query: show partitions sc_part_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@sc_part_temp +ts=2011-01-11+14%3A18%3A26 +ts=2011-01-11+15%3A18%3A26 +ts=2011-01-11+16%3A18%3A26 +PREHOOK: query: select count(*) from sc_part_temp where ts is not null +PREHOOK: type: QUERY +PREHOOK: Input: default@sc_part_temp +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from sc_part_temp where ts is not null +POSTHOOK: type: QUERY +POSTHOOK: Input: default@sc_part_temp +#### A masked pattern was here #### +3 diff --git a/ql/src/test/results/clientpositive/temp_table_partition_timestamp.q.out b/ql/src/test/results/clientpositive/temp_table_partition_timestamp.q.out new file mode 100644 index 0000000000..7f04b5f25a --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_partition_timestamp.q.out @@ -0,0 +1,376 @@ +PREHOOK: query: drop table partition_timestamp_1_temp +PREHOOK: type: DROPTABLE +POSTHOOK: query: drop table partition_timestamp_1_temp +POSTHOOK: type: DROPTABLE +PREHOOK: query: create temporary table partition_timestamp_1_temp (key string, value string) partitioned by (dt timestamp, region string) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@partition_timestamp_1_temp +POSTHOOK: query: create temporary table partition_timestamp_1_temp (key string, value string) partitioned by (dt timestamp, region string) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@partition_timestamp_1_temp +PREHOOK: query: insert overwrite table partition_timestamp_1_temp partition(dt='2000-01-01 01:00:00', region= '1') + select * from src tablesample (10 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@src +PREHOOK: Output: default@partition_timestamp_1_temp@dt=2000-01-01 01%3A00%3A00/region=1 +POSTHOOK: query: insert overwrite table partition_timestamp_1_temp partition(dt='2000-01-01 01:00:00', region= '1') + select * from src tablesample (10 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src +POSTHOOK: Output: default@partition_timestamp_1_temp@dt=2000-01-01 01%3A00%3A00/region=1 +POSTHOOK: Lineage: partition_timestamp_1_temp PARTITION(dt=2000-01-01 01:00:00,region=1).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_timestamp_1_temp PARTITION(dt=2000-01-01 01:00:00,region=1).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: insert overwrite table partition_timestamp_1_temp partition(dt='2000-01-01 02:00:00', region= '2') + select * from src tablesample (5 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@src +PREHOOK: Output: default@partition_timestamp_1_temp@dt=2000-01-01 02%3A00%3A00/region=2 +POSTHOOK: query: insert overwrite table partition_timestamp_1_temp partition(dt='2000-01-01 02:00:00', region= '2') + select * from src tablesample (5 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src +POSTHOOK: Output: default@partition_timestamp_1_temp@dt=2000-01-01 02%3A00%3A00/region=2 +POSTHOOK: Lineage: partition_timestamp_1_temp PARTITION(dt=2000-01-01 02:00:00,region=2).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_timestamp_1_temp PARTITION(dt=2000-01-01 02:00:00,region=2).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: insert overwrite table partition_timestamp_1_temp partition(dt='2001-01-01 01:00:00', region= '2020-20-20') + select * from src tablesample (5 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@src +PREHOOK: Output: default@partition_timestamp_1_temp@dt=2001-01-01 01%3A00%3A00/region=2020-20-20 +POSTHOOK: query: insert overwrite table partition_timestamp_1_temp partition(dt='2001-01-01 01:00:00', region= '2020-20-20') + select * from src tablesample (5 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src +POSTHOOK: Output: default@partition_timestamp_1_temp@dt=2001-01-01 01%3A00%3A00/region=2020-20-20 +POSTHOOK: Lineage: partition_timestamp_1_temp PARTITION(dt=2001-01-01 01:00:00,region=2020-20-20).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_timestamp_1_temp PARTITION(dt=2001-01-01 01:00:00,region=2020-20-20).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: insert overwrite table partition_timestamp_1_temp partition(dt='2001-01-01 02:00:00', region= '1') + select * from src tablesample (20 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@src +PREHOOK: Output: default@partition_timestamp_1_temp@dt=2001-01-01 02%3A00%3A00/region=1 +POSTHOOK: query: insert overwrite table partition_timestamp_1_temp partition(dt='2001-01-01 02:00:00', region= '1') + select * from src tablesample (20 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src +POSTHOOK: Output: default@partition_timestamp_1_temp@dt=2001-01-01 02%3A00%3A00/region=1 +POSTHOOK: Lineage: partition_timestamp_1_temp PARTITION(dt=2001-01-01 02:00:00,region=1).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_timestamp_1_temp PARTITION(dt=2001-01-01 02:00:00,region=1).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: insert overwrite table partition_timestamp_1_temp partition(dt='2001-01-01 03:00:00', region= '10') + select * from src tablesample (11 rows) +PREHOOK: type: QUERY +PREHOOK: Input: default@src +PREHOOK: Output: default@partition_timestamp_1_temp@dt=2001-01-01 03%3A00%3A00/region=10 +POSTHOOK: query: insert overwrite table partition_timestamp_1_temp partition(dt='2001-01-01 03:00:00', region= '10') + select * from src tablesample (11 rows) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src +POSTHOOK: Output: default@partition_timestamp_1_temp@dt=2001-01-01 03%3A00%3A00/region=10 +POSTHOOK: Lineage: partition_timestamp_1_temp PARTITION(dt=2001-01-01 03:00:00,region=10).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_timestamp_1_temp PARTITION(dt=2001-01-01 03:00:00,region=10).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: select distinct dt from partition_timestamp_1_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_timestamp_1_temp +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 01%3A00%3A00/region=1 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 02%3A00%3A00/region=2 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 01%3A00%3A00/region=2020-20-20 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 02%3A00%3A00/region=1 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 03%3A00%3A00/region=10 +#### A masked pattern was here #### +POSTHOOK: query: select distinct dt from partition_timestamp_1_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_timestamp_1_temp +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 01%3A00%3A00/region=1 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 02%3A00%3A00/region=2 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 01%3A00%3A00/region=2020-20-20 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 02%3A00%3A00/region=1 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 03%3A00%3A00/region=10 +#### A masked pattern was here #### +2000-01-01 01:00:00 +2000-01-01 02:00:00 +2001-01-01 01:00:00 +2001-01-01 02:00:00 +2001-01-01 03:00:00 +PREHOOK: query: select * from partition_timestamp_1_temp where dt = '2000-01-01 01:00:00' and region = '2' order by key,value +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_timestamp_1_temp +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 01%3A00%3A00/region=1 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 02%3A00%3A00/region=2 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 01%3A00%3A00/region=2020-20-20 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 02%3A00%3A00/region=1 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 03%3A00%3A00/region=10 +#### A masked pattern was here #### +POSTHOOK: query: select * from partition_timestamp_1_temp where dt = '2000-01-01 01:00:00' and region = '2' order by key,value +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_timestamp_1_temp +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 01%3A00%3A00/region=1 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 02%3A00%3A00/region=2 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 01%3A00%3A00/region=2020-20-20 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 02%3A00%3A00/region=1 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 03%3A00%3A00/region=10 +#### A masked pattern was here #### +PREHOOK: query: select count(*) from partition_timestamp_1_temp where dt = timestamp '2000-01-01 01:00:00' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_timestamp_1_temp +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 01%3A00%3A00/region=1 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 02%3A00%3A00/region=2 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 01%3A00%3A00/region=2020-20-20 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 02%3A00%3A00/region=1 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 03%3A00%3A00/region=10 +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from partition_timestamp_1_temp where dt = timestamp '2000-01-01 01:00:00' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_timestamp_1_temp +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 01%3A00%3A00/region=1 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 02%3A00%3A00/region=2 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 01%3A00%3A00/region=2020-20-20 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 02%3A00%3A00/region=1 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 03%3A00%3A00/region=10 +#### A masked pattern was here #### +10 +PREHOOK: query: select count(*) from partition_timestamp_1_temp where dt = '2000-01-01 01:00:00' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_timestamp_1_temp +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 01%3A00%3A00/region=1 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 02%3A00%3A00/region=2 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 01%3A00%3A00/region=2020-20-20 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 02%3A00%3A00/region=1 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 03%3A00%3A00/region=10 +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from partition_timestamp_1_temp where dt = '2000-01-01 01:00:00' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_timestamp_1_temp +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 01%3A00%3A00/region=1 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 02%3A00%3A00/region=2 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 01%3A00%3A00/region=2020-20-20 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 02%3A00%3A00/region=1 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 03%3A00%3A00/region=10 +#### A masked pattern was here #### +10 +PREHOOK: query: select count(*) from partition_timestamp_1_temp where dt = timestamp '2000-01-01 02:00:00' and region = '2' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_timestamp_1_temp +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 01%3A00%3A00/region=1 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 02%3A00%3A00/region=2 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 01%3A00%3A00/region=2020-20-20 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 02%3A00%3A00/region=1 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 03%3A00%3A00/region=10 +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from partition_timestamp_1_temp where dt = timestamp '2000-01-01 02:00:00' and region = '2' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_timestamp_1_temp +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 01%3A00%3A00/region=1 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 02%3A00%3A00/region=2 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 01%3A00%3A00/region=2020-20-20 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 02%3A00%3A00/region=1 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 03%3A00%3A00/region=10 +#### A masked pattern was here #### +5 +PREHOOK: query: select count(*) from partition_timestamp_1_temp where dt = timestamp '2001-01-01 03:00:00' and region = '10' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_timestamp_1_temp +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 01%3A00%3A00/region=1 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 02%3A00%3A00/region=2 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 01%3A00%3A00/region=2020-20-20 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 02%3A00%3A00/region=1 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 03%3A00%3A00/region=10 +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from partition_timestamp_1_temp where dt = timestamp '2001-01-01 03:00:00' and region = '10' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_timestamp_1_temp +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 01%3A00%3A00/region=1 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 02%3A00%3A00/region=2 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 01%3A00%3A00/region=2020-20-20 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 02%3A00%3A00/region=1 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 03%3A00%3A00/region=10 +#### A masked pattern was here #### +11 +PREHOOK: query: select count(*) from partition_timestamp_1_temp where region = '1' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_timestamp_1_temp +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from partition_timestamp_1_temp where region = '1' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_timestamp_1_temp +#### A masked pattern was here #### +30 +PREHOOK: query: select count(*) from partition_timestamp_1_temp where dt = timestamp '2000-01-01 01:00:00' and region = '3' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_timestamp_1_temp +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 01%3A00%3A00/region=1 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 02%3A00%3A00/region=2 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 01%3A00%3A00/region=2020-20-20 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 02%3A00%3A00/region=1 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 03%3A00%3A00/region=10 +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from partition_timestamp_1_temp where dt = timestamp '2000-01-01 01:00:00' and region = '3' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_timestamp_1_temp +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 01%3A00%3A00/region=1 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 02%3A00%3A00/region=2 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 01%3A00%3A00/region=2020-20-20 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 02%3A00%3A00/region=1 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 03%3A00%3A00/region=10 +#### A masked pattern was here #### +0 +PREHOOK: query: select count(*) from partition_timestamp_1_temp where dt = timestamp '1999-01-01 01:00:00' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_timestamp_1_temp +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 01%3A00%3A00/region=1 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 02%3A00%3A00/region=2 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 01%3A00%3A00/region=2020-20-20 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 02%3A00%3A00/region=1 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 03%3A00%3A00/region=10 +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from partition_timestamp_1_temp where dt = timestamp '1999-01-01 01:00:00' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_timestamp_1_temp +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 01%3A00%3A00/region=1 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 02%3A00%3A00/region=2 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 01%3A00%3A00/region=2020-20-20 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 02%3A00%3A00/region=1 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 03%3A00%3A00/region=10 +#### A masked pattern was here #### +0 +PREHOOK: query: select count(*) from partition_timestamp_1_temp where dt > timestamp '2000-01-01 01:00:00' and region = '1' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_timestamp_1_temp +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 01%3A00%3A00/region=1 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 02%3A00%3A00/region=2 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 01%3A00%3A00/region=2020-20-20 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 02%3A00%3A00/region=1 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 03%3A00%3A00/region=10 +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from partition_timestamp_1_temp where dt > timestamp '2000-01-01 01:00:00' and region = '1' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_timestamp_1_temp +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 01%3A00%3A00/region=1 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 02%3A00%3A00/region=2 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 01%3A00%3A00/region=2020-20-20 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 02%3A00%3A00/region=1 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 03%3A00%3A00/region=10 +#### A masked pattern was here #### +20 +PREHOOK: query: select count(*) from partition_timestamp_1_temp where dt < timestamp '2000-01-02 01:00:00' and region = '1' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_timestamp_1_temp +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 01%3A00%3A00/region=1 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 02%3A00%3A00/region=2 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 01%3A00%3A00/region=2020-20-20 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 02%3A00%3A00/region=1 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 03%3A00%3A00/region=10 +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from partition_timestamp_1_temp where dt < timestamp '2000-01-02 01:00:00' and region = '1' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_timestamp_1_temp +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 01%3A00%3A00/region=1 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 02%3A00%3A00/region=2 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 01%3A00%3A00/region=2020-20-20 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 02%3A00%3A00/region=1 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 03%3A00%3A00/region=10 +#### A masked pattern was here #### +10 +PREHOOK: query: select count(*) from partition_timestamp_1_temp where dt >= timestamp '2000-01-02 01:00:00' and region = '1' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_timestamp_1_temp +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 01%3A00%3A00/region=1 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 02%3A00%3A00/region=2 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 01%3A00%3A00/region=2020-20-20 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 02%3A00%3A00/region=1 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 03%3A00%3A00/region=10 +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from partition_timestamp_1_temp where dt >= timestamp '2000-01-02 01:00:00' and region = '1' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_timestamp_1_temp +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 01%3A00%3A00/region=1 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 02%3A00%3A00/region=2 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 01%3A00%3A00/region=2020-20-20 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 02%3A00%3A00/region=1 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 03%3A00%3A00/region=10 +#### A masked pattern was here #### +20 +PREHOOK: query: select count(*) from partition_timestamp_1_temp where dt <= timestamp '2000-01-01 01:00:00' and region = '1' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_timestamp_1_temp +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 01%3A00%3A00/region=1 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 02%3A00%3A00/region=2 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 01%3A00%3A00/region=2020-20-20 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 02%3A00%3A00/region=1 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 03%3A00%3A00/region=10 +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from partition_timestamp_1_temp where dt <= timestamp '2000-01-01 01:00:00' and region = '1' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_timestamp_1_temp +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 01%3A00%3A00/region=1 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 02%3A00%3A00/region=2 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 01%3A00%3A00/region=2020-20-20 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 02%3A00%3A00/region=1 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 03%3A00%3A00/region=10 +#### A masked pattern was here #### +10 +PREHOOK: query: select count(*) from partition_timestamp_1_temp where dt <> timestamp '2000-01-01 01:00:00' and region = '1' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_timestamp_1_temp +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 01%3A00%3A00/region=1 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 02%3A00%3A00/region=2 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 01%3A00%3A00/region=2020-20-20 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 02%3A00%3A00/region=1 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 03%3A00%3A00/region=10 +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from partition_timestamp_1_temp where dt <> timestamp '2000-01-01 01:00:00' and region = '1' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_timestamp_1_temp +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 01%3A00%3A00/region=1 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 02%3A00%3A00/region=2 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 01%3A00%3A00/region=2020-20-20 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 02%3A00%3A00/region=1 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 03%3A00%3A00/region=10 +#### A masked pattern was here #### +20 +PREHOOK: query: select count(*) from partition_timestamp_1_temp where dt between timestamp '1999-12-30 12:00:00' and timestamp '2000-01-03 12:00:00' and region = '1' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_timestamp_1_temp +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 01%3A00%3A00/region=1 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 02%3A00%3A00/region=2 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 01%3A00%3A00/region=2020-20-20 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 02%3A00%3A00/region=1 +PREHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 03%3A00%3A00/region=10 +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from partition_timestamp_1_temp where dt between timestamp '1999-12-30 12:00:00' and timestamp '2000-01-03 12:00:00' and region = '1' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_timestamp_1_temp +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 01%3A00%3A00/region=1 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2000-01-01 02%3A00%3A00/region=2 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 01%3A00%3A00/region=2020-20-20 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 02%3A00%3A00/region=1 +POSTHOOK: Input: default@partition_timestamp_1_temp@dt=2001-01-01 03%3A00%3A00/region=10 +#### A masked pattern was here #### +10 +PREHOOK: query: select count(*) from partition_timestamp_1_temp where region = '2020-20-20' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_timestamp_1_temp +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from partition_timestamp_1_temp where region = '2020-20-20' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_timestamp_1_temp +#### A masked pattern was here #### +5 +PREHOOK: query: select count(*) from partition_timestamp_1_temp where region > '2010-01-01' +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_timestamp_1_temp +#### A masked pattern was here #### +POSTHOOK: query: select count(*) from partition_timestamp_1_temp where region > '2010-01-01' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_timestamp_1_temp +#### A masked pattern was here #### +5 +PREHOOK: query: drop table partition_timestamp_1_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@partition_timestamp_1_temp +PREHOOK: Output: default@partition_timestamp_1_temp +POSTHOOK: query: drop table partition_timestamp_1_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@partition_timestamp_1_temp +POSTHOOK: Output: default@partition_timestamp_1_temp diff --git a/ql/src/test/results/clientpositive/temp_table_partition_type_check.q.out b/ql/src/test/results/clientpositive/temp_table_partition_type_check.q.out new file mode 100644 index 0000000000..3c67e4ab33 --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_partition_type_check.q.out @@ -0,0 +1,129 @@ +PREHOOK: query: CREATE TEMPORARY TABLE tab1_n3_temp (id1 int,id2 string) PARTITIONED BY(month string,day string) stored as textfile +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@tab1_n3_temp +POSTHOOK: query: CREATE TEMPORARY TABLE tab1_n3_temp (id1 int,id2 string) PARTITIONED BY(month string,day string) stored as textfile +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@tab1_n3_temp +PREHOOK: query: LOAD DATA LOCAL INPATH '../../data/files/T1.txt' overwrite into table tab1_n3_temp PARTITION(month='June', day=2) +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@tab1_n3_temp +POSTHOOK: query: LOAD DATA LOCAL INPATH '../../data/files/T1.txt' overwrite into table tab1_n3_temp PARTITION(month='June', day=2) +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@tab1_n3_temp +POSTHOOK: Output: default@tab1_n3_temp@month=June/day=2 +PREHOOK: query: select * from tab1_n3_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@tab1_n3_temp +PREHOOK: Input: default@tab1_n3_temp@month=June/day=2 +#### A masked pattern was here #### +POSTHOOK: query: select * from tab1_n3_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@tab1_n3_temp +POSTHOOK: Input: default@tab1_n3_temp@month=June/day=2 +#### A masked pattern was here #### +1 11 June 2 +2 12 June 2 +3 13 June 2 +7 17 June 2 +8 18 June 2 +8 28 June 2 +PREHOOK: query: drop table tab1_n3_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@tab1_n3_temp +PREHOOK: Output: default@tab1_n3_temp +POSTHOOK: query: drop table tab1_n3_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@tab1_n3_temp +POSTHOOK: Output: default@tab1_n3_temp +PREHOOK: query: CREATE TABLE tab1_n3_temp (id1 int,id2 string) PARTITIONED BY(month string,day int) stored as textfile +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@tab1_n3_temp +POSTHOOK: query: CREATE TABLE tab1_n3_temp (id1 int,id2 string) PARTITIONED BY(month string,day int) stored as textfile +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@tab1_n3_temp +PREHOOK: query: LOAD DATA LOCAL INPATH '../../data/files/T1.txt' overwrite into table tab1_n3_temp PARTITION(month='June', day='2') +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@tab1_n3_temp +POSTHOOK: query: LOAD DATA LOCAL INPATH '../../data/files/T1.txt' overwrite into table tab1_n3_temp PARTITION(month='June', day='2') +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@tab1_n3_temp +POSTHOOK: Output: default@tab1_n3_temp@month=June/day=2 +PREHOOK: query: select * from tab1_n3_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@tab1_n3_temp +PREHOOK: Input: default@tab1_n3_temp@month=June/day=2 +#### A masked pattern was here #### +POSTHOOK: query: select * from tab1_n3_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@tab1_n3_temp +POSTHOOK: Input: default@tab1_n3_temp@month=June/day=2 +#### A masked pattern was here #### +1 11 June 2 +2 12 June 2 +3 13 June 2 +7 17 June 2 +8 18 June 2 +8 28 June 2 +PREHOOK: query: drop table tab1_n3_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@tab1_n3_temp +PREHOOK: Output: default@tab1_n3_temp +POSTHOOK: query: drop table tab1_n3_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@tab1_n3_temp +POSTHOOK: Output: default@tab1_n3_temp +PREHOOK: query: create table tab1_n3_temp (id1 int, id2 string) PARTITIONED BY(month string,day date) stored as textfile +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@tab1_n3_temp +POSTHOOK: query: create table tab1_n3_temp (id1 int, id2 string) PARTITIONED BY(month string,day date) stored as textfile +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@tab1_n3_temp +PREHOOK: query: alter table tab1_n3_temp add partition (month='June', day='2008-01-01') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@tab1_n3_temp +POSTHOOK: query: alter table tab1_n3_temp add partition (month='June', day='2008-01-01') +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@tab1_n3_temp +POSTHOOK: Output: default@tab1_n3_temp@month=June/day=2008-01-01 +PREHOOK: query: LOAD DATA LOCAL INPATH '../../data/files/T1.txt' overwrite into table tab1_n3_temp PARTITION(month='June', day='2008-01-01') +PREHOOK: type: LOAD +#### A masked pattern was here #### +PREHOOK: Output: default@tab1_n3_temp@month=June/day=2008-01-01 +POSTHOOK: query: LOAD DATA LOCAL INPATH '../../data/files/T1.txt' overwrite into table tab1_n3_temp PARTITION(month='June', day='2008-01-01') +POSTHOOK: type: LOAD +#### A masked pattern was here #### +POSTHOOK: Output: default@tab1_n3_temp@month=June/day=2008-01-01 +PREHOOK: query: select id1, id2, day from tab1_n3_temp where day='2008-01-01' +PREHOOK: type: QUERY +PREHOOK: Input: default@tab1_n3_temp +PREHOOK: Input: default@tab1_n3_temp@month=June/day=2008-01-01 +#### A masked pattern was here #### +POSTHOOK: query: select id1, id2, day from tab1_n3_temp where day='2008-01-01' +POSTHOOK: type: QUERY +POSTHOOK: Input: default@tab1_n3_temp +POSTHOOK: Input: default@tab1_n3_temp@month=June/day=2008-01-01 +#### A masked pattern was here #### +1 11 2008-01-01 +2 12 2008-01-01 +3 13 2008-01-01 +7 17 2008-01-01 +8 18 2008-01-01 +8 28 2008-01-01 +PREHOOK: query: drop table tab1_n3_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@tab1_n3_temp +PREHOOK: Output: default@tab1_n3_temp +POSTHOOK: query: drop table tab1_n3_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@tab1_n3_temp +POSTHOOK: Output: default@tab1_n3_temp diff --git a/ql/src/test/results/clientpositive/temp_table_partition_type_in_plan.q.out b/ql/src/test/results/clientpositive/temp_table_partition_type_in_plan.q.out new file mode 100644 index 0000000000..146ade6d80 --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_partition_type_in_plan.q.out @@ -0,0 +1,51 @@ +PREHOOK: query: CREATE TEMPORARY TABLE datePartTbl_temp(col1 string) PARTITIONED BY (date_prt date) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@datePartTbl_temp +POSTHOOK: query: CREATE TEMPORARY TABLE datePartTbl_temp(col1 string) PARTITIONED BY (date_prt date) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@datePartTbl_temp +PREHOOK: query: INSERT OVERWRITE TABLE datePartTbl_temp PARTITION(date_prt='2014-08-09') + SELECT 'col1-2014-08-09' FROM src LIMIT 1 +PREHOOK: type: QUERY +PREHOOK: Input: default@src +PREHOOK: Output: default@dateparttbl_temp@date_prt=2014-08-09 +POSTHOOK: query: INSERT OVERWRITE TABLE datePartTbl_temp PARTITION(date_prt='2014-08-09') + SELECT 'col1-2014-08-09' FROM src LIMIT 1 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src +POSTHOOK: Output: default@dateparttbl_temp@date_prt=2014-08-09 +POSTHOOK: Lineage: dateparttbl_temp PARTITION(date_prt=2014-08-09).col1 SIMPLE [] +PREHOOK: query: INSERT OVERWRITE TABLE datePartTbl_temp PARTITION(date_prt='2014-08-10') + SELECT 'col1-2014-08-10' FROM src LIMIT 1 +PREHOOK: type: QUERY +PREHOOK: Input: default@src +PREHOOK: Output: default@dateparttbl_temp@date_prt=2014-08-10 +POSTHOOK: query: INSERT OVERWRITE TABLE datePartTbl_temp PARTITION(date_prt='2014-08-10') + SELECT 'col1-2014-08-10' FROM src LIMIT 1 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src +POSTHOOK: Output: default@dateparttbl_temp@date_prt=2014-08-10 +POSTHOOK: Lineage: dateparttbl_temp PARTITION(date_prt=2014-08-10).col1 SIMPLE [] +PREHOOK: query: SELECT * FROM datePartTbl_temp WHERE date_prt IN (CAST('2014-08-09' AS DATE), CAST('2014-08-08' AS DATE)) +PREHOOK: type: QUERY +PREHOOK: Input: default@dateparttbl_temp +PREHOOK: Input: default@dateparttbl_temp@date_prt=2014-08-09 +PREHOOK: Input: default@dateparttbl_temp@date_prt=2014-08-10 +#### A masked pattern was here #### +POSTHOOK: query: SELECT * FROM datePartTbl_temp WHERE date_prt IN (CAST('2014-08-09' AS DATE), CAST('2014-08-08' AS DATE)) +POSTHOOK: type: QUERY +POSTHOOK: Input: default@dateparttbl_temp +POSTHOOK: Input: default@dateparttbl_temp@date_prt=2014-08-09 +POSTHOOK: Input: default@dateparttbl_temp@date_prt=2014-08-10 +#### A masked pattern was here #### +col1-2014-08-09 2014-08-09 +PREHOOK: query: DROP TABLE datePartTbl_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@dateparttbl_temp +PREHOOK: Output: default@dateparttbl_temp +POSTHOOK: query: DROP TABLE datePartTbl_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@dateparttbl_temp +POSTHOOK: Output: default@dateparttbl_temp diff --git a/ql/src/test/results/clientpositive/temp_table_partition_wise_fileformat.q.out b/ql/src/test/results/clientpositive/temp_table_partition_wise_fileformat.q.out new file mode 100644 index 0000000000..8aa03b1d3e --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_partition_wise_fileformat.q.out @@ -0,0 +1,708 @@ +PREHOOK: query: create temporary table partition_test_partitioned_n1_temp(key string, value string) partitioned by (dt string) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@partition_test_partitioned_n1_temp +POSTHOOK: query: create temporary table partition_test_partitioned_n1_temp(key string, value string) partitioned by (dt string) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@partition_test_partitioned_n1_temp +PREHOOK: query: insert overwrite table partition_test_partitioned_n1_temp partition(dt=100) select * from src1 +PREHOOK: type: QUERY +PREHOOK: Input: default@src1 +PREHOOK: Output: default@partition_test_partitioned_n1_temp@dt=100 +POSTHOOK: query: insert overwrite table partition_test_partitioned_n1_temp partition(dt=100) select * from src1 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src1 +POSTHOOK: Output: default@partition_test_partitioned_n1_temp@dt=100 +POSTHOOK: Lineage: partition_test_partitioned_n1_temp PARTITION(dt=100).key SIMPLE [(src1)src1.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_test_partitioned_n1_temp PARTITION(dt=100).value SIMPLE [(src1)src1.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: show table extended like partition_test_partitioned_n1_temp +PREHOOK: type: SHOW_TABLESTATUS +POSTHOOK: query: show table extended like partition_test_partitioned_n1_temp +POSTHOOK: type: SHOW_TABLESTATUS +tableName:partition_test_partitioned_n1_temp +#### A masked pattern was here #### +inputformat:org.apache.hadoop.mapred.TextInputFormat +outputformat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat +columns:struct columns { string key, string value} +partitioned:true +partitionColumns:struct partition_columns { string dt} +totalNumberFiles:1 +totalFileSize:216 +maxFileSize:216 +minFileSize:216 +#### A masked pattern was here #### + +PREHOOK: query: show table extended like partition_test_partitioned_n1_temp partition(dt=100) +PREHOOK: type: SHOW_TABLESTATUS +POSTHOOK: query: show table extended like partition_test_partitioned_n1_temp partition(dt=100) +POSTHOOK: type: SHOW_TABLESTATUS +tableName:partition_test_partitioned_n1_temp +#### A masked pattern was here #### +inputformat:org.apache.hadoop.mapred.TextInputFormat +outputformat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat +columns:struct columns { string key, string value} +partitioned:true +partitionColumns:struct partition_columns { string dt} +totalNumberFiles:1 +totalFileSize:216 +maxFileSize:216 +minFileSize:216 +#### A masked pattern was here #### + +PREHOOK: query: select key from partition_test_partitioned_n1_temp where dt=100 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_partitioned_n1_temp +PREHOOK: Input: default@partition_test_partitioned_n1_temp@dt=100 +#### A masked pattern was here #### +POSTHOOK: query: select key from partition_test_partitioned_n1_temp where dt=100 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_partitioned_n1_temp +POSTHOOK: Input: default@partition_test_partitioned_n1_temp@dt=100 +#### A masked pattern was here #### +238 + +311 + + + +255 +278 +98 + + + +401 +150 +273 +224 +369 +66 +128 +213 +146 +406 + + + +PREHOOK: query: select key from partition_test_partitioned_n1_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_partitioned_n1_temp +PREHOOK: Input: default@partition_test_partitioned_n1_temp@dt=100 +#### A masked pattern was here #### +POSTHOOK: query: select key from partition_test_partitioned_n1_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_partitioned_n1_temp +POSTHOOK: Input: default@partition_test_partitioned_n1_temp@dt=100 +#### A masked pattern was here #### +238 + +311 + + + +255 +278 +98 + + + +401 +150 +273 +224 +369 +66 +128 +213 +146 +406 + + + +PREHOOK: query: alter table partition_test_partitioned_n1_temp set fileformat rcfile +PREHOOK: type: ALTERTABLE_FILEFORMAT +PREHOOK: Input: default@partition_test_partitioned_n1_temp +PREHOOK: Output: default@partition_test_partitioned_n1_temp +POSTHOOK: query: alter table partition_test_partitioned_n1_temp set fileformat rcfile +POSTHOOK: type: ALTERTABLE_FILEFORMAT +POSTHOOK: Input: default@partition_test_partitioned_n1_temp +POSTHOOK: Output: default@partition_test_partitioned_n1_temp +PREHOOK: query: insert overwrite table partition_test_partitioned_n1_temp partition(dt=101) select * from src1 +PREHOOK: type: QUERY +PREHOOK: Input: default@src1 +PREHOOK: Output: default@partition_test_partitioned_n1_temp@dt=101 +POSTHOOK: query: insert overwrite table partition_test_partitioned_n1_temp partition(dt=101) select * from src1 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src1 +POSTHOOK: Output: default@partition_test_partitioned_n1_temp@dt=101 +POSTHOOK: Lineage: partition_test_partitioned_n1_temp PARTITION(dt=101).key SIMPLE [(src1)src1.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_test_partitioned_n1_temp PARTITION(dt=101).value SIMPLE [(src1)src1.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: show table extended like partition_test_partitioned_n1_temp +PREHOOK: type: SHOW_TABLESTATUS +POSTHOOK: query: show table extended like partition_test_partitioned_n1_temp +POSTHOOK: type: SHOW_TABLESTATUS +tableName:partition_test_partitioned_n1_temp +#### A masked pattern was here #### +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 +#### A masked pattern was here #### + +PREHOOK: query: show table extended like partition_test_partitioned_n1_temp partition(dt=100) +PREHOOK: type: SHOW_TABLESTATUS +POSTHOOK: query: show table extended like partition_test_partitioned_n1_temp partition(dt=100) +POSTHOOK: type: SHOW_TABLESTATUS +tableName:partition_test_partitioned_n1_temp +#### A masked pattern was here #### +inputformat:org.apache.hadoop.mapred.TextInputFormat +outputformat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat +columns:struct columns { string key, string value} +partitioned:true +partitionColumns:struct partition_columns { string dt} +totalNumberFiles:1 +totalFileSize:216 +maxFileSize:216 +minFileSize:216 +#### A masked pattern was here #### + +PREHOOK: query: show table extended like partition_test_partitioned_n1_temp partition(dt=101) +PREHOOK: type: SHOW_TABLESTATUS +POSTHOOK: query: show table extended like partition_test_partitioned_n1_temp partition(dt=101) +POSTHOOK: type: SHOW_TABLESTATUS +tableName:partition_test_partitioned_n1_temp +#### A masked pattern was here #### +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 +#### A masked pattern was here #### + +PREHOOK: query: select key from partition_test_partitioned_n1_temp where dt=100 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_partitioned_n1_temp +PREHOOK: Input: default@partition_test_partitioned_n1_temp@dt=100 +PREHOOK: Input: default@partition_test_partitioned_n1_temp@dt=101 +#### A masked pattern was here #### +POSTHOOK: query: select key from partition_test_partitioned_n1_temp where dt=100 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_partitioned_n1_temp +POSTHOOK: Input: default@partition_test_partitioned_n1_temp@dt=100 +POSTHOOK: Input: default@partition_test_partitioned_n1_temp@dt=101 +#### A masked pattern was here #### +238 + +311 + + + +255 +278 +98 + + + +401 +150 +273 +224 +369 +66 +128 +213 +146 +406 + + + +PREHOOK: query: select key from partition_test_partitioned_n1_temp where dt=101 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_partitioned_n1_temp +PREHOOK: Input: default@partition_test_partitioned_n1_temp@dt=100 +PREHOOK: Input: default@partition_test_partitioned_n1_temp@dt=101 +#### A masked pattern was here #### +POSTHOOK: query: select key from partition_test_partitioned_n1_temp where dt=101 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_partitioned_n1_temp +POSTHOOK: Input: default@partition_test_partitioned_n1_temp@dt=100 +POSTHOOK: Input: default@partition_test_partitioned_n1_temp@dt=101 +#### A masked pattern was here #### +238 + +311 + + + +255 +278 +98 + + + +401 +150 +273 +224 +369 +66 +128 +213 +146 +406 + + + +PREHOOK: query: select key from partition_test_partitioned_n1_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_partitioned_n1_temp +PREHOOK: Input: default@partition_test_partitioned_n1_temp@dt=100 +PREHOOK: Input: default@partition_test_partitioned_n1_temp@dt=101 +#### A masked pattern was here #### +POSTHOOK: query: select key from partition_test_partitioned_n1_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_partitioned_n1_temp +POSTHOOK: Input: default@partition_test_partitioned_n1_temp@dt=100 +POSTHOOK: Input: default@partition_test_partitioned_n1_temp@dt=101 +#### A masked pattern was here #### +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 + + + +PREHOOK: query: alter table partition_test_partitioned_n1_temp set fileformat Sequencefile +PREHOOK: type: ALTERTABLE_FILEFORMAT +PREHOOK: Input: default@partition_test_partitioned_n1_temp +PREHOOK: Output: default@partition_test_partitioned_n1_temp +POSTHOOK: query: alter table partition_test_partitioned_n1_temp set fileformat Sequencefile +POSTHOOK: type: ALTERTABLE_FILEFORMAT +POSTHOOK: Input: default@partition_test_partitioned_n1_temp +POSTHOOK: Output: default@partition_test_partitioned_n1_temp +PREHOOK: query: insert overwrite table partition_test_partitioned_n1_temp partition(dt=102) select * from src1 +PREHOOK: type: QUERY +PREHOOK: Input: default@src1 +PREHOOK: Output: default@partition_test_partitioned_n1_temp@dt=102 +POSTHOOK: query: insert overwrite table partition_test_partitioned_n1_temp partition(dt=102) select * from src1 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src1 +POSTHOOK: Output: default@partition_test_partitioned_n1_temp@dt=102 +POSTHOOK: Lineage: partition_test_partitioned_n1_temp PARTITION(dt=102).key SIMPLE [(src1)src1.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: partition_test_partitioned_n1_temp PARTITION(dt=102).value SIMPLE [(src1)src1.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: show table extended like partition_test_partitioned_n1_temp +PREHOOK: type: SHOW_TABLESTATUS +POSTHOOK: query: show table extended like partition_test_partitioned_n1_temp +POSTHOOK: type: SHOW_TABLESTATUS +tableName:partition_test_partitioned_n1_temp +#### A masked pattern was here #### +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:1094 +maxFileSize:603 +minFileSize:216 +#### A masked pattern was here #### + +PREHOOK: query: show table extended like partition_test_partitioned_n1_temp partition(dt=100) +PREHOOK: type: SHOW_TABLESTATUS +POSTHOOK: query: show table extended like partition_test_partitioned_n1_temp partition(dt=100) +POSTHOOK: type: SHOW_TABLESTATUS +tableName:partition_test_partitioned_n1_temp +#### A masked pattern was here #### +inputformat:org.apache.hadoop.mapred.TextInputFormat +outputformat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat +columns:struct columns { string key, string value} +partitioned:true +partitionColumns:struct partition_columns { string dt} +totalNumberFiles:1 +totalFileSize:216 +maxFileSize:216 +minFileSize:216 +#### A masked pattern was here #### + +PREHOOK: query: show table extended like partition_test_partitioned_n1_temp partition(dt=101) +PREHOOK: type: SHOW_TABLESTATUS +POSTHOOK: query: show table extended like partition_test_partitioned_n1_temp partition(dt=101) +POSTHOOK: type: SHOW_TABLESTATUS +tableName:partition_test_partitioned_n1_temp +#### A masked pattern was here #### +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 +#### A masked pattern was here #### + +PREHOOK: query: show table extended like partition_test_partitioned_n1_temp partition(dt=102) +PREHOOK: type: SHOW_TABLESTATUS +POSTHOOK: query: show table extended like partition_test_partitioned_n1_temp partition(dt=102) +POSTHOOK: type: SHOW_TABLESTATUS +tableName:partition_test_partitioned_n1_temp +#### A masked pattern was here #### +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:603 +maxFileSize:603 +minFileSize:603 +#### A masked pattern was here #### + +PREHOOK: query: select key from partition_test_partitioned_n1_temp where dt=100 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_partitioned_n1_temp +PREHOOK: Input: default@partition_test_partitioned_n1_temp@dt=100 +PREHOOK: Input: default@partition_test_partitioned_n1_temp@dt=101 +PREHOOK: Input: default@partition_test_partitioned_n1_temp@dt=102 +#### A masked pattern was here #### +POSTHOOK: query: select key from partition_test_partitioned_n1_temp where dt=100 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_partitioned_n1_temp +POSTHOOK: Input: default@partition_test_partitioned_n1_temp@dt=100 +POSTHOOK: Input: default@partition_test_partitioned_n1_temp@dt=101 +POSTHOOK: Input: default@partition_test_partitioned_n1_temp@dt=102 +#### A masked pattern was here #### +238 + +311 + + + +255 +278 +98 + + + +401 +150 +273 +224 +369 +66 +128 +213 +146 +406 + + + +PREHOOK: query: select key from partition_test_partitioned_n1_temp where dt=101 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_partitioned_n1_temp +PREHOOK: Input: default@partition_test_partitioned_n1_temp@dt=100 +PREHOOK: Input: default@partition_test_partitioned_n1_temp@dt=101 +PREHOOK: Input: default@partition_test_partitioned_n1_temp@dt=102 +#### A masked pattern was here #### +POSTHOOK: query: select key from partition_test_partitioned_n1_temp where dt=101 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_partitioned_n1_temp +POSTHOOK: Input: default@partition_test_partitioned_n1_temp@dt=100 +POSTHOOK: Input: default@partition_test_partitioned_n1_temp@dt=101 +POSTHOOK: Input: default@partition_test_partitioned_n1_temp@dt=102 +#### A masked pattern was here #### +238 + +311 + + + +255 +278 +98 + + + +401 +150 +273 +224 +369 +66 +128 +213 +146 +406 + + + +PREHOOK: query: select key from partition_test_partitioned_n1_temp where dt=102 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_partitioned_n1_temp +PREHOOK: Input: default@partition_test_partitioned_n1_temp@dt=100 +PREHOOK: Input: default@partition_test_partitioned_n1_temp@dt=101 +PREHOOK: Input: default@partition_test_partitioned_n1_temp@dt=102 +#### A masked pattern was here #### +POSTHOOK: query: select key from partition_test_partitioned_n1_temp where dt=102 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_partitioned_n1_temp +POSTHOOK: Input: default@partition_test_partitioned_n1_temp@dt=100 +POSTHOOK: Input: default@partition_test_partitioned_n1_temp@dt=101 +POSTHOOK: Input: default@partition_test_partitioned_n1_temp@dt=102 +#### A masked pattern was here #### +238 + +311 + + + +255 +278 +98 + + + +401 +150 +273 +224 +369 +66 +128 +213 +146 +406 + + + +PREHOOK: query: select key from partition_test_partitioned_n1_temp +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_partitioned_n1_temp +PREHOOK: Input: default@partition_test_partitioned_n1_temp@dt=100 +PREHOOK: Input: default@partition_test_partitioned_n1_temp@dt=101 +PREHOOK: Input: default@partition_test_partitioned_n1_temp@dt=102 +#### A masked pattern was here #### +POSTHOOK: query: select key from partition_test_partitioned_n1_temp +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_partitioned_n1_temp +POSTHOOK: Input: default@partition_test_partitioned_n1_temp@dt=100 +POSTHOOK: Input: default@partition_test_partitioned_n1_temp@dt=101 +POSTHOOK: Input: default@partition_test_partitioned_n1_temp@dt=102 +#### A masked pattern was here #### +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 + + + +PREHOOK: query: select key from partition_test_partitioned_n1_temp where dt >=100 and dt <= 102 +PREHOOK: type: QUERY +PREHOOK: Input: default@partition_test_partitioned_n1_temp +PREHOOK: Input: default@partition_test_partitioned_n1_temp@dt=100 +PREHOOK: Input: default@partition_test_partitioned_n1_temp@dt=101 +PREHOOK: Input: default@partition_test_partitioned_n1_temp@dt=102 +#### A masked pattern was here #### +POSTHOOK: query: select key from partition_test_partitioned_n1_temp where dt >=100 and dt <= 102 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@partition_test_partitioned_n1_temp +POSTHOOK: Input: default@partition_test_partitioned_n1_temp@dt=100 +POSTHOOK: Input: default@partition_test_partitioned_n1_temp@dt=101 +POSTHOOK: Input: default@partition_test_partitioned_n1_temp@dt=102 +#### A masked pattern was here #### +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 + + + diff --git a/ql/src/test/results/clientpositive/temp_table_partitions_json.q.out b/ql/src/test/results/clientpositive/temp_table_partitions_json.q.out new file mode 100644 index 0000000000..640de238e3 --- /dev/null +++ b/ql/src/test/results/clientpositive/temp_table_partitions_json.q.out @@ -0,0 +1,77 @@ +PREHOOK: query: CREATE TEMPORARY TABLE add_part_test_n0_temp (key STRING, value STRING) PARTITIONED BY (ds STRING) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@add_part_test_n0_temp +POSTHOOK: query: CREATE TEMPORARY TABLE add_part_test_n0_temp (key STRING, value STRING) PARTITIONED BY (ds STRING) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@add_part_test_n0_temp +PREHOOK: query: SHOW PARTITIONS add_part_test_n0_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@add_part_test_n0_temp +POSTHOOK: query: SHOW PARTITIONS add_part_test_n0_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@add_part_test_n0_temp +{"partitions":[]} +PREHOOK: query: ALTER TABLE add_part_test_n0_temp ADD PARTITION (ds='2010-01-01') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@add_part_test_n0_temp +POSTHOOK: query: ALTER TABLE add_part_test_n0_temp ADD PARTITION (ds='2010-01-01') +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@add_part_test_n0_temp +POSTHOOK: Output: default@add_part_test_n0_temp@ds=2010-01-01 +PREHOOK: query: SHOW PARTITIONS add_part_test_n0_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@add_part_test_n0_temp +POSTHOOK: query: SHOW PARTITIONS add_part_test_n0_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@add_part_test_n0_temp +{"partitions":[{"name":"ds='2010-01-01'","values":[{"columnName":"ds","columnValue":"2010-01-01"}]}]} +PREHOOK: query: ALTER TABLE add_part_test_n0_temp ADD IF NOT EXISTS PARTITION (ds='2010-01-01') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@add_part_test_n0_temp +POSTHOOK: query: ALTER TABLE add_part_test_n0_temp ADD IF NOT EXISTS PARTITION (ds='2010-01-01') +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@add_part_test_n0_temp +PREHOOK: query: SHOW PARTITIONS add_part_test_n0_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@add_part_test_n0_temp +POSTHOOK: query: SHOW PARTITIONS add_part_test_n0_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@add_part_test_n0_temp +{"partitions":[{"name":"ds='2010-01-01'","values":[{"columnName":"ds","columnValue":"2010-01-01"}]}]} +PREHOOK: query: ALTER TABLE add_part_test_n0_temp ADD IF NOT EXISTS PARTITION (ds='2010-01-02') +PREHOOK: type: ALTERTABLE_ADDPARTS +PREHOOK: Output: default@add_part_test_n0_temp +POSTHOOK: query: ALTER TABLE add_part_test_n0_temp ADD IF NOT EXISTS PARTITION (ds='2010-01-02') +POSTHOOK: type: ALTERTABLE_ADDPARTS +POSTHOOK: Output: default@add_part_test_n0_temp +POSTHOOK: Output: default@add_part_test_n0_temp@ds=2010-01-02 +PREHOOK: query: SHOW PARTITIONS add_part_test_n0_temp +PREHOOK: type: SHOWPARTITIONS +PREHOOK: Input: default@add_part_test_n0_temp +POSTHOOK: query: SHOW PARTITIONS add_part_test_n0_temp +POSTHOOK: type: SHOWPARTITIONS +POSTHOOK: Input: default@add_part_test_n0_temp +{"partitions":[{"name":"ds='2010-01-01'","values":[{"columnName":"ds","columnValue":"2010-01-01"}]},{"name":"ds='2010-01-02'","values":[{"columnName":"ds","columnValue":"2010-01-02"}]}]} +PREHOOK: query: SHOW TABLE EXTENDED LIKE add_part_test_n0_temp PARTITION (ds='2010-01-02') +PREHOOK: type: SHOW_TABLESTATUS +POSTHOOK: query: SHOW TABLE EXTENDED LIKE add_part_test_n0_temp PARTITION (ds='2010-01-02') +POSTHOOK: type: SHOW_TABLESTATUS +#### A masked pattern was here #### +PREHOOK: query: ALTER TABLE add_part_test_n0_temp DROP PARTITION (ds='2010-01-02') +PREHOOK: type: ALTERTABLE_DROPPARTS +PREHOOK: Input: default@add_part_test_n0_temp +PREHOOK: Output: default@add_part_test_n0_temp@ds=2010-01-02 +POSTHOOK: query: ALTER TABLE add_part_test_n0_temp DROP PARTITION (ds='2010-01-02') +POSTHOOK: type: ALTERTABLE_DROPPARTS +POSTHOOK: Input: default@add_part_test_n0_temp +POSTHOOK: Output: default@add_part_test_n0_temp@ds=2010-01-02 +PREHOOK: query: DROP TABLE add_part_test_n0_temp +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@add_part_test_n0_temp +PREHOOK: Output: default@add_part_test_n0_temp +POSTHOOK: query: DROP TABLE add_part_test_n0_temp +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@add_part_test_n0_temp +POSTHOOK: Output: default@add_part_test_n0_temp