You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by pv...@apache.org on 2020/01/06 13:39:50 UTC

[hive] branch master updated: HIVE-22280: Q tests for partitioned temporary tables (Laszlo Pinter via Peter Vary)

This is an automated email from the ASF dual-hosted git repository.

pvary pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git


The following commit(s) were added to refs/heads/master by this push:
     new 303337c  HIVE-22280: Q tests for partitioned temporary tables (Laszlo Pinter via Peter Vary)
303337c is described below

commit 303337c73909dc9691ca07ac4994c71b35c40902
Author: Laszlo Pinter <lp...@cloudera.com>
AuthorDate: Mon Jan 6 14:39:31 2020 +0100

    HIVE-22280: Q tests for partitioned temporary tables (Laszlo Pinter via Peter Vary)
---
 .../test/resources/testconfiguration.properties    |    6 +-
 .../queries/clientnegative/temp_table_addpart1.q   |   11 +
 .../temp_table_alter_rename_partition_failure.q    |    6 +
 .../temp_table_alter_rename_partition_failure2.q   |    7 +
 .../temp_table_alter_rename_partition_failure3.q   |    6 +
 .../temp_table_drop_partition_failure.q            |   11 +
 .../temp_table_drop_partition_filter_failure.q     |    8 +
 .../temp_table_exchange_partitions.q               |   15 +
 .../clientpositive/temp_table_add_part_exist.q     |   37 +
 .../clientpositive/temp_table_add_part_multiple.q  |   26 +
 .../clientpositive/temp_table_add_part_with_loc.q  |   16 +
 .../temp_table_alter_partition_change_col.q        |  251 ++
 .../temp_table_alter_partition_clusterby_sortby.q  |   23 +
 .../temp_table_alter_partition_coltype.q           |   78 +
 .../temp_table_alter_partition_onto_nocurrent_db.q |   17 +
 .../temp_table_alter_rename_partition.q            |   40 +
 .../clientpositive/temp_table_avro_partitioned.q   |  149 ++
 .../temp_table_avro_partitioned_native.q           |   30 +
 .../temp_table_default_partition_name.q            |    7 +
 .../temp_table_drop_multi_partitions.q             |   14 +
 .../temp_table_drop_partitions_filter.q            |   38 +
 .../temp_table_drop_partitions_filter2.q           |   21 +
 .../temp_table_drop_partitions_filter3.q           |   21 +
 .../temp_table_drop_partitions_filter4.q           |   40 +
 .../clientpositive/temp_table_exchange_partition.q |   15 +
 .../temp_table_exchange_partition2.q               |   12 +
 .../temp_table_exchange_partition3.q               |   15 +
 .../clientpositive/temp_table_exchgpartition2lel.q |   34 +
 .../temp_table_insert1_overwrite_partitions.q      |   52 +
 .../temp_table_insert2_overwrite_partitions.q      |   36 +
 .../temp_table_insert_values_dynamic_partitioned.q |   16 +
 .../temp_table_insert_values_partitioned.q         |   25 +
 ..._table_insert_with_move_files_from_source_dir.q |   21 +
 .../clientpositive/temp_table_llap_partitioned.q   |   71 +
 .../clientpositive/temp_table_load_dyn_part1.q     |   34 +
 .../queries/clientpositive/temp_table_loadpart1.q  |   19 +
 .../queries/clientpositive/temp_table_loadpart2.q  |    9 +
 .../temp_table_merge_dynamic_partition.q           |   54 +
 .../temp_table_merge_dynamic_partition2.q          |   32 +
 .../temp_table_merge_dynamic_partition3.q          |   44 +
 .../temp_table_merge_dynamic_partition4.q          |   47 +
 .../temp_table_merge_dynamic_partition5.q          |   43 +
 .../temp_table_multi_insert_partitioned.q          |   57 +
 .../clientpositive/temp_table_orc_diff_part_cols.q |   27 +
 .../temp_table_orc_diff_part_cols2.q               |   17 +
 .../temp_table_parquet_mixed_partition_formats.q   |   45 +
 .../temp_table_parquet_mixed_partition_formats2.q  |   33 +
 .../temp_table_parquet_partitioned.q               |   40 +
 .../temp_table_parquet_ppd_partition.q             |   10 +
 .../queries/clientpositive/temp_table_partInit.q   |   14 +
 .../queries/clientpositive/temp_table_partcols1.q  |   20 +
 .../clientpositive/temp_table_partition_boolean.q  |   34 +
 .../clientpositive/temp_table_partition_boolexpr.q |   15 +
 .../clientpositive/temp_table_partition_char.q     |   12 +
 .../temp_table_partition_condition_remover.q       |   14 +
 .../clientpositive/temp_table_partition_ctas.q     |   51 +
 .../clientpositive/temp_table_partition_date.q     |   60 +
 .../temp_table_partition_decode_name.q             |   22 +
 .../temp_table_partition_multilevels.q             |   95 +
 .../clientpositive/temp_table_partition_pruning.q  |   15 +
 .../clientpositive/temp_table_partition_schema1.q  |   13 +
 .../temp_table_partition_special_char.q            |   20 +
 .../temp_table_partition_timestamp.q               |   59 +
 .../temp_table_partition_type_check.q              |   26 +
 .../temp_table_partition_type_in_plan.q            |   16 +
 .../temp_table_partition_wise_fileformat.q         |   34 +
 .../clientpositive/temp_table_partitions_json.q    |   21 +
 .../clientnegative/temp_table_addpart1.q.out       |   26 +
 ...temp_table_alter_rename_partition_failure.q.out |   37 +
 ...emp_table_alter_rename_partition_failure2.q.out |   46 +
 ...emp_table_alter_rename_partition_failure3.q.out |   34 +
 .../temp_table_drop_partition_failure.q.out        |   39 +
 .../temp_table_drop_partition_filter_failure.q.out |   23 +
 .../temp_table_exchange_partitions.q.out           |   65 +
 .../llap/temp_table_add_part_with_loc.q.out        |   63 +
 .../llap/temp_table_drop_partitions_filter4.q.out  |  232 ++
 .../llap/temp_table_llap_partitioned.q.out         | 2504 ++++++++++++++++++++
 .../clientpositive/temp_table_add_part_exist.q.out |  174 ++
 .../temp_table_add_part_multiple.q.out             |  119 +
 .../temp_table_alter_partition_change_col.q.out    | 1129 +++++++++
 ...mp_table_alter_partition_clusterby_sortby.q.out |  201 ++
 .../temp_table_alter_partition_coltype.q.out       | 1038 ++++++++
 ...p_table_alter_partition_onto_nocurrent_db.q.out |   83 +
 .../temp_table_alter_rename_partition.q.out        |  244 ++
 .../temp_table_avro_partitioned.q.out              |  424 ++++
 .../temp_table_avro_partitioned_native.q.out       |  125 +
 .../temp_table_default_partition_name.q.out        |   22 +
 .../temp_table_drop_multi_partitions.q.out         |   63 +
 .../temp_table_drop_partitions_filter.q.out        |  286 +++
 .../temp_table_drop_partitions_filter2.q.out       |  123 +
 .../temp_table_drop_partitions_filter3.q.out       |  123 +
 .../temp_table_drop_partitions_filter4.q.out       |  224 ++
 .../temp_table_exchange_partition.q.out            |   84 +
 .../temp_table_exchange_partition2.q.out           |   72 +
 .../temp_table_exchange_partition3.q.out           |   93 +
 .../temp_table_exchgpartition2lel.q.out            |  222 ++
 .../temp_table_insert1_overwrite_partitions.q.out  |  503 ++++
 .../temp_table_insert2_overwrite_partitions.q.out  |  379 +++
 ...p_table_insert_values_dynamic_partitioned.q.out |   45 +
 .../temp_table_insert_values_partitioned.q.out     |   73 +
 ...le_insert_with_move_files_from_source_dir.q.out |  138 ++
 .../clientpositive/temp_table_load_dyn_part1.q.out | 2305 ++++++++++++++++++
 .../clientpositive/temp_table_loadpart1.q.out      |   98 +
 .../clientpositive/temp_table_loadpart2.q.out      |   58 +
 .../temp_table_merge_dynamic_partition.q.out       | 1981 ++++++++++++++++
 .../temp_table_merge_dynamic_partition2.q.out      |  212 ++
 .../temp_table_merge_dynamic_partition3.q.out      |  306 +++
 .../temp_table_merge_dynamic_partition4.q.out      |  265 +++
 .../temp_table_merge_dynamic_partition5.q.out      |  241 ++
 .../temp_table_multi_insert_partitioned.q.out      |  573 +++++
 .../temp_table_orc_diff_part_cols.q.out            |   65 +
 .../temp_table_orc_diff_part_cols2.q.out           |   40 +
 ...emp_table_parquet_mixed_partition_formats.q.out |  293 +++
 ...mp_table_parquet_mixed_partition_formats2.q.out |   99 +
 .../temp_table_parquet_partitioned.q.out           |  171 ++
 .../temp_table_parquet_ppd_partition.q.out         |   45 +
 .../clientpositive/temp_table_partInit.q.out       |   55 +
 .../clientpositive/temp_table_partcols1.q.out      |   63 +
 .../temp_table_partition_boolean.q.out             |  229 ++
 .../temp_table_partition_boolexpr.q.out            |  289 +++
 .../clientpositive/temp_table_partition_char.q.out |   43 +
 .../temp_table_partition_condition_remover.q.out   |   86 +
 .../clientpositive/temp_table_partition_ctas.q.out | 1134 +++++++++
 .../clientpositive/temp_table_partition_date.q.out |  379 +++
 .../temp_table_partition_decode_name.q.out         |   90 +
 .../temp_table_partition_multilevels.q.out         | 1640 +++++++++++++
 .../temp_table_partition_pruning.q.out             |  621 +++++
 .../temp_table_partition_schema1.q.out             |   66 +
 .../temp_table_partition_special_char.q.out        |   90 +
 .../temp_table_partition_timestamp.q.out           |  376 +++
 .../temp_table_partition_type_check.q.out          |  129 +
 .../temp_table_partition_type_in_plan.q.out        |   51 +
 .../temp_table_partition_wise_fileformat.q.out     |  708 ++++++
 .../temp_table_partitions_json.q.out               |   77 +
 134 files changed, 24160 insertions(+), 1 deletion(-)

diff --git a/itests/src/test/resources/testconfiguration.properties b/itests/src/test/resources/testconfiguration.properties
index fb88c12..1838300 100644
--- a/itests/src/test/resources/testconfiguration.properties
+++ b/itests/src/test/resources/testconfiguration.properties
@@ -418,6 +418,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,\
@@ -436,7 +437,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,\
@@ -778,6 +781,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 0000000..d0afeb9
--- /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 0000000..a810ba6
--- /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 0000000..716458a
--- /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 0000000..407044f
--- /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 0000000..9771525
--- /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 0000000..8306f01
--- /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 0000000..2f40a02
--- /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 0000000..0f81424
--- /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 0000000..db8e517
--- /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 0000000..8f84efc
--- /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 0000000..be50f84
--- /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 0000000..0bb0a84
--- /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 0000000..1f071a7
--- /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 0000000..0fc52b8
--- /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 0000000..99a84c8
--- /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 0000000..fc5ccee
--- /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 0000000..1d2dad1
--- /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 0000000..cd78dcd
--- /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 0000000..66798b3
--- /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 0000000..63e313e
--- /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 0000000..dcc2daf
--- /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 0000000..924e223
--- /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 0000000..1076570
--- /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 0000000..bb14a95
--- /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 0000000..0458f75
--- /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 0000000..1c2b4c5
--- /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 0000000..d15fd20
--- /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 0000000..71bd771
--- /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 0000000..d2ffd74
--- /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 0000000..cc8e851
--- /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 0000000..d23f50a
--- /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 0000000..e43962c
--- /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 0000000..e496bf7
--- /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 0000000..578edaa
--- /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 0000000..ef05109
--- /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 0000000..a027337
--- /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 0000000..c492dcf
--- /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 0000000..526669e
--- /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 0000000..70e68c8
--- /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 0000000..7985106
--- /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 0000000..b9ca73a
--- /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 0000000..68d0483
--- /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 0000000..13fd415
--- /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 0000000..7763fe0
--- /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 0000000..2532b33
--- /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<string, varchar(3)>,
+  l1 array<int>,
+  st1 struct<c1:int, c2:char(1)>,
+  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 0000000..9046460
--- /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<country:bigint,state:bigint> COMMENT 'from deserializer',
+  reports array<bigint> 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 0000000..5735eab
--- /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 0000000..75d80ef
--- /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 0000000..6dcdd77
--- /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 0000000..da8e88c
--- /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 0000000..b3d63e1
--- /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 0000000..ba7c561
--- /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 0000000..dd796b9
--- /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 0000000..e65877c
--- /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 0000000..1d55059
--- /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 0000000..6f3fd0a
--- /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 0000000..8185036
--- /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 0000000..6232146
--- /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 0000000..db79ee7
--- /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 0000000..ec937fa
--- /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 0000000..713b5a1
--- /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 0000000..09d4417
--- /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 0000000..d0dc355
--- /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 0000000..aaf8f77
--- /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 0000000..1b9d56b
--- /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 0000000..33d7e1e
--- /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 0000000..524a8e6
--- /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 0000000..66e4abb
--- /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 0000000..2e3b2c1
--- /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 0000000..d4a234c
--- /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 0000000..9879766
--- /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 0000000..7de1970
--- /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 0000000..5d94a7b
--- /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 0000000..366a87b
--- /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 0000000..7ddb6df
--- /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 0000000..371ce0f
--- /dev/null
+++ b/ql/src/test/results/clientpositive/llap/temp_table_llap_partitioned.q.out
@@ -0,0 +1,2504 @@
+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<writeid:bigint,bucketid:int,rowid:bigint>]
+                  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<writeid:bigint,bucketid:int,rowid:bigint>]
+                  Reduce Output Operator
+                    key expressions: ctinyint (type: tinyint)
+                    null sort order: a
+                    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<writeid:bigint,bucketid:int,rowid:bigint>]
+                  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
+                        null sort order: 
+                        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 0000000..f9efbfe
--- /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 0000000..d5f3fa4
--- /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 0000000..b7de24e
--- /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 0000000..65f24de
--- /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 0000000..740a270
--- /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 0000000..0fbb30f
--- /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 0000000..60c10c3
--- /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 0000000..4d46a89
--- /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 0000000..06c124a
--- /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 0000000..f3b6206
--- /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 0000000..d79d378
--- /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 0000000..ec4d537
--- /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 0000000..1e8bf45
--- /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)
... 15139 lines suppressed ...