PREHOOK: query: drop table tbl1 PREHOOK: type: DROPTABLE POSTHOOK: query: drop table tbl1 POSTHOOK: type: DROPTABLE PREHOOK: query: create table tbl1 (col string) PREHOOK: type: CREATETABLE PREHOOK: Output: database:default PREHOOK: Output: default@tbl1 POSTHOOK: query: create table tbl1 (col string) POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:default POSTHOOK: Output: default@tbl1 PREHOOK: query: alter table tbl1 enable no_drop cascade PREHOOK: type: ALTERTABLE_PROTECTMODE PREHOOK: Input: default@tbl1 PREHOOK: Output: default@tbl1 POSTHOOK: query: alter table tbl1 enable no_drop cascade POSTHOOK: type: ALTERTABLE_PROTECTMODE POSTHOOK: Input: default@tbl1 POSTHOOK: Output: default@tbl1 PREHOOK: query: desc extended tbl1 PREHOOK: type: DESCTABLE PREHOOK: Input: default@tbl1 POSTHOOK: query: desc extended tbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tbl1 col string #### A masked pattern was here #### PREHOOK: query: alter table tbl1 enable no_drop PREHOOK: type: ALTERTABLE_PROTECTMODE PREHOOK: Input: default@tbl1 PREHOOK: Output: default@tbl1 POSTHOOK: query: alter table tbl1 enable no_drop POSTHOOK: type: ALTERTABLE_PROTECTMODE POSTHOOK: Input: default@tbl1 POSTHOOK: Output: default@tbl1 PREHOOK: query: desc extended tbl1 PREHOOK: type: DESCTABLE PREHOOK: Input: default@tbl1 POSTHOOK: query: desc extended tbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tbl1 col string #### A masked pattern was here #### PREHOOK: query: alter table tbl1 disable no_drop cascade PREHOOK: type: ALTERTABLE_PROTECTMODE PREHOOK: Input: default@tbl1 PREHOOK: Output: default@tbl1 POSTHOOK: query: alter table tbl1 disable no_drop cascade POSTHOOK: type: ALTERTABLE_PROTECTMODE POSTHOOK: Input: default@tbl1 POSTHOOK: Output: default@tbl1 PREHOOK: query: desc extended tbl1 PREHOOK: type: DESCTABLE PREHOOK: Input: default@tbl1 POSTHOOK: query: desc extended tbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tbl1 col string #### A masked pattern was here #### PREHOOK: query: alter table tbl1 disable no_drop PREHOOK: type: ALTERTABLE_PROTECTMODE PREHOOK: Input: default@tbl1 PREHOOK: Output: default@tbl1 POSTHOOK: query: alter table tbl1 disable no_drop POSTHOOK: type: ALTERTABLE_PROTECTMODE POSTHOOK: Input: default@tbl1 POSTHOOK: Output: default@tbl1 PREHOOK: query: drop table tbl1 PREHOOK: type: DROPTABLE PREHOOK: Input: default@tbl1 PREHOOK: Output: default@tbl1 POSTHOOK: query: drop table tbl1 POSTHOOK: type: DROPTABLE POSTHOOK: Input: default@tbl1 POSTHOOK: Output: default@tbl1 PREHOOK: query: drop table tbl2 PREHOOK: type: DROPTABLE POSTHOOK: query: drop table tbl2 POSTHOOK: type: DROPTABLE PREHOOK: query: create table tbl2 (col string) partitioned by (p string) PREHOOK: type: CREATETABLE PREHOOK: Output: database:default PREHOOK: Output: default@tbl2 POSTHOOK: query: create table tbl2 (col string) partitioned by (p string) POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:default POSTHOOK: Output: default@tbl2 PREHOOK: query: alter table tbl2 add partition (p='p1') PREHOOK: type: ALTERTABLE_ADDPARTS PREHOOK: Output: default@tbl2 POSTHOOK: query: alter table tbl2 add partition (p='p1') POSTHOOK: type: ALTERTABLE_ADDPARTS POSTHOOK: Output: default@tbl2 POSTHOOK: Output: default@tbl2@p=p1 PREHOOK: query: alter table tbl2 add partition (p='p2') PREHOOK: type: ALTERTABLE_ADDPARTS PREHOOK: Output: default@tbl2 POSTHOOK: query: alter table tbl2 add partition (p='p2') POSTHOOK: type: ALTERTABLE_ADDPARTS POSTHOOK: Output: default@tbl2 POSTHOOK: Output: default@tbl2@p=p2 PREHOOK: query: alter table tbl2 add partition (p='p3') PREHOOK: type: ALTERTABLE_ADDPARTS PREHOOK: Output: default@tbl2 POSTHOOK: query: alter table tbl2 add partition (p='p3') POSTHOOK: type: ALTERTABLE_ADDPARTS POSTHOOK: Output: default@tbl2 POSTHOOK: Output: default@tbl2@p=p3 PREHOOK: query: alter table tbl2 enable no_drop cascade PREHOOK: type: ALTERTABLE_PROTECTMODE PREHOOK: Input: default@tbl2 PREHOOK: Output: default@tbl2 POSTHOOK: query: alter table tbl2 enable no_drop cascade POSTHOOK: type: ALTERTABLE_PROTECTMODE POSTHOOK: Input: default@tbl2 POSTHOOK: Output: default@tbl2 PREHOOK: query: desc formatted tbl2 PREHOOK: type: DESCTABLE PREHOOK: Input: default@tbl2 POSTHOOK: query: desc formatted tbl2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tbl2 # col_name data_type comment col string # Partition Information # col_name data_type comment p string # Detailed Table Information Database: default #### A masked pattern was here #### Protect Mode: NO_DROP_CASCADE Retention: 0 #### A masked pattern was here #### Table Type: MANAGED_TABLE Table Parameters: PROTECT_MODE NO_DROP_CASCADE #### A masked pattern was here #### # Storage Information SerDe Library: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe InputFormat: org.apache.hadoop.mapred.TextInputFormat OutputFormat: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat Compressed: No Num Buckets: -1 Bucket Columns: [] Sort Columns: [] Storage Desc Params: serialization.format 1 PREHOOK: query: alter table tbl2 disable no_drop cascade PREHOOK: type: ALTERTABLE_PROTECTMODE PREHOOK: Input: default@tbl2 PREHOOK: Output: default@tbl2 POSTHOOK: query: alter table tbl2 disable no_drop cascade POSTHOOK: type: ALTERTABLE_PROTECTMODE POSTHOOK: Input: default@tbl2 POSTHOOK: Output: default@tbl2 PREHOOK: query: desc formatted tbl2 PREHOOK: type: DESCTABLE PREHOOK: Input: default@tbl2 POSTHOOK: query: desc formatted tbl2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tbl2 # col_name data_type comment col string # Partition Information # col_name data_type comment p string # Detailed Table Information Database: default #### A masked pattern was here #### Protect Mode: None Retention: 0 #### A masked pattern was here #### Table Type: MANAGED_TABLE Table Parameters: #### A masked pattern was here #### # Storage Information SerDe Library: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe InputFormat: org.apache.hadoop.mapred.TextInputFormat OutputFormat: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat Compressed: No Num Buckets: -1 Bucket Columns: [] Sort Columns: [] Storage Desc Params: serialization.format 1 PREHOOK: query: drop table tbl2 PREHOOK: type: DROPTABLE PREHOOK: Input: default@tbl2 PREHOOK: Output: default@tbl2 POSTHOOK: query: drop table tbl2 POSTHOOK: type: DROPTABLE POSTHOOK: Input: default@tbl2 POSTHOOK: Output: default@tbl2