PREHOOK: query: -- test for describe extended table -- test for describe extended table partition -- test for alter table drop partition CREATE TABLE INPUTDDL6(KEY STRING, VALUE STRING) PARTITIONED BY(ds STRING) STORED AS TEXTFILE PREHOOK: type: CREATETABLE POSTHOOK: query: -- test for describe extended table -- test for describe extended table partition -- test for alter table drop partition CREATE TABLE INPUTDDL6(KEY STRING, VALUE STRING) PARTITIONED BY(ds STRING) STORED AS TEXTFILE POSTHOOK: type: CREATETABLE POSTHOOK: Output: default@INPUTDDL6 PREHOOK: query: LOAD DATA LOCAL INPATH '../data/files/kv1.txt' INTO TABLE INPUTDDL6 PARTITION (ds='2008-04-09') PREHOOK: type: LOAD PREHOOK: Output: default@inputddl6 POSTHOOK: query: LOAD DATA LOCAL INPATH '../data/files/kv1.txt' INTO TABLE INPUTDDL6 PARTITION (ds='2008-04-09') POSTHOOK: type: LOAD POSTHOOK: Output: default@inputddl6 POSTHOOK: Output: default@inputddl6@ds=2008-04-09 PREHOOK: query: LOAD DATA LOCAL INPATH '../data/files/kv1.txt' INTO TABLE INPUTDDL6 PARTITION (ds='2008-04-08') PREHOOK: type: LOAD PREHOOK: Output: default@inputddl6 POSTHOOK: query: LOAD DATA LOCAL INPATH '../data/files/kv1.txt' INTO TABLE INPUTDDL6 PARTITION (ds='2008-04-08') POSTHOOK: type: LOAD POSTHOOK: Output: default@inputddl6 POSTHOOK: Output: default@inputddl6@ds=2008-04-08 PREHOOK: query: DESCRIBE EXTENDED INPUTDDL6 PREHOOK: type: DESCTABLE POSTHOOK: query: DESCRIBE EXTENDED INPUTDDL6 POSTHOOK: type: DESCTABLE key string None value string None ds string None # Partition Information # col_name data_type comment ds string None #### A masked pattern was here #### PREHOOK: query: DESCRIBE EXTENDED INPUTDDL6 PARTITION (ds='2008-04-08') PREHOOK: type: DESCTABLE POSTHOOK: query: DESCRIBE EXTENDED INPUTDDL6 PARTITION (ds='2008-04-08') POSTHOOK: type: DESCTABLE key string None value string None ds string None # Partition Information # col_name data_type comment ds string None #### A masked pattern was here #### PREHOOK: query: SHOW PARTITIONS INPUTDDL6 PREHOOK: type: SHOWPARTITIONS POSTHOOK: query: SHOW PARTITIONS INPUTDDL6 POSTHOOK: type: SHOWPARTITIONS ds=2008-04-08 ds=2008-04-09 PREHOOK: query: ALTER TABLE INPUTDDL6 DROP PARTITION (ds='2008-04-08') PREHOOK: type: ALTERTABLE_DROPPARTS PREHOOK: Input: default@inputddl6 PREHOOK: Output: default@inputddl6@ds=2008-04-08 POSTHOOK: query: ALTER TABLE INPUTDDL6 DROP PARTITION (ds='2008-04-08') POSTHOOK: type: ALTERTABLE_DROPPARTS POSTHOOK: Input: default@inputddl6 POSTHOOK: Output: default@inputddl6@ds=2008-04-08 PREHOOK: query: SHOW PARTITIONS INPUTDDL6 PREHOOK: type: SHOWPARTITIONS POSTHOOK: query: SHOW PARTITIONS INPUTDDL6 POSTHOOK: type: SHOWPARTITIONS ds=2008-04-09 PREHOOK: query: EXPLAIN DESCRIBE EXTENDED INPUTDDL6 PARTITION (ds='2008-04-09') PREHOOK: type: DESCTABLE POSTHOOK: query: EXPLAIN DESCRIBE EXTENDED INPUTDDL6 PARTITION (ds='2008-04-09') POSTHOOK: type: DESCTABLE ABSTRACT SYNTAX TREE: (TOK_DESCTABLE (TOK_TABTYPE INPUTDDL6 (TOK_PARTSPEC (TOK_PARTVAL ds '2008-04-09'))) EXTENDED) STAGE DEPENDENCIES: Stage-0 is a root stage Stage-1 is a root stage STAGE PLANS: Stage: Stage-0 Describe Table Operator: Describe Table partition: ds 2008-04-09 table: INPUTDDL6 Stage: Stage-1 Fetch Operator limit: -1 PREHOOK: query: DROP TABLE INPUTDDL6 PREHOOK: type: DROPTABLE PREHOOK: Input: default@inputddl6 PREHOOK: Output: default@inputddl6 POSTHOOK: query: DROP TABLE INPUTDDL6 POSTHOOK: type: DROPTABLE POSTHOOK: Input: default@inputddl6 POSTHOOK: Output: default@inputddl6