PREHOOK: query: create database D1 PREHOOK: type: CREATEDATABASE PREHOOK: Output: database:D1 POSTHOOK: query: create database D1 POSTHOOK: type: CREATEDATABASE POSTHOOK: Output: database:D1 PREHOOK: query: alter database D1 set dbproperties('test'='yesthisis') PREHOOK: type: ALTERDATABASE PREHOOK: Output: database:d1 POSTHOOK: query: alter database D1 set dbproperties('test'='yesthisis') POSTHOOK: type: ALTERDATABASE POSTHOOK: Output: database:d1 PREHOOK: query: drop database D1 PREHOOK: type: DROPDATABASE PREHOOK: Input: database:d1 PREHOOK: Output: database:d1 POSTHOOK: query: drop database D1 POSTHOOK: type: DROPDATABASE POSTHOOK: Input: database:d1 POSTHOOK: Output: database:d1 PREHOOK: query: create table T1(key string, val string) stored as textfile PREHOOK: type: CREATETABLE PREHOOK: Output: database:default PREHOOK: Output: default@T1 POSTHOOK: query: create table T1(key string, val string) stored as textfile POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:default POSTHOOK: Output: default@T1 PREHOOK: query: create table T2 like T1 PREHOOK: type: CREATETABLE PREHOOK: Output: database:default PREHOOK: Output: default@T2 POSTHOOK: query: create table T2 like T1 POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:default POSTHOOK: Output: default@T2 PREHOOK: query: LOAD DATA LOCAL INPATH '../../data/files/T1.txt' INTO TABLE T1 PREHOOK: type: LOAD #### A masked pattern was here #### PREHOOK: Output: default@t1 POSTHOOK: query: LOAD DATA LOCAL INPATH '../../data/files/T1.txt' INTO TABLE T1 POSTHOOK: type: LOAD #### A masked pattern was here #### POSTHOOK: Output: default@t1 PREHOOK: query: select * from T1 PREHOOK: type: QUERY PREHOOK: Input: default@t1 #### A masked pattern was here #### POSTHOOK: query: select * from T1 POSTHOOK: type: QUERY POSTHOOK: Input: default@t1 #### A masked pattern was here #### 1 11 2 12 3 13 7 17 8 18 8 28 PREHOOK: query: create table T3 as select * from T1 PREHOOK: type: CREATETABLE_AS_SELECT PREHOOK: Input: default@t1 PREHOOK: Output: database:default PREHOOK: Output: default@T3 POSTHOOK: query: create table T3 as select * from T1 POSTHOOK: type: CREATETABLE_AS_SELECT POSTHOOK: Input: default@t1 POSTHOOK: Output: database:default POSTHOOK: Output: default@T3 PREHOOK: query: create table T4 (key char(10), val decimal(5,2), b int) partitioned by (ds string) clustered by (b) into 10 buckets stored as orc PREHOOK: type: CREATETABLE PREHOOK: Output: database:default PREHOOK: Output: default@T4 POSTHOOK: query: create table T4 (key char(10), val decimal(5,2), b int) partitioned by (ds string) clustered by (b) into 10 buckets stored as orc POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:default POSTHOOK: Output: default@T4 PREHOOK: query: alter table T3 rename to newT3 PREHOOK: type: ALTERTABLE_RENAME PREHOOK: Input: default@t3 PREHOOK: Output: default@t3 POSTHOOK: query: alter table T3 rename to newT3 POSTHOOK: type: ALTERTABLE_RENAME POSTHOOK: Input: default@t3 POSTHOOK: Output: default@newT3 POSTHOOK: Output: default@t3 PREHOOK: query: alter table T2 set tblproperties ('test'='thisisatest') PREHOOK: type: ALTERTABLE_PROPERTIES PREHOOK: Input: default@t2 PREHOOK: Output: default@t2 POSTHOOK: query: alter table T2 set tblproperties ('test'='thisisatest') POSTHOOK: type: ALTERTABLE_PROPERTIES POSTHOOK: Input: default@t2 POSTHOOK: Output: default@t2 PREHOOK: query: alter table T2 set serde 'org.apache.hadoop.hive.ql.io.orc.OrcSerde' PREHOOK: type: ALTERTABLE_SERIALIZER PREHOOK: Input: default@t2 PREHOOK: Output: default@t2 POSTHOOK: query: alter table T2 set serde 'org.apache.hadoop.hive.ql.io.orc.OrcSerde' POSTHOOK: type: ALTERTABLE_SERIALIZER POSTHOOK: Input: default@t2 POSTHOOK: Output: default@t2 PREHOOK: query: alter table T2 set serdeproperties ('test'='thisisatest') PREHOOK: type: ALTERTABLE_SERDEPROPERTIES PREHOOK: Input: default@t2 PREHOOK: Output: default@t2 POSTHOOK: query: alter table T2 set serdeproperties ('test'='thisisatest') POSTHOOK: type: ALTERTABLE_SERDEPROPERTIES POSTHOOK: Input: default@t2 POSTHOOK: Output: default@t2 PREHOOK: query: alter table T2 clustered by (key) into 32 buckets PREHOOK: type: ALTERTABLE_CLUSTER_SORT PREHOOK: Input: default@t2 PREHOOK: Output: default@t2 POSTHOOK: query: alter table T2 clustered by (key) into 32 buckets POSTHOOK: type: ALTERTABLE_CLUSTER_SORT POSTHOOK: Input: default@t2 POSTHOOK: Output: default@t2 PREHOOK: query: alter table T4 add partition (ds='today') PREHOOK: type: ALTERTABLE_ADDPARTS PREHOOK: Output: default@t4 POSTHOOK: query: alter table T4 add partition (ds='today') POSTHOOK: type: ALTERTABLE_ADDPARTS POSTHOOK: Output: default@t4 POSTHOOK: Output: default@t4@ds=today PREHOOK: query: alter table T4 partition (ds='today') rename to partition(ds='yesterday') PREHOOK: type: ALTERTABLE_RENAMEPART PREHOOK: Input: default@t4 PREHOOK: Output: default@t4@ds=today POSTHOOK: query: alter table T4 partition (ds='today') rename to partition(ds='yesterday') POSTHOOK: type: ALTERTABLE_RENAMEPART POSTHOOK: Input: default@t4 POSTHOOK: Input: default@t4@ds=today POSTHOOK: Output: default@t4@ds=today POSTHOOK: Output: default@t4@ds=yesterday PREHOOK: query: alter table T4 drop partition (ds='yesterday') PREHOOK: type: ALTERTABLE_DROPPARTS PREHOOK: Input: default@t4 PREHOOK: Output: default@t4@ds=yesterday POSTHOOK: query: alter table T4 drop partition (ds='yesterday') POSTHOOK: type: ALTERTABLE_DROPPARTS POSTHOOK: Input: default@t4 POSTHOOK: Output: default@t4@ds=yesterday PREHOOK: query: alter table T4 add partition (ds='tomorrow') PREHOOK: type: ALTERTABLE_ADDPARTS PREHOOK: Output: default@t4 POSTHOOK: query: alter table T4 add partition (ds='tomorrow') POSTHOOK: type: ALTERTABLE_ADDPARTS POSTHOOK: Output: default@t4 POSTHOOK: Output: default@t4@ds=tomorrow PREHOOK: query: create table T5 (a string, b int) PREHOOK: type: CREATETABLE PREHOOK: Output: database:default PREHOOK: Output: default@T5 POSTHOOK: query: create table T5 (a string, b int) POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:default POSTHOOK: Output: default@T5 PREHOOK: query: alter table T5 set fileformat orc PREHOOK: type: ALTERTABLE_FILEFORMAT PREHOOK: Input: default@t5 PREHOOK: Output: default@t5 POSTHOOK: query: alter table T5 set fileformat orc POSTHOOK: type: ALTERTABLE_FILEFORMAT POSTHOOK: Input: default@t5 POSTHOOK: Output: default@t5 PREHOOK: query: alter table T4 partition (ds='tomorrow') set fileformat RCFILE PREHOOK: type: ALTERPARTITION_FILEFORMAT PREHOOK: Input: default@t4 PREHOOK: Output: default@t4@ds=tomorrow POSTHOOK: query: alter table T4 partition (ds='tomorrow') set fileformat RCFILE POSTHOOK: type: ALTERPARTITION_FILEFORMAT POSTHOOK: Input: default@t4 POSTHOOK: Input: default@t4@ds=tomorrow POSTHOOK: Output: default@t4@ds=tomorrow PREHOOK: query: create table T7 (a string, b int) PREHOOK: type: CREATETABLE PREHOOK: Output: database:default PREHOOK: Output: default@T7 POSTHOOK: query: create table T7 (a string, b int) POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:default POSTHOOK: Output: default@T7 #### A masked pattern was here #### PREHOOK: type: ALTERTABLE_LOCATION PREHOOK: Input: default@t7 PREHOOK: Output: default@t7 #### A masked pattern was here #### POSTHOOK: type: ALTERTABLE_LOCATION POSTHOOK: Input: default@t7 POSTHOOK: Output: default@t7 #### A masked pattern was here #### PREHOOK: type: ALTERPARTITION_LOCATION PREHOOK: Input: default@t4 PREHOOK: Output: default@t4@ds=tomorrow #### A masked pattern was here #### POSTHOOK: type: ALTERPARTITION_LOCATION POSTHOOK: Input: default@t4 POSTHOOK: Input: default@t4@ds=tomorrow POSTHOOK: Output: default@t4@ds=tomorrow #### A masked pattern was here #### PREHOOK: query: alter table T2 touch PREHOOK: type: ALTERTABLE_TOUCH PREHOOK: Input: default@t2 PREHOOK: Output: default@t2 POSTHOOK: query: alter table T2 touch POSTHOOK: type: ALTERTABLE_TOUCH POSTHOOK: Input: default@t2 POSTHOOK: Output: default@t2 PREHOOK: query: alter table T4 touch partition (ds='tomorrow') PREHOOK: type: ALTERTABLE_TOUCH PREHOOK: Input: default@t4 PREHOOK: Output: default@t4@ds=tomorrow POSTHOOK: query: alter table T4 touch partition (ds='tomorrow') POSTHOOK: type: ALTERTABLE_TOUCH POSTHOOK: Input: default@t4 POSTHOOK: Input: default@t4@ds=tomorrow POSTHOOK: Output: default@t4@ds=tomorrow PREHOOK: query: create view V1 as select key from T1 PREHOOK: type: CREATEVIEW PREHOOK: Input: default@t1 PREHOOK: Output: database:default PREHOOK: Output: default@V1 POSTHOOK: query: create view V1 as select key from T1 POSTHOOK: type: CREATEVIEW POSTHOOK: Input: default@t1 POSTHOOK: Output: database:default POSTHOOK: Output: default@V1 PREHOOK: query: alter view V1 set tblproperties ('test'='thisisatest') PREHOOK: type: ALTERVIEW_PROPERTIES PREHOOK: Input: default@v1 PREHOOK: Output: default@v1 POSTHOOK: query: alter view V1 set tblproperties ('test'='thisisatest') POSTHOOK: type: ALTERVIEW_PROPERTIES POSTHOOK: Input: default@v1 POSTHOOK: Output: default@v1 PREHOOK: query: drop view V1 PREHOOK: type: DROPVIEW PREHOOK: Input: default@v1 PREHOOK: Output: default@v1 POSTHOOK: query: drop view V1 POSTHOOK: type: DROPVIEW POSTHOOK: Input: default@v1 POSTHOOK: Output: default@v1 PREHOOK: query: drop table T1 PREHOOK: type: DROPTABLE PREHOOK: Input: default@t1 PREHOOK: Output: default@t1 POSTHOOK: query: drop table T1 POSTHOOK: type: DROPTABLE POSTHOOK: Input: default@t1 POSTHOOK: Output: default@t1 PREHOOK: query: drop table T2 PREHOOK: type: DROPTABLE PREHOOK: Input: default@t2 PREHOOK: Output: default@t2 POSTHOOK: query: drop table T2 POSTHOOK: type: DROPTABLE POSTHOOK: Input: default@t2 POSTHOOK: Output: default@t2 PREHOOK: query: drop table newT3 PREHOOK: type: DROPTABLE PREHOOK: Input: default@newt3 PREHOOK: Output: default@newt3 POSTHOOK: query: drop table newT3 POSTHOOK: type: DROPTABLE POSTHOOK: Input: default@newt3 POSTHOOK: Output: default@newt3