hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ser...@apache.org
Subject [51/70] [abbrv] [partial] hive git commit: HIVE-15560: clean up out files that do not correspond to any q files (Gunther Hagleitner, reviewed by Sergey Shelukhin)
Date Tue, 07 Feb 2017 20:59:19 GMT
HIVE-15560: clean up out files that do not correspond to any q files (Gunther Hagleitner, reviewed by Sergey Shelukhin)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/8230b579
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/8230b579
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/8230b579

Branch: refs/heads/hive-14535
Commit: 8230b579370a21ed4f54e658f536258c96e7987a
Parents: b260654
Author: Gunther Hagleitner <gunther@apache.org>
Authored: Fri Feb 3 14:00:39 2017 -0800
Committer: Gunther Hagleitner <gunther@apache.org>
Committed: Mon Feb 6 12:55:03 2017 -0800

----------------------------------------------------------------------
 .../alter_partition_invalidspec.q.out           |   31 -
 .../clientnegative/alter_partition_nodrop.q.out |   43 -
 .../alter_partition_nodrop_table.q.out          |   47 -
 .../alter_partition_offline.q.out               |   79 -
 .../ambiguous_col_patterned.q.out               |    1 -
 .../database_already_exists.q.out               |   15 -
 .../drop_partition_filter_failure2.q.out        |   40 -
 .../clientnegative/drop_table_failure3.q.out    |   55 -
 ql/src/test/results/clientnegative/fatal.q.out  |    5 -
 .../clientnegative/orc_replace_columns.q.out    |   13 -
 .../clientnegative/protectmode_part.q.out       |   70 -
 .../clientnegative/protectmode_part1.q.out      |   87 -
 .../clientnegative/protectmode_part2.q.out      |   41 -
 .../protectmode_part_no_drop.q.out              |   49 -
 .../protectmode_part_no_drop2.q.out             |   51 -
 .../clientnegative/protectmode_tbl1.q.out       |   33 -
 .../clientnegative/protectmode_tbl2.q.out       |   63 -
 .../clientnegative/protectmode_tbl3.q.out       |   42 -
 .../clientnegative/protectmode_tbl4.q.out       |   75 -
 .../clientnegative/protectmode_tbl5.q.out       |   75 -
 .../clientnegative/protectmode_tbl6.q.out       |   29 -
 .../clientnegative/protectmode_tbl7.q.out       |   55 -
 .../clientnegative/protectmode_tbl8.q.out       |   55 -
 .../protectmode_tbl_no_drop.q.out               |   46 -
 .../results/clientnegative/sa_fail_hook3.q.out  |   25 -
 .../truncate_column_archived.q.out              |   20 -
 .../alter_partition_protect_mode.q.out          |  190 -
 .../drop_partitions_ignore_protection.q.out     |   60 -
 .../schema_evol_orc_acid_mapwork_part.q.out     | 3540 ---------------
 .../schema_evol_orc_acid_mapwork_table.q.out    | 3209 --------------
 .../schema_evol_orc_acidvec_mapwork_part.q.out  | 3540 ---------------
 .../schema_evol_orc_acidvec_mapwork_table.q.out | 3209 --------------
 .../schema_evol_orc_nonvec_fetchwork_part.q.out | 3651 ----------------
 ...schema_evol_orc_nonvec_fetchwork_table.q.out | 3403 --------------
 .../schema_evol_orc_nonvec_mapwork_part.q.out   | 3723 ----------------
 ...ol_orc_nonvec_mapwork_part_all_complex.q.out |  646 ---
 ..._orc_nonvec_mapwork_part_all_primitive.q.out | 2697 ------------
 .../schema_evol_orc_nonvec_mapwork_table.q.out  | 3475 ---------------
 .../llap/schema_evol_orc_vec_mapwork_part.q.out | 3723 ----------------
 ..._evol_orc_vec_mapwork_part_all_complex.q.out |  646 ---
 ...vol_orc_vec_mapwork_part_all_primitive.q.out | 2697 ------------
 .../schema_evol_orc_vec_mapwork_table.q.out     | 3475 ---------------
 .../schema_evol_text_nonvec_mapwork_part.q.out  | 3723 ----------------
 ...l_text_nonvec_mapwork_part_all_complex.q.out |  646 ---
 ...text_nonvec_mapwork_part_all_primitive.q.out | 2697 ------------
 .../schema_evol_text_nonvec_mapwork_table.q.out | 3475 ---------------
 .../schema_evol_text_vec_mapwork_part.q.out     | 3727 ----------------
 ...evol_text_vec_mapwork_part_all_complex.q.out |  650 ---
 ...ol_text_vec_mapwork_part_all_primitive.q.out | 2701 ------------
 .../schema_evol_text_vec_mapwork_table.q.out    | 3479 ---------------
 .../schema_evol_text_vecrow_mapwork_part.q.out  | 3727 ----------------
 ...l_text_vecrow_mapwork_part_all_complex.q.out |  652 ---
 ...text_vecrow_mapwork_part_all_primitive.q.out | 2701 ------------
 .../schema_evol_text_vecrow_mapwork_table.q.out | 3479 ---------------
 .../results/clientpositive/perf/query45.q.out   |  121 -
 .../results/clientpositive/protectmode.q.out    |  409 --
 .../results/clientpositive/protectmode2.q.out   |  205 -
 .../schema_evol_orc_acid_mapwork_part.q.out     | 3540 ---------------
 .../schema_evol_orc_acid_mapwork_table.q.out    | 3209 --------------
 .../schema_evol_orc_acidvec_mapwork_part.q.out  | 3540 ---------------
 .../schema_evol_orc_acidvec_mapwork_table.q.out | 3209 --------------
 .../schema_evol_orc_nonvec_fetchwork_part.q.out | 3819 ----------------
 ...schema_evol_orc_nonvec_fetchwork_table.q.out | 3571 ---------------
 .../schema_evol_orc_nonvec_mapwork_part.q.out   | 4107 -----------------
 ...ol_orc_nonvec_mapwork_part_all_complex.q.out |  694 ---
 ..._orc_nonvec_mapwork_part_all_primitive.q.out | 2953 -------------
 .../schema_evol_orc_nonvec_mapwork_table.q.out  | 3859 ----------------
 .../schema_evol_orc_vec_mapwork_part.q.out      | 4131 -----------------
 ..._evol_orc_vec_mapwork_part_all_complex.q.out |  694 ---
 ...vol_orc_vec_mapwork_part_all_primitive.q.out | 2969 -------------
 .../schema_evol_orc_vec_mapwork_table.q.out     | 3883 ----------------
 .../schema_evol_text_nonvec_mapwork_part.q.out  | 4107 -----------------
 ...l_text_nonvec_mapwork_part_all_complex.q.out |  694 ---
 ...text_nonvec_mapwork_part_all_primitive.q.out | 2953 -------------
 .../schema_evol_text_nonvec_mapwork_table.q.out | 3859 ----------------
 .../schema_evol_text_vec_mapwork_part.q.out     | 4135 ------------------
 ...evol_text_vec_mapwork_part_all_complex.q.out |  698 ---
 ...ol_text_vec_mapwork_part_all_primitive.q.out | 2973 -------------
 .../schema_evol_text_vec_mapwork_table.q.out    | 3887 ----------------
 .../schema_evol_text_vecrow_mapwork_part.q.out  | 4135 ------------------
 ...l_text_vecrow_mapwork_part_all_complex.q.out |  700 ---
 ...text_vecrow_mapwork_part_all_primitive.q.out | 2973 -------------
 .../schema_evol_text_vecrow_mapwork_table.q.out | 3887 ----------------
 .../compiler/errors/wrong_distinct3.q.out       |    2 -
 84 files changed, 154602 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/8230b579/ql/src/test/results/clientnegative/alter_partition_invalidspec.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/alter_partition_invalidspec.q.out b/ql/src/test/results/clientnegative/alter_partition_invalidspec.q.out
deleted file mode 100644
index 404115f..0000000
--- a/ql/src/test/results/clientnegative/alter_partition_invalidspec.q.out
+++ /dev/null
@@ -1,31 +0,0 @@
-PREHOOK: query: -- Create table
-create table if not exists alter_part_invalidspec(key string, value string ) partitioned by (year string, month string) stored as textfile
-PREHOOK: type: CREATETABLE
-PREHOOK: Output: database:default
-PREHOOK: Output: default@alter_part_invalidspec
-POSTHOOK: query: -- Create table
-create table if not exists alter_part_invalidspec(key string, value string ) partitioned by (year string, month string) stored as textfile
-POSTHOOK: type: CREATETABLE
-POSTHOOK: Output: database:default
-POSTHOOK: Output: default@alter_part_invalidspec
-PREHOOK: query: -- Load data
-load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_invalidspec partition (year='1996', month='10')
-PREHOOK: type: LOAD
-#### A masked pattern was here ####
-PREHOOK: Output: default@alter_part_invalidspec
-POSTHOOK: query: -- Load data
-load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_invalidspec partition (year='1996', month='10')
-POSTHOOK: type: LOAD
-#### A masked pattern was here ####
-POSTHOOK: Output: default@alter_part_invalidspec
-POSTHOOK: Output: default@alter_part_invalidspec@year=1996/month=10
-PREHOOK: query: load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_invalidspec partition (year='1996', month='12')
-PREHOOK: type: LOAD
-#### A masked pattern was here ####
-PREHOOK: Output: default@alter_part_invalidspec
-POSTHOOK: query: load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_invalidspec partition (year='1996', month='12')
-POSTHOOK: type: LOAD
-#### A masked pattern was here ####
-POSTHOOK: Output: default@alter_part_invalidspec
-POSTHOOK: Output: default@alter_part_invalidspec@year=1996/month=12
-FAILED: SemanticException [Error 10006]: Partition not found {year=1997}

http://git-wip-us.apache.org/repos/asf/hive/blob/8230b579/ql/src/test/results/clientnegative/alter_partition_nodrop.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/alter_partition_nodrop.q.out b/ql/src/test/results/clientnegative/alter_partition_nodrop.q.out
deleted file mode 100644
index 1c78cff..0000000
--- a/ql/src/test/results/clientnegative/alter_partition_nodrop.q.out
+++ /dev/null
@@ -1,43 +0,0 @@
-PREHOOK: query: -- Create table
-create table if not exists alter_part_nodrop_part(key string, value string ) partitioned by (year string, month string) stored as textfile
-PREHOOK: type: CREATETABLE
-PREHOOK: Output: database:default
-PREHOOK: Output: default@alter_part_nodrop_part
-POSTHOOK: query: -- Create table
-create table if not exists alter_part_nodrop_part(key string, value string ) partitioned by (year string, month string) stored as textfile
-POSTHOOK: type: CREATETABLE
-POSTHOOK: Output: database:default
-POSTHOOK: Output: default@alter_part_nodrop_part
-PREHOOK: query: -- Load data
-load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_nodrop_part partition (year='1996', month='10')
-PREHOOK: type: LOAD
-#### A masked pattern was here ####
-PREHOOK: Output: default@alter_part_nodrop_part
-POSTHOOK: query: -- Load data
-load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_nodrop_part partition (year='1996', month='10')
-POSTHOOK: type: LOAD
-#### A masked pattern was here ####
-POSTHOOK: Output: default@alter_part_nodrop_part
-POSTHOOK: Output: default@alter_part_nodrop_part@year=1996/month=10
-PREHOOK: query: load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_nodrop_part partition (year='1996', month='12')
-PREHOOK: type: LOAD
-#### A masked pattern was here ####
-PREHOOK: Output: default@alter_part_nodrop_part
-POSTHOOK: query: load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_nodrop_part partition (year='1996', month='12')
-POSTHOOK: type: LOAD
-#### A masked pattern was here ####
-POSTHOOK: Output: default@alter_part_nodrop_part
-POSTHOOK: Output: default@alter_part_nodrop_part@year=1996/month=12
-PREHOOK: query: alter table alter_part_nodrop_part partition (year='1996') enable no_drop
-PREHOOK: type: ALTERPARTITION_PROTECTMODE
-PREHOOK: Input: default@alter_part_nodrop_part
-PREHOOK: Output: default@alter_part_nodrop_part@year=1996/month=10
-PREHOOK: Output: default@alter_part_nodrop_part@year=1996/month=12
-POSTHOOK: query: alter table alter_part_nodrop_part partition (year='1996') enable no_drop
-POSTHOOK: type: ALTERPARTITION_PROTECTMODE
-POSTHOOK: Input: default@alter_part_nodrop_part
-POSTHOOK: Input: default@alter_part_nodrop_part@year=1996/month=10
-POSTHOOK: Input: default@alter_part_nodrop_part@year=1996/month=12
-POSTHOOK: Output: default@alter_part_nodrop_part@year=1996/month=10
-POSTHOOK: Output: default@alter_part_nodrop_part@year=1996/month=12
-FAILED: SemanticException [Error 30011]: Partition protected from being dropped default@alter_part_nodrop_part@year=1996/month=10

http://git-wip-us.apache.org/repos/asf/hive/blob/8230b579/ql/src/test/results/clientnegative/alter_partition_nodrop_table.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/alter_partition_nodrop_table.q.out b/ql/src/test/results/clientnegative/alter_partition_nodrop_table.q.out
deleted file mode 100644
index 3c425da..0000000
--- a/ql/src/test/results/clientnegative/alter_partition_nodrop_table.q.out
+++ /dev/null
@@ -1,47 +0,0 @@
-PREHOOK: query: -- Create table
-create table if not exists alter_part_nodrop_table(key string, value string ) partitioned by (year string, month string) stored as textfile
-PREHOOK: type: CREATETABLE
-PREHOOK: Output: database:default
-PREHOOK: Output: default@alter_part_nodrop_table
-POSTHOOK: query: -- Create table
-create table if not exists alter_part_nodrop_table(key string, value string ) partitioned by (year string, month string) stored as textfile
-POSTHOOK: type: CREATETABLE
-POSTHOOK: Output: database:default
-POSTHOOK: Output: default@alter_part_nodrop_table
-PREHOOK: query: -- Load data
-load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_nodrop_table partition (year='1996', month='10')
-PREHOOK: type: LOAD
-#### A masked pattern was here ####
-PREHOOK: Output: default@alter_part_nodrop_table
-POSTHOOK: query: -- Load data
-load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_nodrop_table partition (year='1996', month='10')
-POSTHOOK: type: LOAD
-#### A masked pattern was here ####
-POSTHOOK: Output: default@alter_part_nodrop_table
-POSTHOOK: Output: default@alter_part_nodrop_table@year=1996/month=10
-PREHOOK: query: load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_nodrop_table partition (year='1996', month='12')
-PREHOOK: type: LOAD
-#### A masked pattern was here ####
-PREHOOK: Output: default@alter_part_nodrop_table
-POSTHOOK: query: load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_nodrop_table partition (year='1996', month='12')
-POSTHOOK: type: LOAD
-#### A masked pattern was here ####
-POSTHOOK: Output: default@alter_part_nodrop_table
-POSTHOOK: Output: default@alter_part_nodrop_table@year=1996/month=12
-PREHOOK: query: alter table alter_part_nodrop_table partition (year='1996') enable no_drop
-PREHOOK: type: ALTERPARTITION_PROTECTMODE
-PREHOOK: Input: default@alter_part_nodrop_table
-PREHOOK: Output: default@alter_part_nodrop_table@year=1996/month=10
-PREHOOK: Output: default@alter_part_nodrop_table@year=1996/month=12
-POSTHOOK: query: alter table alter_part_nodrop_table partition (year='1996') enable no_drop
-POSTHOOK: type: ALTERPARTITION_PROTECTMODE
-POSTHOOK: Input: default@alter_part_nodrop_table
-POSTHOOK: Input: default@alter_part_nodrop_table@year=1996/month=10
-POSTHOOK: Input: default@alter_part_nodrop_table@year=1996/month=12
-POSTHOOK: Output: default@alter_part_nodrop_table@year=1996/month=10
-POSTHOOK: Output: default@alter_part_nodrop_table@year=1996/month=12
-PREHOOK: query: drop table alter_part_nodrop_table
-PREHOOK: type: DROPTABLE
-PREHOOK: Input: default@alter_part_nodrop_table
-PREHOOK: Output: default@alter_part_nodrop_table
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Table alter_part_nodrop_table Partitionyear=1996/month=10 is protected from being dropped

http://git-wip-us.apache.org/repos/asf/hive/blob/8230b579/ql/src/test/results/clientnegative/alter_partition_offline.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/alter_partition_offline.q.out b/ql/src/test/results/clientnegative/alter_partition_offline.q.out
deleted file mode 100644
index c70fcb4..0000000
--- a/ql/src/test/results/clientnegative/alter_partition_offline.q.out
+++ /dev/null
@@ -1,79 +0,0 @@
-PREHOOK: query: -- create table
-create table if not exists alter_part_offline (key string, value string ) partitioned by (year string, month string) stored as textfile
-PREHOOK: type: CREATETABLE
-PREHOOK: Output: database:default
-PREHOOK: Output: default@alter_part_offline
-POSTHOOK: query: -- create table
-create table if not exists alter_part_offline (key string, value string ) partitioned by (year string, month string) stored as textfile
-POSTHOOK: type: CREATETABLE
-POSTHOOK: Output: database:default
-POSTHOOK: Output: default@alter_part_offline
-PREHOOK: query: -- Load data
-load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_offline partition (year='1996', month='10')
-PREHOOK: type: LOAD
-#### A masked pattern was here ####
-PREHOOK: Output: default@alter_part_offline
-POSTHOOK: query: -- Load data
-load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_offline partition (year='1996', month='10')
-POSTHOOK: type: LOAD
-#### A masked pattern was here ####
-POSTHOOK: Output: default@alter_part_offline
-POSTHOOK: Output: default@alter_part_offline@year=1996/month=10
-PREHOOK: query: load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_offline partition (year='1996', month='12')
-PREHOOK: type: LOAD
-#### A masked pattern was here ####
-PREHOOK: Output: default@alter_part_offline
-POSTHOOK: query: load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_offline partition (year='1996', month='12')
-POSTHOOK: type: LOAD
-#### A masked pattern was here ####
-POSTHOOK: Output: default@alter_part_offline
-POSTHOOK: Output: default@alter_part_offline@year=1996/month=12
-PREHOOK: query: alter table alter_part_offline partition (year='1996') disable offline
-PREHOOK: type: ALTERPARTITION_PROTECTMODE
-PREHOOK: Input: default@alter_part_offline
-PREHOOK: Output: default@alter_part_offline@year=1996/month=10
-PREHOOK: Output: default@alter_part_offline@year=1996/month=12
-POSTHOOK: query: alter table alter_part_offline partition (year='1996') disable offline
-POSTHOOK: type: ALTERPARTITION_PROTECTMODE
-POSTHOOK: Input: default@alter_part_offline
-POSTHOOK: Input: default@alter_part_offline@year=1996/month=10
-POSTHOOK: Input: default@alter_part_offline@year=1996/month=12
-POSTHOOK: Output: default@alter_part_offline@year=1996/month=10
-POSTHOOK: Output: default@alter_part_offline@year=1996/month=12
-PREHOOK: query: select * from alter_part_offline where year = '1996'
-PREHOOK: type: QUERY
-PREHOOK: Input: default@alter_part_offline
-PREHOOK: Input: default@alter_part_offline@year=1996/month=10
-PREHOOK: Input: default@alter_part_offline@year=1996/month=12
-#### A masked pattern was here ####
-POSTHOOK: query: select * from alter_part_offline where year = '1996'
-POSTHOOK: type: QUERY
-POSTHOOK: Input: default@alter_part_offline
-POSTHOOK: Input: default@alter_part_offline@year=1996/month=10
-POSTHOOK: Input: default@alter_part_offline@year=1996/month=12
-#### A masked pattern was here ####
-1	11	1996	10
-2	12	1996	10
-3	13	1996	10
-7	17	1996	10
-8	18	1996	10
-8	28	1996	10
-1	11	1996	12
-2	12	1996	12
-3	13	1996	12
-7	17	1996	12
-8	18	1996	12
-8	28	1996	12
-PREHOOK: query: alter table alter_part_offline partition (year='1996') enable offline
-PREHOOK: type: ALTERPARTITION_PROTECTMODE
-PREHOOK: Input: default@alter_part_offline
-PREHOOK: Output: default@alter_part_offline@year=1996/month=10
-PREHOOK: Output: default@alter_part_offline@year=1996/month=12
-POSTHOOK: query: alter table alter_part_offline partition (year='1996') enable offline
-POSTHOOK: type: ALTERPARTITION_PROTECTMODE
-POSTHOOK: Input: default@alter_part_offline
-POSTHOOK: Input: default@alter_part_offline@year=1996/month=10
-POSTHOOK: Input: default@alter_part_offline@year=1996/month=12
-POSTHOOK: Output: default@alter_part_offline@year=1996/month=10
-POSTHOOK: Output: default@alter_part_offline@year=1996/month=12
-FAILED: SemanticException [Error 10113]: Query against an offline table or partition Table alter_part_offline Partition year=1996/month=10

http://git-wip-us.apache.org/repos/asf/hive/blob/8230b579/ql/src/test/results/clientnegative/ambiguous_col_patterned.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/ambiguous_col_patterned.q.out b/ql/src/test/results/clientnegative/ambiguous_col_patterned.q.out
deleted file mode 100644
index 05e525f..0000000
--- a/ql/src/test/results/clientnegative/ambiguous_col_patterned.q.out
+++ /dev/null
@@ -1 +0,0 @@
-FAILED: Error in semantic analysis: Ambiguous column reference key

http://git-wip-us.apache.org/repos/asf/hive/blob/8230b579/ql/src/test/results/clientnegative/database_already_exists.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/database_already_exists.q.out b/ql/src/test/results/clientnegative/database_already_exists.q.out
deleted file mode 100644
index 08c04f9..0000000
--- a/ql/src/test/results/clientnegative/database_already_exists.q.out
+++ /dev/null
@@ -1,15 +0,0 @@
-PREHOOK: query: SHOW DATABASES
-PREHOOK: type: SHOWDATABASES
-POSTHOOK: query: SHOW DATABASES
-POSTHOOK: type: SHOWDATABASES
-default
-PREHOOK: query: -- Try to create a database that already exists
-CREATE DATABASE test_db
-PREHOOK: type: CREATEDATABASE
-POSTHOOK: query: -- Try to create a database that already exists
-CREATE DATABASE test_db
-POSTHOOK: type: CREATEDATABASE
-PREHOOK: query: CREATE DATABASE test_db
-PREHOOK: type: CREATEDATABASE
-Failed with exception Database test_db already exists
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask

http://git-wip-us.apache.org/repos/asf/hive/blob/8230b579/ql/src/test/results/clientnegative/drop_partition_filter_failure2.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/drop_partition_filter_failure2.q.out b/ql/src/test/results/clientnegative/drop_partition_filter_failure2.q.out
deleted file mode 100644
index d2cf16f..0000000
--- a/ql/src/test/results/clientnegative/drop_partition_filter_failure2.q.out
+++ /dev/null
@@ -1,40 +0,0 @@
-PREHOOK: query: create table ptestfilter (a string, b int) partitioned by (c string, d int)
-PREHOOK: type: CREATETABLE
-POSTHOOK: query: create table ptestfilter (a string, b int) partitioned by (c string, d int)
-POSTHOOK: type: CREATETABLE
-POSTHOOK: Output: default@ptestfilter
-PREHOOK: query: describe ptestfilter
-PREHOOK: type: DESCTABLE
-POSTHOOK: query: describe ptestfilter
-POSTHOOK: type: DESCTABLE
-a                   	string              	None                
-b                   	int                 	None                
-c                   	string              	None                
-d                   	int                 	None                
-	 	 
-# Partition Information	 	 
-# col_name            	data_type           	comment             
-	 	 
-c                   	string              	None                
-d                   	int                 	None                
-PREHOOK: query: alter table ptestfilter add partition (c='US', d=1)
-PREHOOK: type: ALTERTABLE_ADDPARTS
-PREHOOK: Input: default@ptestfilter
-POSTHOOK: query: alter table ptestfilter add partition (c='US', d=1)
-POSTHOOK: type: ALTERTABLE_ADDPARTS
-POSTHOOK: Input: default@ptestfilter
-POSTHOOK: Output: default@ptestfilter@c=US/d=1
-PREHOOK: query: alter table ptestfilter add partition (c='US', d=2)
-PREHOOK: type: ALTERTABLE_ADDPARTS
-PREHOOK: Input: default@ptestfilter
-POSTHOOK: query: alter table ptestfilter add partition (c='US', d=2)
-POSTHOOK: type: ALTERTABLE_ADDPARTS
-POSTHOOK: Input: default@ptestfilter
-POSTHOOK: Output: default@ptestfilter@c=US/d=2
-PREHOOK: query: show partitions ptestfilter
-PREHOOK: type: SHOWPARTITIONS
-POSTHOOK: query: show partitions ptestfilter
-POSTHOOK: type: SHOWPARTITIONS
-c=US/d=1
-c=US/d=2
-FAILED: SemanticException [Error 10129]: Drop partitions for a non string partition columns is not allowed using non-equality

http://git-wip-us.apache.org/repos/asf/hive/blob/8230b579/ql/src/test/results/clientnegative/drop_table_failure3.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/drop_table_failure3.q.out b/ql/src/test/results/clientnegative/drop_table_failure3.q.out
deleted file mode 100644
index 3dfa2bc..0000000
--- a/ql/src/test/results/clientnegative/drop_table_failure3.q.out
+++ /dev/null
@@ -1,55 +0,0 @@
-PREHOOK: query: create database dtf3
-PREHOOK: type: CREATEDATABASE
-PREHOOK: Output: database:dtf3
-POSTHOOK: query: create database dtf3
-POSTHOOK: type: CREATEDATABASE
-POSTHOOK: Output: database:dtf3
-PREHOOK: query: use dtf3
-PREHOOK: type: SWITCHDATABASE
-PREHOOK: Input: database:dtf3
-POSTHOOK: query: use dtf3
-POSTHOOK: type: SWITCHDATABASE
-POSTHOOK: Input: database:dtf3
-PREHOOK: query: create table drop_table_failure_temp(col STRING) partitioned by (p STRING)
-PREHOOK: type: CREATETABLE
-PREHOOK: Output: database:dtf3
-PREHOOK: Output: dtf3@drop_table_failure_temp
-POSTHOOK: query: create table drop_table_failure_temp(col STRING) partitioned by (p STRING)
-POSTHOOK: type: CREATETABLE
-POSTHOOK: Output: database:dtf3
-POSTHOOK: Output: dtf3@drop_table_failure_temp
-PREHOOK: query: alter table drop_table_failure_temp add partition (p ='p1')
-PREHOOK: type: ALTERTABLE_ADDPARTS
-PREHOOK: Output: dtf3@drop_table_failure_temp
-POSTHOOK: query: alter table drop_table_failure_temp add partition (p ='p1')
-POSTHOOK: type: ALTERTABLE_ADDPARTS
-POSTHOOK: Output: dtf3@drop_table_failure_temp
-POSTHOOK: Output: dtf3@drop_table_failure_temp@p=p1
-PREHOOK: query: alter table drop_table_failure_temp add partition (p ='p2')
-PREHOOK: type: ALTERTABLE_ADDPARTS
-PREHOOK: Output: dtf3@drop_table_failure_temp
-POSTHOOK: query: alter table drop_table_failure_temp add partition (p ='p2')
-POSTHOOK: type: ALTERTABLE_ADDPARTS
-POSTHOOK: Output: dtf3@drop_table_failure_temp
-POSTHOOK: Output: dtf3@drop_table_failure_temp@p=p2
-PREHOOK: query: alter table drop_table_failure_temp add partition (p ='p3')
-PREHOOK: type: ALTERTABLE_ADDPARTS
-PREHOOK: Output: dtf3@drop_table_failure_temp
-POSTHOOK: query: alter table drop_table_failure_temp add partition (p ='p3')
-POSTHOOK: type: ALTERTABLE_ADDPARTS
-POSTHOOK: Output: dtf3@drop_table_failure_temp
-POSTHOOK: Output: dtf3@drop_table_failure_temp@p=p3
-PREHOOK: query: alter table drop_table_failure_temp partition (p ='p3') ENABLE NO_DROP
-PREHOOK: type: ALTERPARTITION_PROTECTMODE
-PREHOOK: Input: dtf3@drop_table_failure_temp
-PREHOOK: Output: dtf3@drop_table_failure_temp@p=p3
-POSTHOOK: query: alter table drop_table_failure_temp partition (p ='p3') ENABLE NO_DROP
-POSTHOOK: type: ALTERPARTITION_PROTECTMODE
-POSTHOOK: Input: dtf3@drop_table_failure_temp
-POSTHOOK: Input: dtf3@drop_table_failure_temp@p=p3
-POSTHOOK: Output: dtf3@drop_table_failure_temp@p=p3
-PREHOOK: query: drop table drop_table_failure_temp
-PREHOOK: type: DROPTABLE
-PREHOOK: Input: dtf3@drop_table_failure_temp
-PREHOOK: Output: dtf3@drop_table_failure_temp
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Table drop_table_failure_temp Partitionp=p3 is protected from being dropped

http://git-wip-us.apache.org/repos/asf/hive/blob/8230b579/ql/src/test/results/clientnegative/fatal.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/fatal.q.out b/ql/src/test/results/clientnegative/fatal.q.out
deleted file mode 100644
index 3baed96..0000000
--- a/ql/src/test/results/clientnegative/fatal.q.out
+++ /dev/null
@@ -1,5 +0,0 @@
-PREHOOK: query: select /*+ mapjoin(b) */ * from src a join src b on (a.key=b.key)
-PREHOOK: type: QUERY
-PREHOOK: Input: default@src
-PREHOOK: Output: file:/tmp/nzhang/hive_2010-08-02_13-41-52_752_1156521578782717030/-mr-10000
-FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask

http://git-wip-us.apache.org/repos/asf/hive/blob/8230b579/ql/src/test/results/clientnegative/orc_replace_columns.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/orc_replace_columns.q.out b/ql/src/test/results/clientnegative/orc_replace_columns.q.out
deleted file mode 100644
index 296a069..0000000
--- a/ql/src/test/results/clientnegative/orc_replace_columns.q.out
+++ /dev/null
@@ -1,13 +0,0 @@
-PREHOOK: query: create table src_orc (key tinyint, val string) stored as orc
-PREHOOK: type: CREATETABLE
-PREHOOK: Output: database:default
-PREHOOK: Output: default@src_orc
-POSTHOOK: query: create table src_orc (key tinyint, val string) stored as orc
-POSTHOOK: type: CREATETABLE
-POSTHOOK: Output: database:default
-POSTHOOK: Output: default@src_orc
-PREHOOK: query: alter table src_orc replace columns (k int)
-PREHOOK: type: ALTERTABLE_REPLACECOLS
-PREHOOK: Input: default@src_orc
-PREHOOK: Output: default@src_orc
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Replace columns is not supported for table default.src_orc. SerDe may be incompatible.

http://git-wip-us.apache.org/repos/asf/hive/blob/8230b579/ql/src/test/results/clientnegative/protectmode_part.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/protectmode_part.q.out b/ql/src/test/results/clientnegative/protectmode_part.q.out
deleted file mode 100644
index 791fec2..0000000
--- a/ql/src/test/results/clientnegative/protectmode_part.q.out
+++ /dev/null
@@ -1,70 +0,0 @@
-PREHOOK: query: -- protect mode: syntax to change protect mode works and queries are not blocked if a table or partition is not in protect mode
-
-drop table tbl_protectmode3
-PREHOOK: type: DROPTABLE
-POSTHOOK: query: -- protect mode: syntax to change protect mode works and queries are not blocked if a table or partition is not in protect mode
-
-drop table tbl_protectmode3
-POSTHOOK: type: DROPTABLE
-PREHOOK: query: create table tbl_protectmode3  (col string) partitioned by (p string)
-PREHOOK: type: CREATETABLE
-PREHOOK: Output: database:default
-PREHOOK: Output: default@tbl_protectmode3
-POSTHOOK: query: create table tbl_protectmode3  (col string) partitioned by (p string)
-POSTHOOK: type: CREATETABLE
-POSTHOOK: Output: database:default
-POSTHOOK: Output: default@tbl_protectmode3
-PREHOOK: query: alter table tbl_protectmode3 add partition (p='p1')
-PREHOOK: type: ALTERTABLE_ADDPARTS
-PREHOOK: Output: default@tbl_protectmode3
-POSTHOOK: query: alter table tbl_protectmode3 add partition (p='p1')
-POSTHOOK: type: ALTERTABLE_ADDPARTS
-POSTHOOK: Output: default@tbl_protectmode3
-POSTHOOK: Output: default@tbl_protectmode3@p=p1
-PREHOOK: query: alter table tbl_protectmode3 add partition (p='p2')
-PREHOOK: type: ALTERTABLE_ADDPARTS
-PREHOOK: Output: default@tbl_protectmode3
-POSTHOOK: query: alter table tbl_protectmode3 add partition (p='p2')
-POSTHOOK: type: ALTERTABLE_ADDPARTS
-POSTHOOK: Output: default@tbl_protectmode3
-POSTHOOK: Output: default@tbl_protectmode3@p=p2
-PREHOOK: query: select * from tbl_protectmode3 where p='p1'
-PREHOOK: type: QUERY
-PREHOOK: Input: default@tbl_protectmode3
-PREHOOK: Input: default@tbl_protectmode3@p=p1
-#### A masked pattern was here ####
-POSTHOOK: query: select * from tbl_protectmode3 where p='p1'
-POSTHOOK: type: QUERY
-POSTHOOK: Input: default@tbl_protectmode3
-POSTHOOK: Input: default@tbl_protectmode3@p=p1
-#### A masked pattern was here ####
-PREHOOK: query: select * from tbl_protectmode3 where p='p2'
-PREHOOK: type: QUERY
-PREHOOK: Input: default@tbl_protectmode3
-PREHOOK: Input: default@tbl_protectmode3@p=p2
-#### A masked pattern was here ####
-POSTHOOK: query: select * from tbl_protectmode3 where p='p2'
-POSTHOOK: type: QUERY
-POSTHOOK: Input: default@tbl_protectmode3
-POSTHOOK: Input: default@tbl_protectmode3@p=p2
-#### A masked pattern was here ####
-PREHOOK: query: alter table tbl_protectmode3 partition (p='p1') enable offline
-PREHOOK: type: ALTERPARTITION_PROTECTMODE
-PREHOOK: Input: default@tbl_protectmode3
-PREHOOK: Output: default@tbl_protectmode3@p=p1
-POSTHOOK: query: alter table tbl_protectmode3 partition (p='p1') enable offline
-POSTHOOK: type: ALTERPARTITION_PROTECTMODE
-POSTHOOK: Input: default@tbl_protectmode3
-POSTHOOK: Input: default@tbl_protectmode3@p=p1
-POSTHOOK: Output: default@tbl_protectmode3@p=p1
-PREHOOK: query: select * from tbl_protectmode3 where p='p2'
-PREHOOK: type: QUERY
-PREHOOK: Input: default@tbl_protectmode3
-PREHOOK: Input: default@tbl_protectmode3@p=p2
-#### A masked pattern was here ####
-POSTHOOK: query: select * from tbl_protectmode3 where p='p2'
-POSTHOOK: type: QUERY
-POSTHOOK: Input: default@tbl_protectmode3
-POSTHOOK: Input: default@tbl_protectmode3@p=p2
-#### A masked pattern was here ####
-FAILED: SemanticException [Error 10113]: Query against an offline table or partition Table tbl_protectmode3 Partition p=p1

http://git-wip-us.apache.org/repos/asf/hive/blob/8230b579/ql/src/test/results/clientnegative/protectmode_part1.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/protectmode_part1.q.out b/ql/src/test/results/clientnegative/protectmode_part1.q.out
deleted file mode 100644
index 6405888..0000000
--- a/ql/src/test/results/clientnegative/protectmode_part1.q.out
+++ /dev/null
@@ -1,87 +0,0 @@
-PREHOOK: query: -- protect mode: syntax to change protect mode works and queries are not blocked if a table or partition is not in protect mode
-
-drop table tbl_protectmode5
-PREHOOK: type: DROPTABLE
-POSTHOOK: query: -- protect mode: syntax to change protect mode works and queries are not blocked if a table or partition is not in protect mode
-
-drop table tbl_protectmode5
-POSTHOOK: type: DROPTABLE
-PREHOOK: query: create table tbl_protectmode5_1 (col string)
-PREHOOK: type: CREATETABLE
-PREHOOK: Output: database:default
-PREHOOK: Output: default@tbl_protectmode5_1
-POSTHOOK: query: create table tbl_protectmode5_1 (col string)
-POSTHOOK: type: CREATETABLE
-POSTHOOK: Output: database:default
-POSTHOOK: Output: default@tbl_protectmode5_1
-PREHOOK: query: create table tbl_protectmode5  (col string) partitioned by (p string)
-PREHOOK: type: CREATETABLE
-PREHOOK: Output: database:default
-PREHOOK: Output: default@tbl_protectmode5
-POSTHOOK: query: create table tbl_protectmode5  (col string) partitioned by (p string)
-POSTHOOK: type: CREATETABLE
-POSTHOOK: Output: database:default
-POSTHOOK: Output: default@tbl_protectmode5
-PREHOOK: query: alter table tbl_protectmode5 add partition (p='p1')
-PREHOOK: type: ALTERTABLE_ADDPARTS
-PREHOOK: Output: default@tbl_protectmode5
-POSTHOOK: query: alter table tbl_protectmode5 add partition (p='p1')
-POSTHOOK: type: ALTERTABLE_ADDPARTS
-POSTHOOK: Output: default@tbl_protectmode5
-POSTHOOK: Output: default@tbl_protectmode5@p=p1
-PREHOOK: query: alter table tbl_protectmode5 add partition (p='p2')
-PREHOOK: type: ALTERTABLE_ADDPARTS
-PREHOOK: Output: default@tbl_protectmode5
-POSTHOOK: query: alter table tbl_protectmode5 add partition (p='p2')
-POSTHOOK: type: ALTERTABLE_ADDPARTS
-POSTHOOK: Output: default@tbl_protectmode5
-POSTHOOK: Output: default@tbl_protectmode5@p=p2
-PREHOOK: query: insert overwrite table tbl_protectmode5_1
-select col from tbl_protectmode5 where p='p1'
-PREHOOK: type: QUERY
-PREHOOK: Input: default@tbl_protectmode5
-PREHOOK: Input: default@tbl_protectmode5@p=p1
-PREHOOK: Output: default@tbl_protectmode5_1
-POSTHOOK: query: insert overwrite table tbl_protectmode5_1
-select col from tbl_protectmode5 where p='p1'
-POSTHOOK: type: QUERY
-POSTHOOK: Input: default@tbl_protectmode5
-POSTHOOK: Input: default@tbl_protectmode5@p=p1
-POSTHOOK: Output: default@tbl_protectmode5_1
-POSTHOOK: Lineage: tbl_protectmode5_1.col SIMPLE [(tbl_protectmode5)tbl_protectmode5.FieldSchema(name:col, type:string, comment:null), ]
-PREHOOK: query: insert overwrite table tbl_protectmode5_1
-select col from tbl_protectmode5 where p='p2'
-PREHOOK: type: QUERY
-PREHOOK: Input: default@tbl_protectmode5
-PREHOOK: Input: default@tbl_protectmode5@p=p2
-PREHOOK: Output: default@tbl_protectmode5_1
-POSTHOOK: query: insert overwrite table tbl_protectmode5_1
-select col from tbl_protectmode5 where p='p2'
-POSTHOOK: type: QUERY
-POSTHOOK: Input: default@tbl_protectmode5
-POSTHOOK: Input: default@tbl_protectmode5@p=p2
-POSTHOOK: Output: default@tbl_protectmode5_1
-POSTHOOK: Lineage: tbl_protectmode5_1.col SIMPLE [(tbl_protectmode5)tbl_protectmode5.FieldSchema(name:col, type:string, comment:null), ]
-PREHOOK: query: alter table tbl_protectmode5 partition (p='p1') enable offline
-PREHOOK: type: ALTERPARTITION_PROTECTMODE
-PREHOOK: Input: default@tbl_protectmode5
-PREHOOK: Output: default@tbl_protectmode5@p=p1
-POSTHOOK: query: alter table tbl_protectmode5 partition (p='p1') enable offline
-POSTHOOK: type: ALTERPARTITION_PROTECTMODE
-POSTHOOK: Input: default@tbl_protectmode5
-POSTHOOK: Input: default@tbl_protectmode5@p=p1
-POSTHOOK: Output: default@tbl_protectmode5@p=p1
-PREHOOK: query: insert overwrite table tbl_protectmode5_1
-select col from tbl_protectmode5 where p='p2'
-PREHOOK: type: QUERY
-PREHOOK: Input: default@tbl_protectmode5
-PREHOOK: Input: default@tbl_protectmode5@p=p2
-PREHOOK: Output: default@tbl_protectmode5_1
-POSTHOOK: query: insert overwrite table tbl_protectmode5_1
-select col from tbl_protectmode5 where p='p2'
-POSTHOOK: type: QUERY
-POSTHOOK: Input: default@tbl_protectmode5
-POSTHOOK: Input: default@tbl_protectmode5@p=p2
-POSTHOOK: Output: default@tbl_protectmode5_1
-POSTHOOK: Lineage: tbl_protectmode5_1.col SIMPLE [(tbl_protectmode5)tbl_protectmode5.FieldSchema(name:col, type:string, comment:null), ]
-FAILED: SemanticException [Error 10113]: Query against an offline table or partition Table tbl_protectmode5 Partition p=p1

http://git-wip-us.apache.org/repos/asf/hive/blob/8230b579/ql/src/test/results/clientnegative/protectmode_part2.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/protectmode_part2.q.out b/ql/src/test/results/clientnegative/protectmode_part2.q.out
deleted file mode 100644
index 16d58c7..0000000
--- a/ql/src/test/results/clientnegative/protectmode_part2.q.out
+++ /dev/null
@@ -1,41 +0,0 @@
-PREHOOK: query: -- protect mode: syntax to change protect mode works and queries are not blocked if a table or partition is not in protect mode
-
-drop table tbl_protectmode6
-PREHOOK: type: DROPTABLE
-POSTHOOK: query: -- protect mode: syntax to change protect mode works and queries are not blocked if a table or partition is not in protect mode
-
-drop table tbl_protectmode6
-POSTHOOK: type: DROPTABLE
-PREHOOK: query: create table tbl_protectmode6  (c1 string,c2 string) partitioned by (p string)
-PREHOOK: type: CREATETABLE
-PREHOOK: Output: database:default
-PREHOOK: Output: default@tbl_protectmode6
-POSTHOOK: query: create table tbl_protectmode6  (c1 string,c2 string) partitioned by (p string)
-POSTHOOK: type: CREATETABLE
-POSTHOOK: Output: database:default
-POSTHOOK: Output: default@tbl_protectmode6
-PREHOOK: query: alter table tbl_protectmode6 add partition (p='p1')
-PREHOOK: type: ALTERTABLE_ADDPARTS
-PREHOOK: Output: default@tbl_protectmode6
-POSTHOOK: query: alter table tbl_protectmode6 add partition (p='p1')
-POSTHOOK: type: ALTERTABLE_ADDPARTS
-POSTHOOK: Output: default@tbl_protectmode6
-POSTHOOK: Output: default@tbl_protectmode6@p=p1
-PREHOOK: query: LOAD DATA LOCAL INPATH '../../data/files/kv1.txt' OVERWRITE INTO TABLE tbl_protectmode6 partition (p='p1')
-PREHOOK: type: LOAD
-#### A masked pattern was here ####
-PREHOOK: Output: default@tbl_protectmode6@p=p1
-POSTHOOK: query: LOAD DATA LOCAL INPATH '../../data/files/kv1.txt' OVERWRITE INTO TABLE tbl_protectmode6 partition (p='p1')
-POSTHOOK: type: LOAD
-#### A masked pattern was here ####
-POSTHOOK: Output: default@tbl_protectmode6@p=p1
-PREHOOK: query: alter table tbl_protectmode6 partition (p='p1') enable offline
-PREHOOK: type: ALTERPARTITION_PROTECTMODE
-PREHOOK: Input: default@tbl_protectmode6
-PREHOOK: Output: default@tbl_protectmode6@p=p1
-POSTHOOK: query: alter table tbl_protectmode6 partition (p='p1') enable offline
-POSTHOOK: type: ALTERPARTITION_PROTECTMODE
-POSTHOOK: Input: default@tbl_protectmode6
-POSTHOOK: Input: default@tbl_protectmode6@p=p1
-POSTHOOK: Output: default@tbl_protectmode6@p=p1
-FAILED: SemanticException org.apache.hadoop.hive.ql.parse.SemanticException: Query against an offline table or partition tbl_protectmode6:p=p1

http://git-wip-us.apache.org/repos/asf/hive/blob/8230b579/ql/src/test/results/clientnegative/protectmode_part_no_drop.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/protectmode_part_no_drop.q.out b/ql/src/test/results/clientnegative/protectmode_part_no_drop.q.out
deleted file mode 100644
index 84fa573..0000000
--- a/ql/src/test/results/clientnegative/protectmode_part_no_drop.q.out
+++ /dev/null
@@ -1,49 +0,0 @@
-PREHOOK: query: -- protect mode: syntax to change protect mode works and queries to drop partitions are blocked if it is marked no drop
-
-drop table tbl_protectmode_no_drop
-PREHOOK: type: DROPTABLE
-POSTHOOK: query: -- protect mode: syntax to change protect mode works and queries to drop partitions are blocked if it is marked no drop
-
-drop table tbl_protectmode_no_drop
-POSTHOOK: type: DROPTABLE
-PREHOOK: query: create table tbl_protectmode_no_drop  (c1 string,c2 string) partitioned by (p string)
-PREHOOK: type: CREATETABLE
-PREHOOK: Output: database:default
-PREHOOK: Output: default@tbl_protectmode_no_drop
-POSTHOOK: query: create table tbl_protectmode_no_drop  (c1 string,c2 string) partitioned by (p string)
-POSTHOOK: type: CREATETABLE
-POSTHOOK: Output: database:default
-POSTHOOK: Output: default@tbl_protectmode_no_drop
-PREHOOK: query: alter table tbl_protectmode_no_drop add partition (p='p1')
-PREHOOK: type: ALTERTABLE_ADDPARTS
-PREHOOK: Output: default@tbl_protectmode_no_drop
-POSTHOOK: query: alter table tbl_protectmode_no_drop add partition (p='p1')
-POSTHOOK: type: ALTERTABLE_ADDPARTS
-POSTHOOK: Output: default@tbl_protectmode_no_drop
-POSTHOOK: Output: default@tbl_protectmode_no_drop@p=p1
-PREHOOK: query: alter table tbl_protectmode_no_drop partition (p='p1') enable no_drop
-PREHOOK: type: ALTERPARTITION_PROTECTMODE
-PREHOOK: Input: default@tbl_protectmode_no_drop
-PREHOOK: Output: default@tbl_protectmode_no_drop@p=p1
-POSTHOOK: query: alter table tbl_protectmode_no_drop partition (p='p1') enable no_drop
-POSTHOOK: type: ALTERPARTITION_PROTECTMODE
-POSTHOOK: Input: default@tbl_protectmode_no_drop
-POSTHOOK: Input: default@tbl_protectmode_no_drop@p=p1
-POSTHOOK: Output: default@tbl_protectmode_no_drop@p=p1
-PREHOOK: query: desc extended tbl_protectmode_no_drop partition (p='p1')
-PREHOOK: type: DESCTABLE
-PREHOOK: Input: default@tbl_protectmode_no_drop
-POSTHOOK: query: desc extended tbl_protectmode_no_drop partition (p='p1')
-POSTHOOK: type: DESCTABLE
-POSTHOOK: Input: default@tbl_protectmode_no_drop
-c1                  	string              	                    
-c2                  	string              	                    
-p                   	string              	                    
-	 	 
-# Partition Information	 	 
-# col_name            	data_type           	comment             
-	 	 
-p                   	string              	                    
-	 	 
-#### A masked pattern was here ####
-FAILED: SemanticException [Error 30011]: Partition protected from being dropped default@tbl_protectmode_no_drop@p=p1

http://git-wip-us.apache.org/repos/asf/hive/blob/8230b579/ql/src/test/results/clientnegative/protectmode_part_no_drop2.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/protectmode_part_no_drop2.q.out b/ql/src/test/results/clientnegative/protectmode_part_no_drop2.q.out
deleted file mode 100644
index 527198c..0000000
--- a/ql/src/test/results/clientnegative/protectmode_part_no_drop2.q.out
+++ /dev/null
@@ -1,51 +0,0 @@
-PREHOOK: query: -- protect mode: syntax to change protect mode works and queries to drop partitions are blocked if it is marked no drop
-
-create database if not exists db1
-PREHOOK: type: CREATEDATABASE
-PREHOOK: Output: database:db1
-POSTHOOK: query: -- protect mode: syntax to change protect mode works and queries to drop partitions are blocked if it is marked no drop
-
-create database if not exists db1
-POSTHOOK: type: CREATEDATABASE
-POSTHOOK: Output: database:db1
-PREHOOK: query: use db1
-PREHOOK: type: SWITCHDATABASE
-PREHOOK: Input: database:db1
-POSTHOOK: query: use db1
-POSTHOOK: type: SWITCHDATABASE
-POSTHOOK: Input: database:db1
-PREHOOK: query: create table tbl_protectmode_no_drop2  (c1 string,c2 string) partitioned by (p string)
-PREHOOK: type: CREATETABLE
-PREHOOK: Output: database:db1
-PREHOOK: Output: db1@tbl_protectmode_no_drop2
-POSTHOOK: query: create table tbl_protectmode_no_drop2  (c1 string,c2 string) partitioned by (p string)
-POSTHOOK: type: CREATETABLE
-POSTHOOK: Output: database:db1
-POSTHOOK: Output: db1@tbl_protectmode_no_drop2
-PREHOOK: query: alter table tbl_protectmode_no_drop2 add partition (p='p1')
-PREHOOK: type: ALTERTABLE_ADDPARTS
-PREHOOK: Output: db1@tbl_protectmode_no_drop2
-POSTHOOK: query: alter table tbl_protectmode_no_drop2 add partition (p='p1')
-POSTHOOK: type: ALTERTABLE_ADDPARTS
-POSTHOOK: Output: db1@tbl_protectmode_no_drop2
-POSTHOOK: Output: db1@tbl_protectmode_no_drop2@p=p1
-PREHOOK: query: alter table tbl_protectmode_no_drop2 partition (p='p1') enable no_drop
-PREHOOK: type: ALTERPARTITION_PROTECTMODE
-PREHOOK: Input: db1@tbl_protectmode_no_drop2
-PREHOOK: Output: db1@tbl_protectmode_no_drop2@p=p1
-POSTHOOK: query: alter table tbl_protectmode_no_drop2 partition (p='p1') enable no_drop
-POSTHOOK: type: ALTERPARTITION_PROTECTMODE
-POSTHOOK: Input: db1@tbl_protectmode_no_drop2
-POSTHOOK: Input: db1@tbl_protectmode_no_drop2@p=p1
-POSTHOOK: Output: db1@tbl_protectmode_no_drop2@p=p1
-PREHOOK: query: use default
-PREHOOK: type: SWITCHDATABASE
-PREHOOK: Input: database:default
-POSTHOOK: query: use default
-POSTHOOK: type: SWITCHDATABASE
-POSTHOOK: Input: database:default
-PREHOOK: query: drop table db1.tbl_protectmode_no_drop2
-PREHOOK: type: DROPTABLE
-PREHOOK: Input: db1@tbl_protectmode_no_drop2
-PREHOOK: Output: db1@tbl_protectmode_no_drop2
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Table tbl_protectmode_no_drop2 Partitionp=p1 is protected from being dropped

http://git-wip-us.apache.org/repos/asf/hive/blob/8230b579/ql/src/test/results/clientnegative/protectmode_tbl1.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/protectmode_tbl1.q.out b/ql/src/test/results/clientnegative/protectmode_tbl1.q.out
deleted file mode 100644
index 8a2ebf5..0000000
--- a/ql/src/test/results/clientnegative/protectmode_tbl1.q.out
+++ /dev/null
@@ -1,33 +0,0 @@
-PREHOOK: query: -- protect mode: syntax to change protect mode works and queries are not blocked if a table or partition is not in protect mode
-
-drop table tbl_protectmode_1
-PREHOOK: type: DROPTABLE
-POSTHOOK: query: -- protect mode: syntax to change protect mode works and queries are not blocked if a table or partition is not in protect mode
-
-drop table tbl_protectmode_1
-POSTHOOK: type: DROPTABLE
-PREHOOK: query: create table tbl_protectmode_1  (col string)
-PREHOOK: type: CREATETABLE
-PREHOOK: Output: database:default
-PREHOOK: Output: default@tbl_protectmode_1
-POSTHOOK: query: create table tbl_protectmode_1  (col string)
-POSTHOOK: type: CREATETABLE
-POSTHOOK: Output: database:default
-POSTHOOK: Output: default@tbl_protectmode_1
-PREHOOK: query: select * from tbl_protectmode_1
-PREHOOK: type: QUERY
-PREHOOK: Input: default@tbl_protectmode_1
-#### A masked pattern was here ####
-POSTHOOK: query: select * from tbl_protectmode_1
-POSTHOOK: type: QUERY
-POSTHOOK: Input: default@tbl_protectmode_1
-#### A masked pattern was here ####
-PREHOOK: query: alter table tbl_protectmode_1 enable offline
-PREHOOK: type: ALTERTABLE_PROTECTMODE
-PREHOOK: Input: default@tbl_protectmode_1
-PREHOOK: Output: default@tbl_protectmode_1
-POSTHOOK: query: alter table tbl_protectmode_1 enable offline
-POSTHOOK: type: ALTERTABLE_PROTECTMODE
-POSTHOOK: Input: default@tbl_protectmode_1
-POSTHOOK: Output: default@tbl_protectmode_1
-FAILED: SemanticException [Error 10113]: Query against an offline table or partition Table tbl_protectmode_1

http://git-wip-us.apache.org/repos/asf/hive/blob/8230b579/ql/src/test/results/clientnegative/protectmode_tbl2.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/protectmode_tbl2.q.out b/ql/src/test/results/clientnegative/protectmode_tbl2.q.out
deleted file mode 100644
index d94a341..0000000
--- a/ql/src/test/results/clientnegative/protectmode_tbl2.q.out
+++ /dev/null
@@ -1,63 +0,0 @@
-PREHOOK: query: -- protect mode: syntax to change protect mode works and queries are not blocked if a table or partition is not in protect mode
-
-drop table tbl_protectmode2
-PREHOOK: type: DROPTABLE
-POSTHOOK: query: -- protect mode: syntax to change protect mode works and queries are not blocked if a table or partition is not in protect mode
-
-drop table tbl_protectmode2
-POSTHOOK: type: DROPTABLE
-PREHOOK: query: create table tbl_protectmode2  (col string) partitioned by (p string)
-PREHOOK: type: CREATETABLE
-PREHOOK: Output: database:default
-PREHOOK: Output: default@tbl_protectmode2
-POSTHOOK: query: create table tbl_protectmode2  (col string) partitioned by (p string)
-POSTHOOK: type: CREATETABLE
-POSTHOOK: Output: database:default
-POSTHOOK: Output: default@tbl_protectmode2
-PREHOOK: query: alter table tbl_protectmode2 add partition (p='p1')
-PREHOOK: type: ALTERTABLE_ADDPARTS
-PREHOOK: Output: default@tbl_protectmode2
-POSTHOOK: query: alter table tbl_protectmode2 add partition (p='p1')
-POSTHOOK: type: ALTERTABLE_ADDPARTS
-POSTHOOK: Output: default@tbl_protectmode2
-POSTHOOK: Output: default@tbl_protectmode2@p=p1
-PREHOOK: query: alter table tbl_protectmode2 enable no_drop
-PREHOOK: type: ALTERTABLE_PROTECTMODE
-PREHOOK: Input: default@tbl_protectmode2
-PREHOOK: Output: default@tbl_protectmode2
-POSTHOOK: query: alter table tbl_protectmode2 enable no_drop
-POSTHOOK: type: ALTERTABLE_PROTECTMODE
-POSTHOOK: Input: default@tbl_protectmode2
-POSTHOOK: Output: default@tbl_protectmode2
-PREHOOK: query: alter table tbl_protectmode2 enable offline
-PREHOOK: type: ALTERTABLE_PROTECTMODE
-PREHOOK: Input: default@tbl_protectmode2
-PREHOOK: Output: default@tbl_protectmode2
-POSTHOOK: query: alter table tbl_protectmode2 enable offline
-POSTHOOK: type: ALTERTABLE_PROTECTMODE
-POSTHOOK: Input: default@tbl_protectmode2
-POSTHOOK: Output: default@tbl_protectmode2
-PREHOOK: query: alter table tbl_protectmode2 disable no_drop
-PREHOOK: type: ALTERTABLE_PROTECTMODE
-PREHOOK: Input: default@tbl_protectmode2
-PREHOOK: Output: default@tbl_protectmode2
-POSTHOOK: query: alter table tbl_protectmode2 disable no_drop
-POSTHOOK: type: ALTERTABLE_PROTECTMODE
-POSTHOOK: Input: default@tbl_protectmode2
-POSTHOOK: Output: default@tbl_protectmode2
-PREHOOK: query: desc extended tbl_protectmode2
-PREHOOK: type: DESCTABLE
-PREHOOK: Input: default@tbl_protectmode2
-POSTHOOK: query: desc extended tbl_protectmode2
-POSTHOOK: type: DESCTABLE
-POSTHOOK: Input: default@tbl_protectmode2
-col                 	string              	                    
-p                   	string              	                    
-	 	 
-# Partition Information	 	 
-# col_name            	data_type           	comment             
-	 	 
-p                   	string              	                    
-	 	 
-#### A masked pattern was here ####
-FAILED: SemanticException [Error 10113]: Query against an offline table or partition Table tbl_protectmode2

http://git-wip-us.apache.org/repos/asf/hive/blob/8230b579/ql/src/test/results/clientnegative/protectmode_tbl3.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/protectmode_tbl3.q.out b/ql/src/test/results/clientnegative/protectmode_tbl3.q.out
deleted file mode 100644
index 1c4fe31..0000000
--- a/ql/src/test/results/clientnegative/protectmode_tbl3.q.out
+++ /dev/null
@@ -1,42 +0,0 @@
-PREHOOK: query: -- protect mode: syntax to change protect mode works and queries are not blocked if a table or partition is not in protect mode
-
-drop table tbl_protectmode_4
-PREHOOK: type: DROPTABLE
-POSTHOOK: query: -- protect mode: syntax to change protect mode works and queries are not blocked if a table or partition is not in protect mode
-
-drop table tbl_protectmode_4
-POSTHOOK: type: DROPTABLE
-PREHOOK: query: create table tbl_protectmode_4  (col string)
-PREHOOK: type: CREATETABLE
-PREHOOK: Output: database:default
-PREHOOK: Output: default@tbl_protectmode_4
-POSTHOOK: query: create table tbl_protectmode_4  (col string)
-POSTHOOK: type: CREATETABLE
-POSTHOOK: Output: database:default
-POSTHOOK: Output: default@tbl_protectmode_4
-PREHOOK: query: select col from tbl_protectmode_4
-PREHOOK: type: QUERY
-PREHOOK: Input: default@tbl_protectmode_4
-#### A masked pattern was here ####
-POSTHOOK: query: select col from tbl_protectmode_4
-POSTHOOK: type: QUERY
-POSTHOOK: Input: default@tbl_protectmode_4
-#### A masked pattern was here ####
-PREHOOK: query: alter table tbl_protectmode_4 enable offline
-PREHOOK: type: ALTERTABLE_PROTECTMODE
-PREHOOK: Input: default@tbl_protectmode_4
-PREHOOK: Output: default@tbl_protectmode_4
-POSTHOOK: query: alter table tbl_protectmode_4 enable offline
-POSTHOOK: type: ALTERTABLE_PROTECTMODE
-POSTHOOK: Input: default@tbl_protectmode_4
-POSTHOOK: Output: default@tbl_protectmode_4
-PREHOOK: query: desc extended tbl_protectmode_4
-PREHOOK: type: DESCTABLE
-PREHOOK: Input: default@tbl_protectmode_4
-POSTHOOK: query: desc extended tbl_protectmode_4
-POSTHOOK: type: DESCTABLE
-POSTHOOK: Input: default@tbl_protectmode_4
-col                 	string              	                    
-	 	 
-#### A masked pattern was here ####
-FAILED: SemanticException [Error 10113]: Query against an offline table or partition Table tbl_protectmode_4

http://git-wip-us.apache.org/repos/asf/hive/blob/8230b579/ql/src/test/results/clientnegative/protectmode_tbl4.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/protectmode_tbl4.q.out b/ql/src/test/results/clientnegative/protectmode_tbl4.q.out
deleted file mode 100644
index c820884..0000000
--- a/ql/src/test/results/clientnegative/protectmode_tbl4.q.out
+++ /dev/null
@@ -1,75 +0,0 @@
-PREHOOK: query: -- protect mode: syntax to change protect mode works and queries are not blocked if a table or partition is not in protect mode
-
-drop table tbl_protectmode_tbl4
-PREHOOK: type: DROPTABLE
-POSTHOOK: query: -- protect mode: syntax to change protect mode works and queries are not blocked if a table or partition is not in protect mode
-
-drop table tbl_protectmode_tbl4
-POSTHOOK: type: DROPTABLE
-PREHOOK: query: drop table tbl_protectmode_tbl4_src
-PREHOOK: type: DROPTABLE
-POSTHOOK: query: drop table tbl_protectmode_tbl4_src
-POSTHOOK: type: DROPTABLE
-PREHOOK: query: create table tbl_protectmode_tbl4_src (col string)
-PREHOOK: type: CREATETABLE
-PREHOOK: Output: database:default
-PREHOOK: Output: default@tbl_protectmode_tbl4_src
-POSTHOOK: query: create table tbl_protectmode_tbl4_src (col string)
-POSTHOOK: type: CREATETABLE
-POSTHOOK: Output: database:default
-POSTHOOK: Output: default@tbl_protectmode_tbl4_src
-PREHOOK: query: create table tbl_protectmode_tbl4  (col string) partitioned by (p string)
-PREHOOK: type: CREATETABLE
-PREHOOK: Output: database:default
-PREHOOK: Output: default@tbl_protectmode_tbl4
-POSTHOOK: query: create table tbl_protectmode_tbl4  (col string) partitioned by (p string)
-POSTHOOK: type: CREATETABLE
-POSTHOOK: Output: database:default
-POSTHOOK: Output: default@tbl_protectmode_tbl4
-PREHOOK: query: alter table tbl_protectmode_tbl4 add partition (p='p1')
-PREHOOK: type: ALTERTABLE_ADDPARTS
-PREHOOK: Output: default@tbl_protectmode_tbl4
-POSTHOOK: query: alter table tbl_protectmode_tbl4 add partition (p='p1')
-POSTHOOK: type: ALTERTABLE_ADDPARTS
-POSTHOOK: Output: default@tbl_protectmode_tbl4
-POSTHOOK: Output: default@tbl_protectmode_tbl4@p=p1
-PREHOOK: query: alter table tbl_protectmode_tbl4 enable no_drop
-PREHOOK: type: ALTERTABLE_PROTECTMODE
-PREHOOK: Input: default@tbl_protectmode_tbl4
-PREHOOK: Output: default@tbl_protectmode_tbl4
-POSTHOOK: query: alter table tbl_protectmode_tbl4 enable no_drop
-POSTHOOK: type: ALTERTABLE_PROTECTMODE
-POSTHOOK: Input: default@tbl_protectmode_tbl4
-POSTHOOK: Output: default@tbl_protectmode_tbl4
-PREHOOK: query: alter table tbl_protectmode_tbl4 enable offline
-PREHOOK: type: ALTERTABLE_PROTECTMODE
-PREHOOK: Input: default@tbl_protectmode_tbl4
-PREHOOK: Output: default@tbl_protectmode_tbl4
-POSTHOOK: query: alter table tbl_protectmode_tbl4 enable offline
-POSTHOOK: type: ALTERTABLE_PROTECTMODE
-POSTHOOK: Input: default@tbl_protectmode_tbl4
-POSTHOOK: Output: default@tbl_protectmode_tbl4
-PREHOOK: query: alter table tbl_protectmode_tbl4 disable no_drop
-PREHOOK: type: ALTERTABLE_PROTECTMODE
-PREHOOK: Input: default@tbl_protectmode_tbl4
-PREHOOK: Output: default@tbl_protectmode_tbl4
-POSTHOOK: query: alter table tbl_protectmode_tbl4 disable no_drop
-POSTHOOK: type: ALTERTABLE_PROTECTMODE
-POSTHOOK: Input: default@tbl_protectmode_tbl4
-POSTHOOK: Output: default@tbl_protectmode_tbl4
-PREHOOK: query: desc extended tbl_protectmode_tbl4
-PREHOOK: type: DESCTABLE
-PREHOOK: Input: default@tbl_protectmode_tbl4
-POSTHOOK: query: desc extended tbl_protectmode_tbl4
-POSTHOOK: type: DESCTABLE
-POSTHOOK: Input: default@tbl_protectmode_tbl4
-col                 	string              	                    
-p                   	string              	                    
-	 	 
-# Partition Information	 	 
-# col_name            	data_type           	comment             
-	 	 
-p                   	string              	                    
-	 	 
-#### A masked pattern was here ####
-FAILED: SemanticException [Error 10113]: Query against an offline table or partition Table tbl_protectmode_tbl4

http://git-wip-us.apache.org/repos/asf/hive/blob/8230b579/ql/src/test/results/clientnegative/protectmode_tbl5.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/protectmode_tbl5.q.out b/ql/src/test/results/clientnegative/protectmode_tbl5.q.out
deleted file mode 100644
index 6f99107..0000000
--- a/ql/src/test/results/clientnegative/protectmode_tbl5.q.out
+++ /dev/null
@@ -1,75 +0,0 @@
-PREHOOK: query: -- protect mode: syntax to change protect mode works and queries are not blocked if a table or partition is not in protect mode
-
-drop table tbl_protectmode_tbl5
-PREHOOK: type: DROPTABLE
-POSTHOOK: query: -- protect mode: syntax to change protect mode works and queries are not blocked if a table or partition is not in protect mode
-
-drop table tbl_protectmode_tbl5
-POSTHOOK: type: DROPTABLE
-PREHOOK: query: drop table tbl_protectmode_tbl5_src
-PREHOOK: type: DROPTABLE
-POSTHOOK: query: drop table tbl_protectmode_tbl5_src
-POSTHOOK: type: DROPTABLE
-PREHOOK: query: create table tbl_protectmode_tbl5_src (col string)
-PREHOOK: type: CREATETABLE
-PREHOOK: Output: database:default
-PREHOOK: Output: default@tbl_protectmode_tbl5_src
-POSTHOOK: query: create table tbl_protectmode_tbl5_src (col string)
-POSTHOOK: type: CREATETABLE
-POSTHOOK: Output: database:default
-POSTHOOK: Output: default@tbl_protectmode_tbl5_src
-PREHOOK: query: create table tbl_protectmode_tbl5  (col string) partitioned by (p string)
-PREHOOK: type: CREATETABLE
-PREHOOK: Output: database:default
-PREHOOK: Output: default@tbl_protectmode_tbl5
-POSTHOOK: query: create table tbl_protectmode_tbl5  (col string) partitioned by (p string)
-POSTHOOK: type: CREATETABLE
-POSTHOOK: Output: database:default
-POSTHOOK: Output: default@tbl_protectmode_tbl5
-PREHOOK: query: alter table tbl_protectmode_tbl5 add partition (p='p1')
-PREHOOK: type: ALTERTABLE_ADDPARTS
-PREHOOK: Output: default@tbl_protectmode_tbl5
-POSTHOOK: query: alter table tbl_protectmode_tbl5 add partition (p='p1')
-POSTHOOK: type: ALTERTABLE_ADDPARTS
-POSTHOOK: Output: default@tbl_protectmode_tbl5
-POSTHOOK: Output: default@tbl_protectmode_tbl5@p=p1
-PREHOOK: query: alter table tbl_protectmode_tbl5 enable no_drop
-PREHOOK: type: ALTERTABLE_PROTECTMODE
-PREHOOK: Input: default@tbl_protectmode_tbl5
-PREHOOK: Output: default@tbl_protectmode_tbl5
-POSTHOOK: query: alter table tbl_protectmode_tbl5 enable no_drop
-POSTHOOK: type: ALTERTABLE_PROTECTMODE
-POSTHOOK: Input: default@tbl_protectmode_tbl5
-POSTHOOK: Output: default@tbl_protectmode_tbl5
-PREHOOK: query: alter table tbl_protectmode_tbl5 enable offline
-PREHOOK: type: ALTERTABLE_PROTECTMODE
-PREHOOK: Input: default@tbl_protectmode_tbl5
-PREHOOK: Output: default@tbl_protectmode_tbl5
-POSTHOOK: query: alter table tbl_protectmode_tbl5 enable offline
-POSTHOOK: type: ALTERTABLE_PROTECTMODE
-POSTHOOK: Input: default@tbl_protectmode_tbl5
-POSTHOOK: Output: default@tbl_protectmode_tbl5
-PREHOOK: query: alter table tbl_protectmode_tbl5 disable no_drop
-PREHOOK: type: ALTERTABLE_PROTECTMODE
-PREHOOK: Input: default@tbl_protectmode_tbl5
-PREHOOK: Output: default@tbl_protectmode_tbl5
-POSTHOOK: query: alter table tbl_protectmode_tbl5 disable no_drop
-POSTHOOK: type: ALTERTABLE_PROTECTMODE
-POSTHOOK: Input: default@tbl_protectmode_tbl5
-POSTHOOK: Output: default@tbl_protectmode_tbl5
-PREHOOK: query: desc extended tbl_protectmode_tbl5
-PREHOOK: type: DESCTABLE
-PREHOOK: Input: default@tbl_protectmode_tbl5
-POSTHOOK: query: desc extended tbl_protectmode_tbl5
-POSTHOOK: type: DESCTABLE
-POSTHOOK: Input: default@tbl_protectmode_tbl5
-col                 	string              	                    
-p                   	string              	                    
-	 	 
-# Partition Information	 	 
-# col_name            	data_type           	comment             
-	 	 
-p                   	string              	                    
-	 	 
-#### A masked pattern was here ####
-FAILED: SemanticException [Error 10113]: Query against an offline table or partition Table tbl_protectmode_tbl5

http://git-wip-us.apache.org/repos/asf/hive/blob/8230b579/ql/src/test/results/clientnegative/protectmode_tbl6.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/protectmode_tbl6.q.out b/ql/src/test/results/clientnegative/protectmode_tbl6.q.out
deleted file mode 100644
index 65b10de..0000000
--- a/ql/src/test/results/clientnegative/protectmode_tbl6.q.out
+++ /dev/null
@@ -1,29 +0,0 @@
-PREHOOK: query: -- protect mode: syntax to change protect mode works and queries are not blocked if a table or partition is not in protect mode
-
-drop table tbl_protectmode_tbl6
-PREHOOK: type: DROPTABLE
-POSTHOOK: query: -- protect mode: syntax to change protect mode works and queries are not blocked if a table or partition is not in protect mode
-
-drop table tbl_protectmode_tbl6
-POSTHOOK: type: DROPTABLE
-PREHOOK: query: create table tbl_protectmode_tbl6 (col string)
-PREHOOK: type: CREATETABLE
-PREHOOK: Output: database:default
-PREHOOK: Output: default@tbl_protectmode_tbl6
-POSTHOOK: query: create table tbl_protectmode_tbl6 (col string)
-POSTHOOK: type: CREATETABLE
-POSTHOOK: Output: database:default
-POSTHOOK: Output: default@tbl_protectmode_tbl6
-PREHOOK: query: alter table tbl_protectmode_tbl6 enable no_drop cascade
-PREHOOK: type: ALTERTABLE_PROTECTMODE
-PREHOOK: Input: default@tbl_protectmode_tbl6
-PREHOOK: Output: default@tbl_protectmode_tbl6
-POSTHOOK: query: alter table tbl_protectmode_tbl6 enable no_drop cascade
-POSTHOOK: type: ALTERTABLE_PROTECTMODE
-POSTHOOK: Input: default@tbl_protectmode_tbl6
-POSTHOOK: Output: default@tbl_protectmode_tbl6
-PREHOOK: query: drop table tbl_protectmode_tbl6
-PREHOOK: type: DROPTABLE
-PREHOOK: Input: default@tbl_protectmode_tbl6
-PREHOOK: Output: default@tbl_protectmode_tbl6
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Table tbl_protectmode_tbl6 is protected from being dropped

http://git-wip-us.apache.org/repos/asf/hive/blob/8230b579/ql/src/test/results/clientnegative/protectmode_tbl7.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/protectmode_tbl7.q.out b/ql/src/test/results/clientnegative/protectmode_tbl7.q.out
deleted file mode 100644
index 0a0e07d..0000000
--- a/ql/src/test/results/clientnegative/protectmode_tbl7.q.out
+++ /dev/null
@@ -1,55 +0,0 @@
-PREHOOK: query: -- protect mode: syntax to change protect mode works and queries are not blocked if a table or partition is not in protect mode
-
-drop table tbl_protectmode_tbl7
-PREHOOK: type: DROPTABLE
-POSTHOOK: query: -- protect mode: syntax to change protect mode works and queries are not blocked if a table or partition is not in protect mode
-
-drop table tbl_protectmode_tbl7
-POSTHOOK: type: DROPTABLE
-PREHOOK: query: create table tbl_protectmode_tbl7  (col string) partitioned by (p string)
-PREHOOK: type: CREATETABLE
-PREHOOK: Output: database:default
-PREHOOK: Output: default@tbl_protectmode_tbl7
-POSTHOOK: query: create table tbl_protectmode_tbl7  (col string) partitioned by (p string)
-POSTHOOK: type: CREATETABLE
-POSTHOOK: Output: database:default
-POSTHOOK: Output: default@tbl_protectmode_tbl7
-PREHOOK: query: alter table tbl_protectmode_tbl7 add partition (p='p1')
-PREHOOK: type: ALTERTABLE_ADDPARTS
-PREHOOK: Output: default@tbl_protectmode_tbl7
-POSTHOOK: query: alter table tbl_protectmode_tbl7 add partition (p='p1')
-POSTHOOK: type: ALTERTABLE_ADDPARTS
-POSTHOOK: Output: default@tbl_protectmode_tbl7
-POSTHOOK: Output: default@tbl_protectmode_tbl7@p=p1
-PREHOOK: query: alter table tbl_protectmode_tbl7 enable no_drop
-PREHOOK: type: ALTERTABLE_PROTECTMODE
-PREHOOK: Input: default@tbl_protectmode_tbl7
-PREHOOK: Output: default@tbl_protectmode_tbl7
-POSTHOOK: query: alter table tbl_protectmode_tbl7 enable no_drop
-POSTHOOK: type: ALTERTABLE_PROTECTMODE
-POSTHOOK: Input: default@tbl_protectmode_tbl7
-POSTHOOK: Output: default@tbl_protectmode_tbl7
-PREHOOK: query: alter table tbl_protectmode_tbl7 drop partition (p='p1')
-PREHOOK: type: ALTERTABLE_DROPPARTS
-PREHOOK: Input: default@tbl_protectmode_tbl7
-PREHOOK: Output: default@tbl_protectmode_tbl7@p=p1
-POSTHOOK: query: alter table tbl_protectmode_tbl7 drop partition (p='p1')
-POSTHOOK: type: ALTERTABLE_DROPPARTS
-POSTHOOK: Input: default@tbl_protectmode_tbl7
-POSTHOOK: Output: default@tbl_protectmode_tbl7@p=p1
-PREHOOK: query: alter table tbl_protectmode_tbl7 add partition (p='p1')
-PREHOOK: type: ALTERTABLE_ADDPARTS
-PREHOOK: Output: default@tbl_protectmode_tbl7
-POSTHOOK: query: alter table tbl_protectmode_tbl7 add partition (p='p1')
-POSTHOOK: type: ALTERTABLE_ADDPARTS
-POSTHOOK: Output: default@tbl_protectmode_tbl7
-POSTHOOK: Output: default@tbl_protectmode_tbl7@p=p1
-PREHOOK: query: alter table tbl_protectmode_tbl7 enable no_drop cascade
-PREHOOK: type: ALTERTABLE_PROTECTMODE
-PREHOOK: Input: default@tbl_protectmode_tbl7
-PREHOOK: Output: default@tbl_protectmode_tbl7
-POSTHOOK: query: alter table tbl_protectmode_tbl7 enable no_drop cascade
-POSTHOOK: type: ALTERTABLE_PROTECTMODE
-POSTHOOK: Input: default@tbl_protectmode_tbl7
-POSTHOOK: Output: default@tbl_protectmode_tbl7
-FAILED: SemanticException [Error 30011]: Partition protected from being dropped default@tbl_protectmode_tbl7@p=p1

http://git-wip-us.apache.org/repos/asf/hive/blob/8230b579/ql/src/test/results/clientnegative/protectmode_tbl8.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/protectmode_tbl8.q.out b/ql/src/test/results/clientnegative/protectmode_tbl8.q.out
deleted file mode 100644
index 443ec87..0000000
--- a/ql/src/test/results/clientnegative/protectmode_tbl8.q.out
+++ /dev/null
@@ -1,55 +0,0 @@
-PREHOOK: query: -- protect mode: syntax to change protect mode works and queries are not blocked if a table or partition is not in protect mode
-
-drop table tbl_protectmode_tbl8
-PREHOOK: type: DROPTABLE
-POSTHOOK: query: -- protect mode: syntax to change protect mode works and queries are not blocked if a table or partition is not in protect mode
-
-drop table tbl_protectmode_tbl8
-POSTHOOK: type: DROPTABLE
-PREHOOK: query: create table tbl_protectmode_tbl8  (col string) partitioned by (p string)
-PREHOOK: type: CREATETABLE
-PREHOOK: Output: database:default
-PREHOOK: Output: default@tbl_protectmode_tbl8
-POSTHOOK: query: create table tbl_protectmode_tbl8  (col string) partitioned by (p string)
-POSTHOOK: type: CREATETABLE
-POSTHOOK: Output: database:default
-POSTHOOK: Output: default@tbl_protectmode_tbl8
-PREHOOK: query: alter table tbl_protectmode_tbl8 add partition (p='p1')
-PREHOOK: type: ALTERTABLE_ADDPARTS
-PREHOOK: Output: default@tbl_protectmode_tbl8
-POSTHOOK: query: alter table tbl_protectmode_tbl8 add partition (p='p1')
-POSTHOOK: type: ALTERTABLE_ADDPARTS
-POSTHOOK: Output: default@tbl_protectmode_tbl8
-POSTHOOK: Output: default@tbl_protectmode_tbl8@p=p1
-PREHOOK: query: alter table tbl_protectmode_tbl8 enable no_drop
-PREHOOK: type: ALTERTABLE_PROTECTMODE
-PREHOOK: Input: default@tbl_protectmode_tbl8
-PREHOOK: Output: default@tbl_protectmode_tbl8
-POSTHOOK: query: alter table tbl_protectmode_tbl8 enable no_drop
-POSTHOOK: type: ALTERTABLE_PROTECTMODE
-POSTHOOK: Input: default@tbl_protectmode_tbl8
-POSTHOOK: Output: default@tbl_protectmode_tbl8
-PREHOOK: query: alter table tbl_protectmode_tbl8 drop partition (p='p1')
-PREHOOK: type: ALTERTABLE_DROPPARTS
-PREHOOK: Input: default@tbl_protectmode_tbl8
-PREHOOK: Output: default@tbl_protectmode_tbl8@p=p1
-POSTHOOK: query: alter table tbl_protectmode_tbl8 drop partition (p='p1')
-POSTHOOK: type: ALTERTABLE_DROPPARTS
-POSTHOOK: Input: default@tbl_protectmode_tbl8
-POSTHOOK: Output: default@tbl_protectmode_tbl8@p=p1
-PREHOOK: query: alter table tbl_protectmode_tbl8 enable no_drop cascade
-PREHOOK: type: ALTERTABLE_PROTECTMODE
-PREHOOK: Input: default@tbl_protectmode_tbl8
-PREHOOK: Output: default@tbl_protectmode_tbl8
-POSTHOOK: query: alter table tbl_protectmode_tbl8 enable no_drop cascade
-POSTHOOK: type: ALTERTABLE_PROTECTMODE
-POSTHOOK: Input: default@tbl_protectmode_tbl8
-POSTHOOK: Output: default@tbl_protectmode_tbl8
-PREHOOK: query: alter table tbl_protectmode_tbl8 add partition (p='p1')
-PREHOOK: type: ALTERTABLE_ADDPARTS
-PREHOOK: Output: default@tbl_protectmode_tbl8
-POSTHOOK: query: alter table tbl_protectmode_tbl8 add partition (p='p1')
-POSTHOOK: type: ALTERTABLE_ADDPARTS
-POSTHOOK: Output: default@tbl_protectmode_tbl8
-POSTHOOK: Output: default@tbl_protectmode_tbl8@p=p1
-FAILED: SemanticException [Error 30011]: Partition protected from being dropped default@tbl_protectmode_tbl8@p=p1

http://git-wip-us.apache.org/repos/asf/hive/blob/8230b579/ql/src/test/results/clientnegative/protectmode_tbl_no_drop.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/protectmode_tbl_no_drop.q.out b/ql/src/test/results/clientnegative/protectmode_tbl_no_drop.q.out
deleted file mode 100644
index 1057434..0000000
--- a/ql/src/test/results/clientnegative/protectmode_tbl_no_drop.q.out
+++ /dev/null
@@ -1,46 +0,0 @@
-PREHOOK: query: -- protect mode: syntax to change protect mode works and queries are not blocked if a table or partition is not in protect mode
-
-drop table tbl_protectmode__no_drop
-PREHOOK: type: DROPTABLE
-POSTHOOK: query: -- protect mode: syntax to change protect mode works and queries are not blocked if a table or partition is not in protect mode
-
-drop table tbl_protectmode__no_drop
-POSTHOOK: type: DROPTABLE
-PREHOOK: query: create table tbl_protectmode__no_drop  (col string)
-PREHOOK: type: CREATETABLE
-PREHOOK: Output: database:default
-PREHOOK: Output: default@tbl_protectmode__no_drop
-POSTHOOK: query: create table tbl_protectmode__no_drop  (col string)
-POSTHOOK: type: CREATETABLE
-POSTHOOK: Output: database:default
-POSTHOOK: Output: default@tbl_protectmode__no_drop
-PREHOOK: query: select * from tbl_protectmode__no_drop
-PREHOOK: type: QUERY
-PREHOOK: Input: default@tbl_protectmode__no_drop
-#### A masked pattern was here ####
-POSTHOOK: query: select * from tbl_protectmode__no_drop
-POSTHOOK: type: QUERY
-POSTHOOK: Input: default@tbl_protectmode__no_drop
-#### A masked pattern was here ####
-PREHOOK: query: alter table tbl_protectmode__no_drop enable no_drop
-PREHOOK: type: ALTERTABLE_PROTECTMODE
-PREHOOK: Input: default@tbl_protectmode__no_drop
-PREHOOK: Output: default@tbl_protectmode__no_drop
-POSTHOOK: query: alter table tbl_protectmode__no_drop enable no_drop
-POSTHOOK: type: ALTERTABLE_PROTECTMODE
-POSTHOOK: Input: default@tbl_protectmode__no_drop
-POSTHOOK: Output: default@tbl_protectmode__no_drop
-PREHOOK: query: desc extended tbl_protectmode__no_drop
-PREHOOK: type: DESCTABLE
-PREHOOK: Input: default@tbl_protectmode__no_drop
-POSTHOOK: query: desc extended tbl_protectmode__no_drop
-POSTHOOK: type: DESCTABLE
-POSTHOOK: Input: default@tbl_protectmode__no_drop
-col                 	string              	                    
-	 	 
-#### A masked pattern was here ####
-PREHOOK: query: drop table tbl_protectmode__no_drop
-PREHOOK: type: DROPTABLE
-PREHOOK: Input: default@tbl_protectmode__no_drop
-PREHOOK: Output: default@tbl_protectmode__no_drop
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Table tbl_protectmode__no_drop is protected from being dropped

http://git-wip-us.apache.org/repos/asf/hive/blob/8230b579/ql/src/test/results/clientnegative/sa_fail_hook3.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/sa_fail_hook3.q.out b/ql/src/test/results/clientnegative/sa_fail_hook3.q.out
deleted file mode 100644
index 38b2ba1..0000000
--- a/ql/src/test/results/clientnegative/sa_fail_hook3.q.out
+++ /dev/null
@@ -1,25 +0,0 @@
-PREHOOK: query: create table mp2 (a string) partitioned by (b string)
-PREHOOK: type: CREATETABLE
-PREHOOK: Output: database:default
-PREHOOK: Output: default@mp2
-POSTHOOK: query: create table mp2 (a string) partitioned by (b string)
-POSTHOOK: type: CREATETABLE
-POSTHOOK: Output: database:default
-POSTHOOK: Output: default@mp2
-PREHOOK: query: alter table mp2 add partition (b='1')
-PREHOOK: type: ALTERTABLE_ADDPARTS
-PREHOOK: Output: default@mp2
-POSTHOOK: query: alter table mp2 add partition (b='1')
-POSTHOOK: type: ALTERTABLE_ADDPARTS
-POSTHOOK: Output: default@mp2
-POSTHOOK: Output: default@mp2@b=1
-PREHOOK: query: alter table mp2 partition (b='1') enable NO_DROP
-PREHOOK: type: ALTERPARTITION_PROTECTMODE
-PREHOOK: Input: default@mp2
-PREHOOK: Output: default@mp2@b=1
-POSTHOOK: query: alter table mp2 partition (b='1') enable NO_DROP
-POSTHOOK: type: ALTERPARTITION_PROTECTMODE
-POSTHOOK: Input: default@mp2
-POSTHOOK: Input: default@mp2@b=1
-POSTHOOK: Output: default@mp2@b=1
-FAILED: SemanticException [Error 30011]: Partition protected from being dropped default@mp2@b=1

http://git-wip-us.apache.org/repos/asf/hive/blob/8230b579/ql/src/test/results/clientnegative/truncate_column_archived.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientnegative/truncate_column_archived.q.out b/ql/src/test/results/clientnegative/truncate_column_archived.q.out
deleted file mode 100644
index 9b87913..0000000
--- a/ql/src/test/results/clientnegative/truncate_column_archived.q.out
+++ /dev/null
@@ -1,20 +0,0 @@
-PREHOOK: query: -- Tests truncating a column from an archived partition
-
-CREATE TABLE test_tab (key STRING, value STRING) PARTITIONED BY (part STRING) STORED AS RCFILE
-PREHOOK: type: CREATETABLE
-POSTHOOK: query: -- Tests truncating a column from an archived partition
-
-CREATE TABLE test_tab (key STRING, value STRING) PARTITIONED BY (part STRING) STORED AS RCFILE
-POSTHOOK: type: CREATETABLE
-POSTHOOK: Output: default@test_tab
-PREHOOK: query: INSERT OVERWRITE TABLE test_tab PARTITION (part = '1') SELECT * FROM src
-PREHOOK: type: QUERY
-PREHOOK: Input: default@src
-PREHOOK: Output: default@test_tab@part=1
-POSTHOOK: query: INSERT OVERWRITE TABLE test_tab PARTITION (part = '1') SELECT * FROM src
-POSTHOOK: type: QUERY
-POSTHOOK: Input: default@src
-POSTHOOK: Output: default@test_tab@part=1
-POSTHOOK: Lineage: test_tab PARTITION(part=1).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ]
-POSTHOOK: Lineage: test_tab PARTITION(part=1).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ]
-FAILED: SemanticException [Error 10107]: Archiving methods are currently disabled. Please see the Hive wiki for more information about enabling archiving

http://git-wip-us.apache.org/repos/asf/hive/blob/8230b579/ql/src/test/results/clientpositive/alter_partition_protect_mode.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/alter_partition_protect_mode.q.out b/ql/src/test/results/clientpositive/alter_partition_protect_mode.q.out
deleted file mode 100644
index 80990d9..0000000
--- a/ql/src/test/results/clientpositive/alter_partition_protect_mode.q.out
+++ /dev/null
@@ -1,190 +0,0 @@
-PREHOOK: query: -- Create table
-create table if not exists alter_part_protect_mode(key string, value string ) partitioned by (year string, month string) stored as textfile
-PREHOOK: type: CREATETABLE
-PREHOOK: Output: database:default
-PREHOOK: Output: default@alter_part_protect_mode
-POSTHOOK: query: -- Create table
-create table if not exists alter_part_protect_mode(key string, value string ) partitioned by (year string, month string) stored as textfile
-POSTHOOK: type: CREATETABLE
-POSTHOOK: Output: database:default
-POSTHOOK: Output: default@alter_part_protect_mode
-PREHOOK: query: -- Load data
-load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_protect_mode partition (year='1996', month='10')
-PREHOOK: type: LOAD
-#### A masked pattern was here ####
-PREHOOK: Output: default@alter_part_protect_mode
-POSTHOOK: query: -- Load data
-load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_protect_mode partition (year='1996', month='10')
-POSTHOOK: type: LOAD
-#### A masked pattern was here ####
-POSTHOOK: Output: default@alter_part_protect_mode
-POSTHOOK: Output: default@alter_part_protect_mode@year=1996/month=10
-PREHOOK: query: load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_protect_mode partition (year='1996', month='12')
-PREHOOK: type: LOAD
-#### A masked pattern was here ####
-PREHOOK: Output: default@alter_part_protect_mode
-POSTHOOK: query: load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_protect_mode partition (year='1996', month='12')
-POSTHOOK: type: LOAD
-#### A masked pattern was here ####
-POSTHOOK: Output: default@alter_part_protect_mode
-POSTHOOK: Output: default@alter_part_protect_mode@year=1996/month=12
-PREHOOK: query: load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_protect_mode partition (year='1995', month='09')
-PREHOOK: type: LOAD
-#### A masked pattern was here ####
-PREHOOK: Output: default@alter_part_protect_mode
-POSTHOOK: query: load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_protect_mode partition (year='1995', month='09')
-POSTHOOK: type: LOAD
-#### A masked pattern was here ####
-POSTHOOK: Output: default@alter_part_protect_mode
-POSTHOOK: Output: default@alter_part_protect_mode@year=1995/month=09
-PREHOOK: query: load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_protect_mode partition (year='1994', month='07')
-PREHOOK: type: LOAD
-#### A masked pattern was here ####
-PREHOOK: Output: default@alter_part_protect_mode
-POSTHOOK: query: load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_protect_mode partition (year='1994', month='07')
-POSTHOOK: type: LOAD
-#### A masked pattern was here ####
-POSTHOOK: Output: default@alter_part_protect_mode
-POSTHOOK: Output: default@alter_part_protect_mode@year=1994/month=07
-PREHOOK: query: -- offline
-alter table alter_part_protect_mode partition (year='1996') disable offline
-PREHOOK: type: ALTERPARTITION_PROTECTMODE
-PREHOOK: Input: default@alter_part_protect_mode
-PREHOOK: Output: default@alter_part_protect_mode@year=1996/month=10
-PREHOOK: Output: default@alter_part_protect_mode@year=1996/month=12
-POSTHOOK: query: -- offline
-alter table alter_part_protect_mode partition (year='1996') disable offline
-POSTHOOK: type: ALTERPARTITION_PROTECTMODE
-POSTHOOK: Input: default@alter_part_protect_mode
-POSTHOOK: Input: default@alter_part_protect_mode@year=1996/month=10
-POSTHOOK: Input: default@alter_part_protect_mode@year=1996/month=12
-POSTHOOK: Output: default@alter_part_protect_mode@year=1996/month=10
-POSTHOOK: Output: default@alter_part_protect_mode@year=1996/month=12
-PREHOOK: query: select * from alter_part_protect_mode where year = '1996'
-PREHOOK: type: QUERY
-PREHOOK: Input: default@alter_part_protect_mode
-PREHOOK: Input: default@alter_part_protect_mode@year=1996/month=10
-PREHOOK: Input: default@alter_part_protect_mode@year=1996/month=12
-#### A masked pattern was here ####
-POSTHOOK: query: select * from alter_part_protect_mode where year = '1996'
-POSTHOOK: type: QUERY
-POSTHOOK: Input: default@alter_part_protect_mode
-POSTHOOK: Input: default@alter_part_protect_mode@year=1996/month=10
-POSTHOOK: Input: default@alter_part_protect_mode@year=1996/month=12
-#### A masked pattern was here ####
-1	11	1996	10
-2	12	1996	10
-3	13	1996	10
-7	17	1996	10
-8	18	1996	10
-8	28	1996	10
-1	11	1996	12
-2	12	1996	12
-3	13	1996	12
-7	17	1996	12
-8	18	1996	12
-8	28	1996	12
-PREHOOK: query: alter table alter_part_protect_mode partition (year='1995') enable offline
-PREHOOK: type: ALTERPARTITION_PROTECTMODE
-PREHOOK: Input: default@alter_part_protect_mode
-PREHOOK: Output: default@alter_part_protect_mode@year=1995/month=09
-POSTHOOK: query: alter table alter_part_protect_mode partition (year='1995') enable offline
-POSTHOOK: type: ALTERPARTITION_PROTECTMODE
-POSTHOOK: Input: default@alter_part_protect_mode
-POSTHOOK: Input: default@alter_part_protect_mode@year=1995/month=09
-POSTHOOK: Output: default@alter_part_protect_mode@year=1995/month=09
-PREHOOK: query: alter table alter_part_protect_mode partition (year='1995') disable offline
-PREHOOK: type: ALTERPARTITION_PROTECTMODE
-PREHOOK: Input: default@alter_part_protect_mode
-PREHOOK: Output: default@alter_part_protect_mode@year=1995/month=09
-POSTHOOK: query: alter table alter_part_protect_mode partition (year='1995') disable offline
-POSTHOOK: type: ALTERPARTITION_PROTECTMODE
-POSTHOOK: Input: default@alter_part_protect_mode
-POSTHOOK: Input: default@alter_part_protect_mode@year=1995/month=09
-POSTHOOK: Output: default@alter_part_protect_mode@year=1995/month=09
-PREHOOK: query: select * from alter_part_protect_mode where year = '1995'
-PREHOOK: type: QUERY
-PREHOOK: Input: default@alter_part_protect_mode
-PREHOOK: Input: default@alter_part_protect_mode@year=1995/month=09
-#### A masked pattern was here ####
-POSTHOOK: query: select * from alter_part_protect_mode where year = '1995'
-POSTHOOK: type: QUERY
-POSTHOOK: Input: default@alter_part_protect_mode
-POSTHOOK: Input: default@alter_part_protect_mode@year=1995/month=09
-#### A masked pattern was here ####
-1	11	1995	09
-2	12	1995	09
-3	13	1995	09
-7	17	1995	09
-8	18	1995	09
-8	28	1995	09
-PREHOOK: query: -- no_drop
-alter table alter_part_protect_mode partition (year='1996') enable no_drop
-PREHOOK: type: ALTERPARTITION_PROTECTMODE
-PREHOOK: Input: default@alter_part_protect_mode
-PREHOOK: Output: default@alter_part_protect_mode@year=1996/month=10
-PREHOOK: Output: default@alter_part_protect_mode@year=1996/month=12
-POSTHOOK: query: -- no_drop
-alter table alter_part_protect_mode partition (year='1996') enable no_drop
-POSTHOOK: type: ALTERPARTITION_PROTECTMODE
-POSTHOOK: Input: default@alter_part_protect_mode
-POSTHOOK: Input: default@alter_part_protect_mode@year=1996/month=10
-POSTHOOK: Input: default@alter_part_protect_mode@year=1996/month=12
-POSTHOOK: Output: default@alter_part_protect_mode@year=1996/month=10
-POSTHOOK: Output: default@alter_part_protect_mode@year=1996/month=12
-PREHOOK: query: alter table alter_part_protect_mode partition (year='1995') disable no_drop
-PREHOOK: type: ALTERPARTITION_PROTECTMODE
-PREHOOK: Input: default@alter_part_protect_mode
-PREHOOK: Output: default@alter_part_protect_mode@year=1995/month=09
-POSTHOOK: query: alter table alter_part_protect_mode partition (year='1995') disable no_drop
-POSTHOOK: type: ALTERPARTITION_PROTECTMODE
-POSTHOOK: Input: default@alter_part_protect_mode
-POSTHOOK: Input: default@alter_part_protect_mode@year=1995/month=09
-POSTHOOK: Output: default@alter_part_protect_mode@year=1995/month=09
-PREHOOK: query: alter table alter_part_protect_mode drop partition (year='1995')
-PREHOOK: type: ALTERTABLE_DROPPARTS
-PREHOOK: Input: default@alter_part_protect_mode
-PREHOOK: Output: default@alter_part_protect_mode@year=1995/month=09
-POSTHOOK: query: alter table alter_part_protect_mode drop partition (year='1995')
-POSTHOOK: type: ALTERTABLE_DROPPARTS
-POSTHOOK: Input: default@alter_part_protect_mode
-POSTHOOK: Output: default@alter_part_protect_mode@year=1995/month=09
-PREHOOK: query: alter table alter_part_protect_mode partition (year='1994', month='07') disable no_drop
-PREHOOK: type: ALTERPARTITION_PROTECTMODE
-PREHOOK: Input: default@alter_part_protect_mode
-PREHOOK: Output: default@alter_part_protect_mode@year=1994/month=07
-POSTHOOK: query: alter table alter_part_protect_mode partition (year='1994', month='07') disable no_drop
-POSTHOOK: type: ALTERPARTITION_PROTECTMODE
-POSTHOOK: Input: default@alter_part_protect_mode
-POSTHOOK: Input: default@alter_part_protect_mode@year=1994/month=07
-POSTHOOK: Output: default@alter_part_protect_mode@year=1994/month=07
-PREHOOK: query: alter table alter_part_protect_mode drop partition (year='1994')
-PREHOOK: type: ALTERTABLE_DROPPARTS
-PREHOOK: Input: default@alter_part_protect_mode
-PREHOOK: Output: default@alter_part_protect_mode@year=1994/month=07
-POSTHOOK: query: alter table alter_part_protect_mode drop partition (year='1994')
-POSTHOOK: type: ALTERTABLE_DROPPARTS
-POSTHOOK: Input: default@alter_part_protect_mode
-POSTHOOK: Output: default@alter_part_protect_mode@year=1994/month=07
-PREHOOK: query: -- Cleanup
-alter table alter_part_protect_mode partition (year='1996') disable no_drop
-PREHOOK: type: ALTERPARTITION_PROTECTMODE
-PREHOOK: Input: default@alter_part_protect_mode
-PREHOOK: Output: default@alter_part_protect_mode@year=1996/month=10
-PREHOOK: Output: default@alter_part_protect_mode@year=1996/month=12
-POSTHOOK: query: -- Cleanup
-alter table alter_part_protect_mode partition (year='1996') disable no_drop
-POSTHOOK: type: ALTERPARTITION_PROTECTMODE
-POSTHOOK: Input: default@alter_part_protect_mode
-POSTHOOK: Input: default@alter_part_protect_mode@year=1996/month=10
-POSTHOOK: Input: default@alter_part_protect_mode@year=1996/month=12
-POSTHOOK: Output: default@alter_part_protect_mode@year=1996/month=10
-POSTHOOK: Output: default@alter_part_protect_mode@year=1996/month=12
-PREHOOK: query: drop table alter_part_protect_mode
-PREHOOK: type: DROPTABLE
-PREHOOK: Input: default@alter_part_protect_mode
-PREHOOK: Output: default@alter_part_protect_mode
-POSTHOOK: query: drop table alter_part_protect_mode
-POSTHOOK: type: DROPTABLE
-POSTHOOK: Input: default@alter_part_protect_mode
-POSTHOOK: Output: default@alter_part_protect_mode


Mime
View raw message