http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/java/org/apache/hadoop/hive/ql/plan/AlterTableDesc.java ---------------------------------------------------------------------- diff --git a/ql/src/java/org/apache/hadoop/hive/ql/plan/AlterTableDesc.java b/ql/src/java/org/apache/hadoop/hive/ql/plan/AlterTableDesc.java index 9e1ac80..2dabce2 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/plan/AlterTableDesc.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/plan/AlterTableDesc.java @@ -18,14 +18,6 @@ package org.apache.hadoop.hive.ql.plan; -import java.io.Serializable; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - import org.apache.hadoop.hive.metastore.api.FieldSchema; import org.apache.hadoop.hive.metastore.api.Order; import org.apache.hadoop.hive.ql.exec.Utilities; @@ -34,6 +26,14 @@ import org.apache.hadoop.hive.ql.parse.ParseUtils; import org.apache.hadoop.hive.ql.parse.SemanticException; import org.apache.hadoop.hive.ql.plan.Explain.Level; +import java.io.Serializable; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + /** * AlterTableDesc. * @@ -51,8 +51,7 @@ public class AlterTableDesc extends DDLDesc implements Serializable { ADDPROPS("add props"), DROPPROPS("drop props"), ADDSERDE("add serde"), ADDSERDEPROPS("add serde props"), ADDFILEFORMAT("add fileformat"), ADDCLUSTERSORTCOLUMN("add cluster sort column"), RENAMECOLUMN("rename column"), ADDPARTITION("add partition"), TOUCH("touch"), ARCHIVE("archieve"), - UNARCHIVE("unarchieve"), ALTERPROTECTMODE("alter protect mode"), - ALTERPARTITIONPROTECTMODE("alter partition protect mode"), ALTERLOCATION("alter location"), + UNARCHIVE("unarchieve"), ALTERLOCATION("alter location"), DROPPARTITION("drop partition"), RENAMEPARTITION("rename partition"), ADDSKEWEDBY("add skew column"), ALTERSKEWEDLOCATION("alter skew location"), ALTERBUCKETNUM("alter bucket number"), ALTERPARTITION("alter partition"), COMPACT("compact"), @@ -72,7 +71,6 @@ public class AlterTableDesc extends DDLDesc implements Serializable { new HashSet<AlterTableDesc.AlterTableTypes>(); static { - alterTableTypesWithPartialSpec.add(AlterTableDesc.AlterTableTypes.ALTERPROTECTMODE); alterTableTypesWithPartialSpec.add(AlterTableDesc.AlterTableTypes.ADDCOLS); alterTableTypesWithPartialSpec.add(AlterTableDesc.AlterTableTypes.REPLACECOLS); alterTableTypesWithPartialSpec.add(AlterTableDesc.AlterTableTypes.RENAMECOLUMN);
http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/java/org/apache/hadoop/hive/ql/plan/DropTableDesc.java ---------------------------------------------------------------------- diff --git a/ql/src/java/org/apache/hadoop/hive/ql/plan/DropTableDesc.java b/ql/src/java/org/apache/hadoop/hive/ql/plan/DropTableDesc.java index bb0e7f7..62c8f7e 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/plan/DropTableDesc.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/plan/DropTableDesc.java @@ -18,12 +18,13 @@ package org.apache.hadoop.hive.ql.plan; +import org.apache.hadoop.hive.ql.parse.ReplicationSpec; +import org.apache.hadoop.hive.ql.plan.Explain.Level; + import java.io.Serializable; import java.util.ArrayList; import java.util.List; import java.util.Map; -import org.apache.hadoop.hive.ql.parse.ReplicationSpec; -import org.apache.hadoop.hive.ql.plan.Explain.Level; /** * DropTableDesc. @@ -55,7 +56,6 @@ public class DropTableDesc extends DDLDesc implements Serializable { boolean expectView; boolean ifExists; boolean ifPurge; - boolean ignoreProtection; ReplicationSpec replicationSpec; public DropTableDesc() { @@ -73,13 +73,11 @@ public class DropTableDesc extends DDLDesc implements Serializable { this.expectView = expectView; this.ifExists = ifExists; this.ifPurge = ifPurge; - this.ignoreProtection = false; this.replicationSpec = replicationSpec; } public DropTableDesc(String tableName, Map<Integer, List<ExprNodeGenericFuncDesc>> partSpecs, - boolean expectView, boolean ignoreProtection, boolean ifPurge, - ReplicationSpec replicationSpec) { + boolean expectView, boolean ifPurge, ReplicationSpec replicationSpec) { this.tableName = tableName; this.partSpecs = new ArrayList<PartSpec>(partSpecs.size()); for (Map.Entry<Integer, List<ExprNodeGenericFuncDesc>> partSpec : partSpecs.entrySet()) { @@ -88,7 +86,6 @@ public class DropTableDesc extends DDLDesc implements Serializable { this.partSpecs.add(new PartSpec(expr, prefixLength)); } } - this.ignoreProtection = ignoreProtection; this.expectView = expectView; this.ifPurge = ifPurge; this.replicationSpec = replicationSpec; @@ -118,21 +115,6 @@ public class DropTableDesc extends DDLDesc implements Serializable { } /** - * @return whether or not protection will be ignored for the partition - */ - public boolean getIgnoreProtection() { - return ignoreProtection; - } - - /** - * @param ignoreProtection - * set whether or not protection will be ignored for the partition - */ - public void setIgnoreProtection(boolean ignoreProtection) { - this.ignoreProtection = ignoreProtection; - } - - /** * @return whether to expect a view being dropped */ public boolean getExpectView() { http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java ---------------------------------------------------------------------- diff --git a/ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java b/ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java index 75cdf16..df37832 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java @@ -93,8 +93,6 @@ public enum HiveOperation { SHOW_ROLES("SHOW_ROLES", null, null), SHOW_ROLE_PRINCIPALS("SHOW_ROLE_PRINCIPALS", null, null), SHOW_ROLE_GRANT("SHOW_ROLE_GRANT", null, null), - ALTERTABLE_PROTECTMODE("ALTERTABLE_PROTECTMODE", new Privilege[]{Privilege.ALTER_METADATA}, null), - ALTERPARTITION_PROTECTMODE("ALTERPARTITION_PROTECTMODE", new Privilege[]{Privilege.ALTER_METADATA}, null), ALTERTABLE_FILEFORMAT("ALTERTABLE_FILEFORMAT", new Privilege[]{Privilege.ALTER_METADATA}, null), ALTERPARTITION_FILEFORMAT("ALTERPARTITION_FILEFORMAT", new Privilege[]{Privilege.ALTER_METADATA}, null), ALTERTABLE_LOCATION("ALTERTABLE_LOCATION", new Privilege[]{Privilege.ALTER_DATA}, null), http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/queries/clientnegative/alter_partition_invalidspec.q ---------------------------------------------------------------------- diff --git a/ql/src/test/queries/clientnegative/alter_partition_invalidspec.q b/ql/src/test/queries/clientnegative/alter_partition_invalidspec.q deleted file mode 100644 index 8cbb25c..0000000 --- a/ql/src/test/queries/clientnegative/alter_partition_invalidspec.q +++ /dev/null @@ -1,8 +0,0 @@ --- Create table -create table if not exists alter_part_invalidspec(key string, value string ) partitioned by (year string, month string) stored as textfile ; - --- Load data -load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_invalidspec partition (year='1996', month='10'); -load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_invalidspec partition (year='1996', month='12'); - -alter table alter_part_invalidspec partition (year='1997') enable no_drop; http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/queries/clientnegative/alter_partition_nodrop.q ---------------------------------------------------------------------- diff --git a/ql/src/test/queries/clientnegative/alter_partition_nodrop.q b/ql/src/test/queries/clientnegative/alter_partition_nodrop.q deleted file mode 100644 index 3c0ff02..0000000 --- a/ql/src/test/queries/clientnegative/alter_partition_nodrop.q +++ /dev/null @@ -1,9 +0,0 @@ --- Create table -create table if not exists alter_part_nodrop_part(key string, value string ) partitioned by (year string, month string) stored as textfile ; - --- Load data -load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_nodrop_part partition (year='1996', month='10'); -load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_nodrop_part partition (year='1996', month='12'); - -alter table alter_part_nodrop_part partition (year='1996') enable no_drop; -alter table alter_part_nodrop_part drop partition (year='1996'); http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/queries/clientnegative/alter_partition_nodrop_table.q ---------------------------------------------------------------------- diff --git a/ql/src/test/queries/clientnegative/alter_partition_nodrop_table.q b/ql/src/test/queries/clientnegative/alter_partition_nodrop_table.q deleted file mode 100644 index f2135b1..0000000 --- a/ql/src/test/queries/clientnegative/alter_partition_nodrop_table.q +++ /dev/null @@ -1,9 +0,0 @@ --- Create table -create table if not exists alter_part_nodrop_table(key string, value string ) partitioned by (year string, month string) stored as textfile ; - --- Load data -load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_nodrop_table partition (year='1996', month='10'); -load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_nodrop_table partition (year='1996', month='12'); - -alter table alter_part_nodrop_table partition (year='1996') enable no_drop; -drop table alter_part_nodrop_table; http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/queries/clientnegative/alter_partition_offline.q ---------------------------------------------------------------------- diff --git a/ql/src/test/queries/clientnegative/alter_partition_offline.q b/ql/src/test/queries/clientnegative/alter_partition_offline.q deleted file mode 100644 index 7376d8b..0000000 --- a/ql/src/test/queries/clientnegative/alter_partition_offline.q +++ /dev/null @@ -1,11 +0,0 @@ --- create table -create table if not exists alter_part_offline (key string, value string ) partitioned by (year string, month string) stored as textfile ; - --- Load data -load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_offline partition (year='1996', month='10'); -load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_offline partition (year='1996', month='12'); - -alter table alter_part_offline partition (year='1996') disable offline; -select * from alter_part_offline where year = '1996'; -alter table alter_part_offline partition (year='1996') enable offline; -select * from alter_part_offline where year = '1996'; http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/queries/clientnegative/drop_table_failure3.q ---------------------------------------------------------------------- diff --git a/ql/src/test/queries/clientnegative/drop_table_failure3.q b/ql/src/test/queries/clientnegative/drop_table_failure3.q deleted file mode 100644 index 534ce0b..0000000 --- a/ql/src/test/queries/clientnegative/drop_table_failure3.q +++ /dev/null @@ -1,12 +0,0 @@ -create database dtf3; -use dtf3; - -create table drop_table_failure_temp(col STRING) partitioned by (p STRING); - -alter table drop_table_failure_temp add partition (p ='p1'); -alter table drop_table_failure_temp add partition (p ='p2'); -alter table drop_table_failure_temp add partition (p ='p3'); - -alter table drop_table_failure_temp partition (p ='p3') ENABLE NO_DROP; - -drop table drop_table_failure_temp; http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/queries/clientnegative/protectmode_part.q ---------------------------------------------------------------------- diff --git a/ql/src/test/queries/clientnegative/protectmode_part.q b/ql/src/test/queries/clientnegative/protectmode_part.q deleted file mode 100644 index 5415999..0000000 --- a/ql/src/test/queries/clientnegative/protectmode_part.q +++ /dev/null @@ -1,15 +0,0 @@ --- 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; - -create table tbl_protectmode3 (col string) partitioned by (p string); -alter table tbl_protectmode3 add partition (p='p1'); -alter table tbl_protectmode3 add partition (p='p2'); - -select * from tbl_protectmode3 where p='p1'; -select * from tbl_protectmode3 where p='p2'; - -alter table tbl_protectmode3 partition (p='p1') enable offline; - -select * from tbl_protectmode3 where p='p2'; -select * from tbl_protectmode3 where p='p1'; http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/queries/clientnegative/protectmode_part1.q ---------------------------------------------------------------------- diff --git a/ql/src/test/queries/clientnegative/protectmode_part1.q b/ql/src/test/queries/clientnegative/protectmode_part1.q deleted file mode 100644 index 99256da..0000000 --- a/ql/src/test/queries/clientnegative/protectmode_part1.q +++ /dev/null @@ -1,21 +0,0 @@ --- 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; - -create table tbl_protectmode5_1 (col string); - -create table tbl_protectmode5 (col string) partitioned by (p string); -alter table tbl_protectmode5 add partition (p='p1'); -alter table tbl_protectmode5 add partition (p='p2'); - -insert overwrite table tbl_protectmode5_1 -select col from tbl_protectmode5 where p='p1'; -insert overwrite table tbl_protectmode5_1 -select col from tbl_protectmode5 where p='p2'; - -alter table tbl_protectmode5 partition (p='p1') enable offline; - -insert overwrite table tbl_protectmode5_1 -select col from tbl_protectmode5 where p='p2'; -insert overwrite table tbl_protectmode5_1 -select col from tbl_protectmode5 where p='p1'; http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/queries/clientnegative/protectmode_part2.q ---------------------------------------------------------------------- diff --git a/ql/src/test/queries/clientnegative/protectmode_part2.q b/ql/src/test/queries/clientnegative/protectmode_part2.q deleted file mode 100644 index 3fdc036..0000000 --- a/ql/src/test/queries/clientnegative/protectmode_part2.q +++ /dev/null @@ -1,9 +0,0 @@ --- 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; - -create table tbl_protectmode6 (c1 string,c2 string) partitioned by (p string); -alter table tbl_protectmode6 add partition (p='p1'); -LOAD DATA LOCAL INPATH '../../data/files/kv1.txt' OVERWRITE INTO TABLE tbl_protectmode6 partition (p='p1'); -alter table tbl_protectmode6 partition (p='p1') enable offline; -LOAD DATA LOCAL INPATH '../../data/files/kv1.txt' OVERWRITE INTO TABLE tbl_protectmode6 partition (p='p1'); http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/queries/clientnegative/protectmode_part_no_drop.q ---------------------------------------------------------------------- diff --git a/ql/src/test/queries/clientnegative/protectmode_part_no_drop.q b/ql/src/test/queries/clientnegative/protectmode_part_no_drop.q deleted file mode 100644 index b4e508f..0000000 --- a/ql/src/test/queries/clientnegative/protectmode_part_no_drop.q +++ /dev/null @@ -1,10 +0,0 @@ --- 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; - -create table tbl_protectmode_no_drop (c1 string,c2 string) partitioned by (p string); -alter table tbl_protectmode_no_drop add partition (p='p1'); -alter table tbl_protectmode_no_drop partition (p='p1') enable no_drop; -desc extended tbl_protectmode_no_drop partition (p='p1'); - -alter table tbl_protectmode_no_drop drop partition (p='p1'); http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/queries/clientnegative/protectmode_part_no_drop2.q ---------------------------------------------------------------------- diff --git a/ql/src/test/queries/clientnegative/protectmode_part_no_drop2.q b/ql/src/test/queries/clientnegative/protectmode_part_no_drop2.q deleted file mode 100644 index e7e8c42..0000000 --- a/ql/src/test/queries/clientnegative/protectmode_part_no_drop2.q +++ /dev/null @@ -1,11 +0,0 @@ --- 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; -use db1; - -create table tbl_protectmode_no_drop2 (c1 string,c2 string) partitioned by (p string); -alter table tbl_protectmode_no_drop2 add partition (p='p1'); -alter table tbl_protectmode_no_drop2 partition (p='p1') enable no_drop; - -use default; -drop table db1.tbl_protectmode_no_drop2; http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/queries/clientnegative/protectmode_tbl1.q ---------------------------------------------------------------------- diff --git a/ql/src/test/queries/clientnegative/protectmode_tbl1.q b/ql/src/test/queries/clientnegative/protectmode_tbl1.q deleted file mode 100644 index 2361299..0000000 --- a/ql/src/test/queries/clientnegative/protectmode_tbl1.q +++ /dev/null @@ -1,8 +0,0 @@ --- 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; - -create table tbl_protectmode_1 (col string); -select * from tbl_protectmode_1; -alter table tbl_protectmode_1 enable offline; -select * from tbl_protectmode_1; http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/queries/clientnegative/protectmode_tbl2.q ---------------------------------------------------------------------- diff --git a/ql/src/test/queries/clientnegative/protectmode_tbl2.q b/ql/src/test/queries/clientnegative/protectmode_tbl2.q deleted file mode 100644 index 05964c3..0000000 --- a/ql/src/test/queries/clientnegative/protectmode_tbl2.q +++ /dev/null @@ -1,12 +0,0 @@ --- 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; - -create table tbl_protectmode2 (col string) partitioned by (p string); -alter table tbl_protectmode2 add partition (p='p1'); -alter table tbl_protectmode2 enable no_drop; -alter table tbl_protectmode2 enable offline; -alter table tbl_protectmode2 disable no_drop; -desc extended tbl_protectmode2; - -select * from tbl_protectmode2 where p='p1'; http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/queries/clientnegative/protectmode_tbl3.q ---------------------------------------------------------------------- diff --git a/ql/src/test/queries/clientnegative/protectmode_tbl3.q b/ql/src/test/queries/clientnegative/protectmode_tbl3.q deleted file mode 100644 index bbaa267..0000000 --- a/ql/src/test/queries/clientnegative/protectmode_tbl3.q +++ /dev/null @@ -1,10 +0,0 @@ --- 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; - -create table tbl_protectmode_4 (col string); -select col from tbl_protectmode_4; -alter table tbl_protectmode_4 enable offline; -desc extended tbl_protectmode_4; - -select col from tbl_protectmode_4; http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/queries/clientnegative/protectmode_tbl4.q ---------------------------------------------------------------------- diff --git a/ql/src/test/queries/clientnegative/protectmode_tbl4.q b/ql/src/test/queries/clientnegative/protectmode_tbl4.q deleted file mode 100644 index c7880de..0000000 --- a/ql/src/test/queries/clientnegative/protectmode_tbl4.q +++ /dev/null @@ -1,15 +0,0 @@ --- 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; -drop table tbl_protectmode_tbl4_src; - -create table tbl_protectmode_tbl4_src (col string); - -create table tbl_protectmode_tbl4 (col string) partitioned by (p string); -alter table tbl_protectmode_tbl4 add partition (p='p1'); -alter table tbl_protectmode_tbl4 enable no_drop; -alter table tbl_protectmode_tbl4 enable offline; -alter table tbl_protectmode_tbl4 disable no_drop; -desc extended tbl_protectmode_tbl4; - -select col from tbl_protectmode_tbl4 where p='not_exist'; http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/queries/clientnegative/protectmode_tbl5.q ---------------------------------------------------------------------- diff --git a/ql/src/test/queries/clientnegative/protectmode_tbl5.q b/ql/src/test/queries/clientnegative/protectmode_tbl5.q deleted file mode 100644 index cd848fd..0000000 --- a/ql/src/test/queries/clientnegative/protectmode_tbl5.q +++ /dev/null @@ -1,15 +0,0 @@ --- 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; -drop table tbl_protectmode_tbl5_src; - -create table tbl_protectmode_tbl5_src (col string); - -create table tbl_protectmode_tbl5 (col string) partitioned by (p string); -alter table tbl_protectmode_tbl5 add partition (p='p1'); -alter table tbl_protectmode_tbl5 enable no_drop; -alter table tbl_protectmode_tbl5 enable offline; -alter table tbl_protectmode_tbl5 disable no_drop; -desc extended tbl_protectmode_tbl5; - -insert overwrite table tbl_protectmode_tbl5 partition (p='not_exist') select col from tbl_protectmode_tbl5_src; http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/queries/clientnegative/protectmode_tbl6.q ---------------------------------------------------------------------- diff --git a/ql/src/test/queries/clientnegative/protectmode_tbl6.q b/ql/src/test/queries/clientnegative/protectmode_tbl6.q deleted file mode 100644 index 26248cc..0000000 --- a/ql/src/test/queries/clientnegative/protectmode_tbl6.q +++ /dev/null @@ -1,8 +0,0 @@ --- 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; - -create table tbl_protectmode_tbl6 (col string); -alter table tbl_protectmode_tbl6 enable no_drop cascade; - -drop table tbl_protectmode_tbl6; http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/queries/clientnegative/protectmode_tbl7.q ---------------------------------------------------------------------- diff --git a/ql/src/test/queries/clientnegative/protectmode_tbl7.q b/ql/src/test/queries/clientnegative/protectmode_tbl7.q deleted file mode 100644 index afff840..0000000 --- a/ql/src/test/queries/clientnegative/protectmode_tbl7.q +++ /dev/null @@ -1,13 +0,0 @@ --- 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; -create table tbl_protectmode_tbl7 (col string) partitioned by (p string); -alter table tbl_protectmode_tbl7 add partition (p='p1'); -alter table tbl_protectmode_tbl7 enable no_drop; - -alter table tbl_protectmode_tbl7 drop partition (p='p1'); - -alter table tbl_protectmode_tbl7 add partition (p='p1'); -alter table tbl_protectmode_tbl7 enable no_drop cascade; - -alter table tbl_protectmode_tbl7 drop partition (p='p1'); http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/queries/clientnegative/protectmode_tbl8.q ---------------------------------------------------------------------- diff --git a/ql/src/test/queries/clientnegative/protectmode_tbl8.q b/ql/src/test/queries/clientnegative/protectmode_tbl8.q deleted file mode 100644 index 809c287..0000000 --- a/ql/src/test/queries/clientnegative/protectmode_tbl8.q +++ /dev/null @@ -1,13 +0,0 @@ --- 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; -create table tbl_protectmode_tbl8 (col string) partitioned by (p string); -alter table tbl_protectmode_tbl8 add partition (p='p1'); -alter table tbl_protectmode_tbl8 enable no_drop; - -alter table tbl_protectmode_tbl8 drop partition (p='p1'); - -alter table tbl_protectmode_tbl8 enable no_drop cascade; - -alter table tbl_protectmode_tbl8 add partition (p='p1'); -alter table tbl_protectmode_tbl8 drop partition (p='p1'); http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/queries/clientnegative/protectmode_tbl_no_drop.q ---------------------------------------------------------------------- diff --git a/ql/src/test/queries/clientnegative/protectmode_tbl_no_drop.q b/ql/src/test/queries/clientnegative/protectmode_tbl_no_drop.q deleted file mode 100644 index a4ef2ac..0000000 --- a/ql/src/test/queries/clientnegative/protectmode_tbl_no_drop.q +++ /dev/null @@ -1,9 +0,0 @@ --- 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; - -create table tbl_protectmode__no_drop (col string); -select * from tbl_protectmode__no_drop; -alter table tbl_protectmode__no_drop enable no_drop; -desc extended tbl_protectmode__no_drop; -drop table tbl_protectmode__no_drop; http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/queries/clientnegative/sa_fail_hook3.q ---------------------------------------------------------------------- diff --git a/ql/src/test/queries/clientnegative/sa_fail_hook3.q b/ql/src/test/queries/clientnegative/sa_fail_hook3.q deleted file mode 100644 index e54201c..0000000 --- a/ql/src/test/queries/clientnegative/sa_fail_hook3.q +++ /dev/null @@ -1,4 +0,0 @@ -create table mp2 (a string) partitioned by (b string); -alter table mp2 add partition (b='1'); -alter table mp2 partition (b='1') enable NO_DROP; -alter table mp2 drop partition (b='1'); http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/queries/clientpositive/alter_partition_protect_mode.q ---------------------------------------------------------------------- diff --git a/ql/src/test/queries/clientpositive/alter_partition_protect_mode.q b/ql/src/test/queries/clientpositive/alter_partition_protect_mode.q deleted file mode 100644 index 7a1f3dd..0000000 --- a/ql/src/test/queries/clientpositive/alter_partition_protect_mode.q +++ /dev/null @@ -1,26 +0,0 @@ --- Create table -create table if not exists alter_part_protect_mode(key string, value string ) partitioned by (year string, month string) stored as textfile ; - --- Load data -load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_protect_mode partition (year='1996', month='10'); -load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_protect_mode partition (year='1996', month='12'); -load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_protect_mode partition (year='1995', month='09'); -load data local inpath '../../data/files/T1.txt' overwrite into table alter_part_protect_mode partition (year='1994', month='07'); - --- offline -alter table alter_part_protect_mode partition (year='1996') disable offline; -select * from alter_part_protect_mode where year = '1996'; -alter table alter_part_protect_mode partition (year='1995') enable offline; -alter table alter_part_protect_mode partition (year='1995') disable offline; -select * from alter_part_protect_mode where year = '1995'; - --- no_drop -alter table alter_part_protect_mode partition (year='1996') enable no_drop; -alter table alter_part_protect_mode partition (year='1995') disable no_drop; -alter table alter_part_protect_mode drop partition (year='1995'); -alter table alter_part_protect_mode partition (year='1994', month='07') disable no_drop; -alter table alter_part_protect_mode drop partition (year='1994'); - --- Cleanup -alter table alter_part_protect_mode partition (year='1996') disable no_drop; -drop table alter_part_protect_mode; http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/queries/clientpositive/drop_partitions_ignore_protection.q ---------------------------------------------------------------------- diff --git a/ql/src/test/queries/clientpositive/drop_partitions_ignore_protection.q b/ql/src/test/queries/clientpositive/drop_partitions_ignore_protection.q deleted file mode 100644 index e825df9..0000000 --- a/ql/src/test/queries/clientpositive/drop_partitions_ignore_protection.q +++ /dev/null @@ -1,10 +0,0 @@ -create table tbl_protectmode_no_drop (c1 string,c2 string) partitioned by (p string); -alter table tbl_protectmode_no_drop add partition (p='p1'); -alter table tbl_protectmode_no_drop partition (p='p1') enable no_drop; -desc extended tbl_protectmode_no_drop partition (p='p1'); - --- The partition will be dropped, even though we have enabled no_drop --- as 'ignore protection' has been specified in the command predicate -alter table tbl_protectmode_no_drop drop partition (p='p1') ignore protection; -drop table tbl_protectmode_no_drop; - http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/queries/clientpositive/protectmode.q ---------------------------------------------------------------------- diff --git a/ql/src/test/queries/clientpositive/protectmode.q b/ql/src/test/queries/clientpositive/protectmode.q deleted file mode 100644 index 27055fb..0000000 --- a/ql/src/test/queries/clientpositive/protectmode.q +++ /dev/null @@ -1,63 +0,0 @@ --- protect mode: syntax to change protect mode works and queries are not blocked if a table or partition is not in protect mode - -drop table tbl1; -drop table tbl2; - -create table tbl1 (col string); -select * from tbl1; -select col from tbl1; -alter table tbl1 enable offline; -desc extended tbl1; -alter table tbl1 disable offline; -desc extended tbl1; -select * from tbl1; -select col from tbl1; - -create table tbl2 (col string) partitioned by (p string); -alter table tbl2 add partition (p='p1'); -alter table tbl2 add partition (p='p2'); -alter table tbl2 add partition (p='p3'); -alter table tbl2 drop partition (p='not_exist'); - -select * from tbl2 where p='p1'; -select * from tbl2 where p='p2'; - -alter table tbl2 partition (p='p1') enable offline; -desc extended tbl2 partition (p='p1'); - -alter table tbl2 enable offline; -desc extended tbl2; - -alter table tbl2 enable no_drop; -desc extended tbl2; -alter table tbl2 drop partition (p='p3'); - -alter table tbl2 disable offline; -desc extended tbl2; - -alter table tbl2 disable no_drop; -desc extended tbl2; - -select * from tbl2 where p='p2'; -select col from tbl2 where p='p2'; - -alter table tbl2 partition (p='p1') disable offline; -desc extended tbl2 partition (p='p1'); - -select * from tbl2 where p='p1'; -select col from tbl2 where p='p1'; - -insert overwrite table tbl1 select col from tbl2 where p='p1'; -insert overwrite table tbl1 select col from tbl1; - -alter table tbl2 partition (p='p1') enable no_drop; -alter table tbl2 partition (p='p1') disable no_drop; - -alter table tbl2 partition (p='p2') enable no_drop; - -alter table tbl2 drop partition (p='p1'); - -alter table tbl2 partition (p='p2') disable no_drop; - -drop table tbl1; -drop table tbl2; \ No newline at end of file http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/queries/clientpositive/protectmode2.q ---------------------------------------------------------------------- diff --git a/ql/src/test/queries/clientpositive/protectmode2.q b/ql/src/test/queries/clientpositive/protectmode2.q deleted file mode 100644 index 978b032..0000000 --- a/ql/src/test/queries/clientpositive/protectmode2.q +++ /dev/null @@ -1,23 +0,0 @@ -drop table tbl1; - -create table tbl1 (col string); -alter table tbl1 enable no_drop cascade; -desc extended tbl1; -alter table tbl1 enable no_drop; -desc extended tbl1; -alter table tbl1 disable no_drop cascade; -desc extended tbl1; -alter table tbl1 disable no_drop; - -drop table tbl1; - -drop table tbl2; -create table tbl2 (col string) partitioned by (p string); -alter table tbl2 add partition (p='p1'); -alter table tbl2 add partition (p='p2'); -alter table tbl2 add partition (p='p3'); -alter table tbl2 enable no_drop cascade; -desc formatted tbl2; -alter table tbl2 disable no_drop cascade; -desc formatted tbl2; -drop table tbl2; http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/results/beelinepositive/alter_numbuckets_partitioned_table.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/beelinepositive/alter_numbuckets_partitioned_table.q.out b/ql/src/test/results/beelinepositive/alter_numbuckets_partitioned_table.q.out index b5b089a..b0ccce5 100644 --- a/ql/src/test/results/beelinepositive/alter_numbuckets_partitioned_table.q.out +++ b/ql/src/test/results/beelinepositive/alter_numbuckets_partitioned_table.q.out @@ -24,7 +24,6 @@ No rows affected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/alter_numbuckets_partitioned_table.db/tst1','' 'Table Type: ','MANAGED_TABLE ','' @@ -69,7 +68,6 @@ No rows selected 'Table: ','tst1 ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/alter_numbuckets_partitioned_table.db/tst1/ds=1','' 'Partition Parameters:','','' '','numFiles ','1 ' @@ -117,7 +115,6 @@ No rows selected 'Table: ','tst1 ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/alter_numbuckets_partitioned_table.db/tst1/ds=1','' 'Partition Parameters:','','' '','numFiles ','1 ' @@ -155,7 +152,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/alter_numbuckets_partitioned_table.db/tst1','' 'Table Type: ','MANAGED_TABLE ','' @@ -203,7 +199,6 @@ No rows affected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/alter_numbuckets_partitioned_table.db/tst1','' 'Table Type: ','MANAGED_TABLE ','' @@ -251,7 +246,6 @@ No rows affected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/alter_numbuckets_partitioned_table.db/tst1','' 'Table Type: ','MANAGED_TABLE ','' @@ -299,7 +293,6 @@ No rows affected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/alter_numbuckets_partitioned_table.db/tst1','' 'Table Type: ','MANAGED_TABLE ','' @@ -347,7 +340,6 @@ No rows affected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/alter_numbuckets_partitioned_table.db/tst1','' 'Table Type: ','MANAGED_TABLE ','' http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/results/beelinepositive/create_like.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/beelinepositive/create_like.q.out b/ql/src/test/results/beelinepositive/create_like.q.out index 40b6cb7..df1ccc3 100644 --- a/ql/src/test/results/beelinepositive/create_like.q.out +++ b/ql/src/test/results/beelinepositive/create_like.q.out @@ -18,7 +18,6 @@ No rows affected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/create_like.db/table1','' 'Table Type: ','MANAGED_TABLE ','' @@ -51,7 +50,6 @@ No rows affected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/create_like.db/table2','' 'Table Type: ','MANAGED_TABLE ','' @@ -90,7 +88,6 @@ No rows affected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/create_like.db/table3','' 'Table Type: ','EXTERNAL_TABLE ','' http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/results/beelinepositive/create_like2.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/beelinepositive/create_like2.q.out b/ql/src/test/results/beelinepositive/create_like2.q.out index 8bdb44f..ca6c69a 100644 --- a/ql/src/test/results/beelinepositive/create_like2.q.out +++ b/ql/src/test/results/beelinepositive/create_like2.q.out @@ -24,7 +24,6 @@ No rows affected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/create_like2.db/table2','' 'Table Type: ','MANAGED_TABLE ','' http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/results/beelinepositive/create_like_view.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/beelinepositive/create_like_view.q.out b/ql/src/test/results/beelinepositive/create_like_view.q.out index 80483c3..4d5ede1 100644 --- a/ql/src/test/results/beelinepositive/create_like_view.q.out +++ b/ql/src/test/results/beelinepositive/create_like_view.q.out @@ -28,7 +28,6 @@ No rows affected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/create_like_view.db/table1','' 'Table Type: ','MANAGED_TABLE ','' @@ -70,7 +69,6 @@ No rows affected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/create_like_view.db/table2','' 'Table Type: ','MANAGED_TABLE ','' @@ -114,7 +112,6 @@ No rows affected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/create_like_view.db/table3','' 'Table Type: ','EXTERNAL_TABLE ','' @@ -182,7 +179,6 @@ No rows affected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/create_like_view.db/table1','' 'Table Type: ','MANAGED_TABLE ','' http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/results/beelinepositive/create_skewed_table1.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/beelinepositive/create_skewed_table1.q.out b/ql/src/test/results/beelinepositive/create_skewed_table1.q.out index 60b54a7..c887e28 100644 --- a/ql/src/test/results/beelinepositive/create_skewed_table1.q.out +++ b/ql/src/test/results/beelinepositive/create_skewed_table1.q.out @@ -20,7 +20,6 @@ No rows affected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/create_skewed_table1.db/list_bucket_single_2','' 'Table Type: ','MANAGED_TABLE ','' @@ -52,7 +51,6 @@ No rows affected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/create_skewed_table1.db/list_bucket_single','' 'Table Type: ','MANAGED_TABLE ','' @@ -85,7 +83,6 @@ No rows affected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/create_skewed_table1.db/list_bucket_multiple','' 'Table Type: ','MANAGED_TABLE ','' http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/results/beelinepositive/create_view.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/beelinepositive/create_view.q.out b/ql/src/test/results/beelinepositive/create_view.q.out index 0ec69d1..2ae4e08 100644 --- a/ql/src/test/results/beelinepositive/create_view.q.out +++ b/ql/src/test/results/beelinepositive/create_view.q.out @@ -170,7 +170,6 @@ SELECT * from view2 where key=18; 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Table Type: ','VIRTUAL_VIEW ','' 'Table Parameters:','','' @@ -213,7 +212,6 @@ SELECT * from view2 where key=18; 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Table Type: ','VIRTUAL_VIEW ','' 'Table Parameters:','','' @@ -253,7 +251,6 @@ SELECT * from view2 where key=18; 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Table Type: ','VIRTUAL_VIEW ','' 'Table Parameters:','','' @@ -293,7 +290,6 @@ No rows affected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Table Type: ','VIRTUAL_VIEW ','' 'Table Parameters:','','' @@ -503,7 +499,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Table Type: ','VIRTUAL_VIEW ','' 'Table Parameters:','','' @@ -560,7 +555,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Table Type: ','VIRTUAL_VIEW ','' 'Table Parameters:','','' @@ -614,7 +608,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Table Type: ','VIRTUAL_VIEW ','' 'Table Parameters:','','' @@ -664,7 +657,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Table Type: ','VIRTUAL_VIEW ','' 'Table Parameters:','','' @@ -716,7 +708,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Table Type: ','VIRTUAL_VIEW ','' 'Table Parameters:','','' @@ -770,7 +761,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Table Type: ','VIRTUAL_VIEW ','' 'Table Parameters:','','' @@ -827,7 +817,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Table Type: ','VIRTUAL_VIEW ','' 'Table Parameters:','','' @@ -920,7 +909,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Table Type: ','VIRTUAL_VIEW ','' 'Table Parameters:','','' @@ -1015,7 +1003,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Table Type: ','VIRTUAL_VIEW ','' 'Table Parameters:','','' @@ -1079,7 +1066,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Table Type: ','VIRTUAL_VIEW ','' 'Table Parameters:','','' http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/results/beelinepositive/create_view_partitioned.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/beelinepositive/create_view_partitioned.q.out b/ql/src/test/results/beelinepositive/create_view_partitioned.q.out index 1f0717e..9460960 100644 --- a/ql/src/test/results/beelinepositive/create_view_partitioned.q.out +++ b/ql/src/test/results/beelinepositive/create_view_partitioned.q.out @@ -44,7 +44,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Table Type: ','VIRTUAL_VIEW ','' 'Table Parameters:','','' @@ -186,7 +185,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Table Type: ','VIRTUAL_VIEW ','' 'Table Parameters:','','' @@ -258,7 +256,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Table Type: ','VIRTUAL_VIEW ','' 'Table Parameters:','','' http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/results/beelinepositive/ctas.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/beelinepositive/ctas.q.out b/ql/src/test/results/beelinepositive/ctas.q.out index 5ba3374..15e3355 100644 --- a/ql/src/test/results/beelinepositive/ctas.q.out +++ b/ql/src/test/results/beelinepositive/ctas.q.out @@ -144,7 +144,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/ctas.db/nzhang_ctas1','' 'Table Type: ','MANAGED_TABLE ','' @@ -299,7 +298,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/ctas.db/nzhang_ctas2','' 'Table Type: ','MANAGED_TABLE ','' @@ -455,7 +453,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/ctas.db/nzhang_ctas3','' 'Table Type: ','MANAGED_TABLE ','' @@ -520,7 +517,6 @@ No rows affected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/ctas.db/nzhang_ctas3','' 'Table Type: ','MANAGED_TABLE ','' @@ -676,7 +672,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/ctas.db/nzhang_ctas4','' 'Table Type: ','MANAGED_TABLE ','' http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/results/beelinepositive/describe_formatted_view_partitioned.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/beelinepositive/describe_formatted_view_partitioned.q.out b/ql/src/test/results/beelinepositive/describe_formatted_view_partitioned.q.out index 420f8df..f393f58 100644 --- a/ql/src/test/results/beelinepositive/describe_formatted_view_partitioned.q.out +++ b/ql/src/test/results/beelinepositive/describe_formatted_view_partitioned.q.out @@ -33,7 +33,6 @@ No rows affected 'Table: ','view_partitioned ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','null ','' 'Partition Parameters:','','' '','transient_lastDdlTime','!!UNIXTIME!! ' http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/results/beelinepositive/describe_table.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/beelinepositive/describe_table.q.out b/ql/src/test/results/beelinepositive/describe_table.q.out index 71d1a54..1ad5134 100644 --- a/ql/src/test/results/beelinepositive/describe_table.q.out +++ b/ql/src/test/results/beelinepositive/describe_table.q.out @@ -60,7 +60,6 @@ Saving all output to "!!{outputDirectory}!!/describe_table.q.raw". Enter "record 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/describe_table.db/srcpart','' 'Table Type: ','MANAGED_TABLE ','' @@ -108,7 +107,6 @@ Saving all output to "!!{outputDirectory}!!/describe_table.q.raw". Enter "record 'Table: ','srcpart ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/describe_table.db/srcpart/ds=2008-04-08/hr=12','' 'Partition Parameters:','','' '','numFiles ','1 ' @@ -157,7 +155,6 @@ No rows affected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/describe_table.db/srcpart_serdeprops','' 'Table Type: ','MANAGED_TABLE ','' http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/results/beelinepositive/merge3.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/beelinepositive/merge3.q.out b/ql/src/test/results/beelinepositive/merge3.q.out index 5d85293..7e7d8cb 100644 --- a/ql/src/test/results/beelinepositive/merge3.q.out +++ b/ql/src/test/results/beelinepositive/merge3.q.out @@ -2283,7 +2283,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src2','' 'Table Type: ','MANAGED_TABLE ','' http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/results/beelinepositive/part_inherit_tbl_props.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/beelinepositive/part_inherit_tbl_props.q.out b/ql/src/test/results/beelinepositive/part_inherit_tbl_props.q.out index b436880..0b7ba0e 100644 --- a/ql/src/test/results/beelinepositive/part_inherit_tbl_props.q.out +++ b/ql/src/test/results/beelinepositive/part_inherit_tbl_props.q.out @@ -25,7 +25,6 @@ No rows affected 'Table: ','mytbl ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/part_inherit_tbl_props.db/mytbl/c2=v1','' 'Partition Parameters:','','' '','a ','myval ' http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/results/beelinepositive/part_inherit_tbl_props_empty.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/beelinepositive/part_inherit_tbl_props_empty.q.out b/ql/src/test/results/beelinepositive/part_inherit_tbl_props_empty.q.out index 2010d13..fa45c0c 100644 --- a/ql/src/test/results/beelinepositive/part_inherit_tbl_props_empty.q.out +++ b/ql/src/test/results/beelinepositive/part_inherit_tbl_props_empty.q.out @@ -23,7 +23,6 @@ No rows affected 'Table: ','mytbl ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/part_inherit_tbl_props_empty.db/mytbl/c2=v1','' 'Partition Parameters:','','' '','transient_lastDdlTime','!!UNIXTIME!! ' http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/results/beelinepositive/part_inherit_tbl_props_with_star.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/beelinepositive/part_inherit_tbl_props_with_star.q.out b/ql/src/test/results/beelinepositive/part_inherit_tbl_props_with_star.q.out index 27c58e0..b6d964e 100644 --- a/ql/src/test/results/beelinepositive/part_inherit_tbl_props_with_star.q.out +++ b/ql/src/test/results/beelinepositive/part_inherit_tbl_props_with_star.q.out @@ -25,7 +25,6 @@ No rows affected 'Table: ','mytbl ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/part_inherit_tbl_props_with_star.db/mytbl/c2=v1','' 'Partition Parameters:','','' '','a ','myval ' http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/results/beelinepositive/protectmode2.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/beelinepositive/protectmode2.q.out b/ql/src/test/results/beelinepositive/protectmode2.q.out index 9995420..acaa26b 100644 --- a/ql/src/test/results/beelinepositive/protectmode2.q.out +++ b/ql/src/test/results/beelinepositive/protectmode2.q.out @@ -63,7 +63,6 @@ No rows affected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','NO_DROP_CASCADE ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/protectmode2.db/tbl2','' 'Table Type: ','MANAGED_TABLE ','' @@ -102,7 +101,6 @@ No rows affected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/protectmode2.db/tbl2','' 'Table Type: ','MANAGED_TABLE ','' http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/results/beelinepositive/stats1.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/beelinepositive/stats1.q.out b/ql/src/test/results/beelinepositive/stats1.q.out index a6d10df..91a9f5c 100644 --- a/ql/src/test/results/beelinepositive/stats1.q.out +++ b/ql/src/test/results/beelinepositive/stats1.q.out @@ -185,7 +185,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats1.db/tmptable','' 'Table Type: ','MANAGED_TABLE ','' @@ -226,7 +225,6 @@ No rows affected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats1.db/tmptable','' 'Table Type: ','MANAGED_TABLE ','' http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/results/beelinepositive/stats10.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/beelinepositive/stats10.q.out b/ql/src/test/results/beelinepositive/stats10.q.out index 803a897..a7b38e7 100644 --- a/ql/src/test/results/beelinepositive/stats10.q.out +++ b/ql/src/test/results/beelinepositive/stats10.q.out @@ -395,7 +395,6 @@ No rows selected 'Table: ','bucket3_1 ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats10.db/bucket3_1/ds=1','' 'Partition Parameters:','','' '','numFiles ','2 ' @@ -433,7 +432,6 @@ No rows selected 'Table: ','bucket3_1 ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats10.db/bucket3_1/ds=2','' 'Partition Parameters:','','' '','numFiles ','2 ' @@ -470,7 +468,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats10.db/bucket3_1','' 'Table Type: ','MANAGED_TABLE ','' http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/results/beelinepositive/stats11.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/beelinepositive/stats11.q.out b/ql/src/test/results/beelinepositive/stats11.q.out index e86aaf9..51bd85b 100644 --- a/ql/src/test/results/beelinepositive/stats11.q.out +++ b/ql/src/test/results/beelinepositive/stats11.q.out @@ -69,7 +69,6 @@ No rows affected 'Table: ','srcbucket_mapjoin_part','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin_part/ds=2008-04-08','' 'Partition Parameters:','','' '','numFiles ','1 ' @@ -109,7 +108,6 @@ No rows affected 'Table: ','srcbucket_mapjoin_part','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin_part/ds=2008-04-08','' 'Partition Parameters:','','' '','numFiles ','2 ' @@ -149,7 +147,6 @@ No rows affected 'Table: ','srcbucket_mapjoin_part','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin_part/ds=2008-04-08','' 'Partition Parameters:','','' '','numFiles ','3 ' @@ -189,7 +186,6 @@ No rows affected 'Table: ','srcbucket_mapjoin_part','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin_part/ds=2008-04-08','' 'Partition Parameters:','','' '','numFiles ','4 ' http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/results/beelinepositive/stats12.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/beelinepositive/stats12.q.out b/ql/src/test/results/beelinepositive/stats12.q.out index f6e1634..1774243 100644 --- a/ql/src/test/results/beelinepositive/stats12.q.out +++ b/ql/src/test/results/beelinepositive/stats12.q.out @@ -151,7 +151,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats12.db/analyze_srcpart','' 'Table Type: ','MANAGED_TABLE ','' @@ -193,7 +192,6 @@ No rows selected 'Table: ','analyze_srcpart ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats12.db/analyze_srcpart/ds=2008-04-08/hr=11','' 'Partition Parameters:','','' '','numFiles ','1 ' @@ -232,7 +230,6 @@ No rows selected 'Table: ','analyze_srcpart ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats12.db/analyze_srcpart/ds=2008-04-08/hr=12','' 'Partition Parameters:','','' '','numFiles ','1 ' @@ -271,7 +268,6 @@ No rows selected 'Table: ','analyze_srcpart ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats12.db/analyze_srcpart/ds=2008-04-09/hr=11','' 'Partition Parameters:','','' '','transient_lastDdlTime','!!UNIXTIME!! ' @@ -306,7 +302,6 @@ No rows selected 'Table: ','analyze_srcpart ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats12.db/analyze_srcpart/ds=2008-04-09/hr=12','' 'Partition Parameters:','','' '','transient_lastDdlTime','!!UNIXTIME!! ' http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/results/beelinepositive/stats13.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/beelinepositive/stats13.q.out b/ql/src/test/results/beelinepositive/stats13.q.out index 9f2142e..17f3ef5 100644 --- a/ql/src/test/results/beelinepositive/stats13.q.out +++ b/ql/src/test/results/beelinepositive/stats13.q.out @@ -109,7 +109,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats13.db/analyze_srcpart','' 'Table Type: ','MANAGED_TABLE ','' @@ -151,7 +150,6 @@ No rows selected 'Table: ','analyze_srcpart ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats13.db/analyze_srcpart/ds=2008-04-08/hr=11','' 'Partition Parameters:','','' '','numFiles ','1 ' @@ -190,7 +188,6 @@ No rows selected 'Table: ','analyze_srcpart ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats13.db/analyze_srcpart/ds=2008-04-08/hr=12','' 'Partition Parameters:','','' '','transient_lastDdlTime','!!UNIXTIME!! ' @@ -225,7 +222,6 @@ No rows selected 'Table: ','analyze_srcpart ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats13.db/analyze_srcpart/ds=2008-04-09/hr=11','' 'Partition Parameters:','','' '','transient_lastDdlTime','!!UNIXTIME!! ' @@ -260,7 +256,6 @@ No rows selected 'Table: ','analyze_srcpart ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats13.db/analyze_srcpart/ds=2008-04-09/hr=12','' 'Partition Parameters:','','' '','transient_lastDdlTime','!!UNIXTIME!! ' @@ -298,7 +293,6 @@ No rows affected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats13.db/analyze_srcpart2','' 'Table Type: ','MANAGED_TABLE ','' http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/results/beelinepositive/stats14.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/beelinepositive/stats14.q.out b/ql/src/test/results/beelinepositive/stats14.q.out index e9df282..2d10772 100644 --- a/ql/src/test/results/beelinepositive/stats14.q.out +++ b/ql/src/test/results/beelinepositive/stats14.q.out @@ -23,7 +23,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats14.db/stats_src','' 'Table Type: ','MANAGED_TABLE ','' @@ -86,7 +85,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats14.db/stats_part','' 'Table Type: ','MANAGED_TABLE ','' @@ -128,7 +126,6 @@ No rows selected 'Table: ','stats_part ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats14.db/stats_part/ds=2010-04-08/hr=11','' 'Partition Parameters:','','' '','numFiles ','1 ' @@ -167,7 +164,6 @@ No rows selected 'Table: ','stats_part ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats14.db/stats_part/ds=2010-04-08/hr=12','' 'Partition Parameters:','','' '','numFiles ','1 ' @@ -209,7 +205,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats14.db/stats_part','' 'Table Type: ','MANAGED_TABLE ','' http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/results/beelinepositive/stats15.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/beelinepositive/stats15.q.out b/ql/src/test/results/beelinepositive/stats15.q.out index 9be8852..ceaf500 100644 --- a/ql/src/test/results/beelinepositive/stats15.q.out +++ b/ql/src/test/results/beelinepositive/stats15.q.out @@ -25,7 +25,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats15.db/stats_src','' 'Table Type: ','MANAGED_TABLE ','' @@ -88,7 +87,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats15.db/stats_part','' 'Table Type: ','MANAGED_TABLE ','' @@ -130,7 +128,6 @@ No rows selected 'Table: ','stats_part ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats15.db/stats_part/ds=2010-04-08/hr=11','' 'Partition Parameters:','','' '','numFiles ','1 ' @@ -169,7 +166,6 @@ No rows selected 'Table: ','stats_part ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats15.db/stats_part/ds=2010-04-08/hr=12','' 'Partition Parameters:','','' '','numFiles ','1 ' @@ -211,7 +207,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats15.db/stats_part','' 'Table Type: ','MANAGED_TABLE ','' http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/results/beelinepositive/stats16.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/beelinepositive/stats16.q.out b/ql/src/test/results/beelinepositive/stats16.q.out index ea8593e..333b8d3 100644 --- a/ql/src/test/results/beelinepositive/stats16.q.out +++ b/ql/src/test/results/beelinepositive/stats16.q.out @@ -20,7 +20,6 @@ No rows affected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats16.db/stats16','' 'Table Type: ','MANAGED_TABLE ','' @@ -57,7 +56,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats16.db/stats16','' 'Table Type: ','MANAGED_TABLE ','' http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/results/beelinepositive/stats18.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/beelinepositive/stats18.q.out b/ql/src/test/results/beelinepositive/stats18.q.out index e504089..61867d4 100644 --- a/ql/src/test/results/beelinepositive/stats18.q.out +++ b/ql/src/test/results/beelinepositive/stats18.q.out @@ -40,7 +40,6 @@ No rows selected 'Table: ','stats_part ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats18.db/stats_part/ds=2010-04-08/hr=13','' 'Partition Parameters:','','' '','numFiles ','1 ' @@ -83,7 +82,6 @@ No rows affected 'Table: ','stats_part ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats18.db/stats_part/ds=2010-04-08/hr=13','' 'Partition Parameters:','','' '','numFiles ','2 ' http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/results/beelinepositive/stats2.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/beelinepositive/stats2.q.out b/ql/src/test/results/beelinepositive/stats2.q.out index c958b06..82b338d 100644 --- a/ql/src/test/results/beelinepositive/stats2.q.out +++ b/ql/src/test/results/beelinepositive/stats2.q.out @@ -90,7 +90,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats2.db/analyze_t1','' 'Table Type: ','MANAGED_TABLE ','' @@ -154,7 +153,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats2.db/analyze_t1','' 'Table Type: ','MANAGED_TABLE ','' http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/results/beelinepositive/stats3.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/beelinepositive/stats3.q.out b/ql/src/test/results/beelinepositive/stats3.q.out index f0680b4..d57f6b9 100644 --- a/ql/src/test/results/beelinepositive/stats3.q.out +++ b/ql/src/test/results/beelinepositive/stats3.q.out @@ -72,7 +72,6 @@ No rows affected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats3.db/hive_test_src','' 'Table Type: ','MANAGED_TABLE ','' @@ -161,7 +160,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats3.db/hive_test_dst','' 'Table Type: ','MANAGED_TABLE ','' http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/results/beelinepositive/stats4.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/beelinepositive/stats4.q.out b/ql/src/test/results/beelinepositive/stats4.q.out index 421b9a7..d5be03d 100644 --- a/ql/src/test/results/beelinepositive/stats4.q.out +++ b/ql/src/test/results/beelinepositive/stats4.q.out @@ -2266,7 +2266,6 @@ No rows selected 'Table: ','nzhang_part1 ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats4.db/nzhang_part1/ds=2008-04-08/hr=11','' 'Partition Parameters:','','' '','numFiles ','1 ' @@ -2305,7 +2304,6 @@ No rows selected 'Table: ','nzhang_part1 ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats4.db/nzhang_part1/ds=2008-04-08/hr=12','' 'Partition Parameters:','','' '','numFiles ','1 ' @@ -2344,7 +2342,6 @@ No rows selected 'Table: ','nzhang_part2 ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats4.db/nzhang_part2/ds=2008-12-31/hr=11','' 'Partition Parameters:','','' '','numFiles ','1 ' @@ -2383,7 +2380,6 @@ No rows selected 'Table: ','nzhang_part2 ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats4.db/nzhang_part2/ds=2008-12-31/hr=12','' 'Partition Parameters:','','' '','numFiles ','1 ' @@ -2422,7 +2418,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats4.db/nzhang_part1','' 'Table Type: ','MANAGED_TABLE ','' @@ -2463,7 +2458,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats4.db/nzhang_part2','' 'Table Type: ','MANAGED_TABLE ','' http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/results/beelinepositive/stats5.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/beelinepositive/stats5.q.out b/ql/src/test/results/beelinepositive/stats5.q.out index 4339503..40c8c5b 100644 --- a/ql/src/test/results/beelinepositive/stats5.q.out +++ b/ql/src/test/results/beelinepositive/stats5.q.out @@ -48,7 +48,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats5.db/analyze_src','' 'Table Type: ','MANAGED_TABLE ','' http://git-wip-us.apache.org/repos/asf/hive/blob/d6ec52ee/ql/src/test/results/beelinepositive/stats6.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/beelinepositive/stats6.q.out b/ql/src/test/results/beelinepositive/stats6.q.out index 3d2bdcb..98a19c6 100644 --- a/ql/src/test/results/beelinepositive/stats6.q.out +++ b/ql/src/test/results/beelinepositive/stats6.q.out @@ -41,7 +41,6 @@ No rows selected 'Table: ','analyze_srcpart ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats6.db/analyze_srcpart/ds=2008-04-08/hr=11','' 'Partition Parameters:','','' '','numFiles ','1 ' @@ -80,7 +79,6 @@ No rows selected 'Table: ','analyze_srcpart ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats6.db/analyze_srcpart/ds=2008-04-08/hr=12','' 'Partition Parameters:','','' '','numFiles ','1 ' @@ -119,7 +117,6 @@ No rows selected 'Table: ','analyze_srcpart ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats6.db/analyze_srcpart/ds=2008-04-09/hr=11','' 'Partition Parameters:','','' '','transient_lastDdlTime','!!UNIXTIME!! ' @@ -154,7 +151,6 @@ No rows selected 'Table: ','analyze_srcpart ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats6.db/analyze_srcpart/ds=2008-04-09/hr=12','' 'Partition Parameters:','','' '','transient_lastDdlTime','!!UNIXTIME!! ' @@ -189,7 +185,6 @@ No rows selected 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' -'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats6.db/analyze_srcpart','' 'Table Type: ','MANAGED_TABLE ',''