PREHOOK: query: CREATE TABLE kv_rename_test(a int, b int, c int) PREHOOK: type: CREATETABLE POSTHOOK: query: CREATE TABLE kv_rename_test(a int, b int, c int) POSTHOOK: type: CREATETABLE POSTHOOK: Output: default@kv_rename_test PREHOOK: query: DESCRIBE kv_rename_test PREHOOK: type: DESCTABLE POSTHOOK: query: DESCRIBE kv_rename_test POSTHOOK: type: DESCTABLE a int None b int None c int None PREHOOK: query: ALTER TABLE kv_rename_test CHANGE a a STRING PREHOOK: type: ALTERTABLE_RENAMECOL PREHOOK: Input: default@kv_rename_test PREHOOK: Output: default@kv_rename_test POSTHOOK: query: ALTER TABLE kv_rename_test CHANGE a a STRING POSTHOOK: type: ALTERTABLE_RENAMECOL POSTHOOK: Input: default@kv_rename_test POSTHOOK: Output: default@kv_rename_test PREHOOK: query: DESCRIBE kv_rename_test PREHOOK: type: DESCTABLE POSTHOOK: query: DESCRIBE kv_rename_test POSTHOOK: type: DESCTABLE a string None b int None c int None PREHOOK: query: ALTER TABLE kv_rename_test CHANGE a a1 INT PREHOOK: type: ALTERTABLE_RENAMECOL PREHOOK: Input: default@kv_rename_test PREHOOK: Output: default@kv_rename_test POSTHOOK: query: ALTER TABLE kv_rename_test CHANGE a a1 INT POSTHOOK: type: ALTERTABLE_RENAMECOL POSTHOOK: Input: default@kv_rename_test POSTHOOK: Output: default@kv_rename_test PREHOOK: query: DESCRIBE kv_rename_test PREHOOK: type: DESCTABLE POSTHOOK: query: DESCRIBE kv_rename_test POSTHOOK: type: DESCTABLE a1 int None b int None c int None PREHOOK: query: ALTER TABLE kv_rename_test CHANGE a1 a2 INT FIRST PREHOOK: type: ALTERTABLE_RENAMECOL PREHOOK: Input: default@kv_rename_test PREHOOK: Output: default@kv_rename_test POSTHOOK: query: ALTER TABLE kv_rename_test CHANGE a1 a2 INT FIRST POSTHOOK: type: ALTERTABLE_RENAMECOL POSTHOOK: Input: default@kv_rename_test POSTHOOK: Output: default@kv_rename_test PREHOOK: query: DESCRIBE kv_rename_test PREHOOK: type: DESCTABLE POSTHOOK: query: DESCRIBE kv_rename_test POSTHOOK: type: DESCTABLE a2 int None b int None c int None PREHOOK: query: ALTER TABLE kv_rename_test CHANGE a2 a INT AFTER b PREHOOK: type: ALTERTABLE_RENAMECOL PREHOOK: Input: default@kv_rename_test PREHOOK: Output: default@kv_rename_test POSTHOOK: query: ALTER TABLE kv_rename_test CHANGE a2 a INT AFTER b POSTHOOK: type: ALTERTABLE_RENAMECOL POSTHOOK: Input: default@kv_rename_test POSTHOOK: Output: default@kv_rename_test PREHOOK: query: DESCRIBE kv_rename_test PREHOOK: type: DESCTABLE POSTHOOK: query: DESCRIBE kv_rename_test POSTHOOK: type: DESCTABLE b int None a int None c int None PREHOOK: query: ALTER TABLE kv_rename_test CHANGE a a1 INT COMMENT 'test comment1' PREHOOK: type: ALTERTABLE_RENAMECOL PREHOOK: Input: default@kv_rename_test PREHOOK: Output: default@kv_rename_test POSTHOOK: query: ALTER TABLE kv_rename_test CHANGE a a1 INT COMMENT 'test comment1' POSTHOOK: type: ALTERTABLE_RENAMECOL POSTHOOK: Input: default@kv_rename_test POSTHOOK: Output: default@kv_rename_test PREHOOK: query: DESCRIBE kv_rename_test PREHOOK: type: DESCTABLE POSTHOOK: query: DESCRIBE kv_rename_test POSTHOOK: type: DESCTABLE b int None a1 int test comment1 c int None PREHOOK: query: ALTER TABLE kv_rename_test CHANGE a1 a2 INT COMMENT 'test comment2' FIRST PREHOOK: type: ALTERTABLE_RENAMECOL PREHOOK: Input: default@kv_rename_test PREHOOK: Output: default@kv_rename_test POSTHOOK: query: ALTER TABLE kv_rename_test CHANGE a1 a2 INT COMMENT 'test comment2' FIRST POSTHOOK: type: ALTERTABLE_RENAMECOL POSTHOOK: Input: default@kv_rename_test POSTHOOK: Output: default@kv_rename_test PREHOOK: query: DESCRIBE kv_rename_test PREHOOK: type: DESCTABLE POSTHOOK: query: DESCRIBE kv_rename_test POSTHOOK: type: DESCTABLE a2 int test comment2 b int None c int None PREHOOK: query: ALTER TABLE kv_rename_test CHANGE COLUMN a2 a INT AFTER b PREHOOK: type: ALTERTABLE_RENAMECOL PREHOOK: Input: default@kv_rename_test PREHOOK: Output: default@kv_rename_test POSTHOOK: query: ALTER TABLE kv_rename_test CHANGE COLUMN a2 a INT AFTER b POSTHOOK: type: ALTERTABLE_RENAMECOL POSTHOOK: Input: default@kv_rename_test POSTHOOK: Output: default@kv_rename_test PREHOOK: query: DESCRIBE kv_rename_test PREHOOK: type: DESCTABLE POSTHOOK: query: DESCRIBE kv_rename_test POSTHOOK: type: DESCTABLE b int None a int test comment2 c int None PREHOOK: query: DROP TABLE kv_rename_test PREHOOK: type: DROPTABLE PREHOOK: Input: default@kv_rename_test PREHOOK: Output: default@kv_rename_test POSTHOOK: query: DROP TABLE kv_rename_test POSTHOOK: type: DROPTABLE POSTHOOK: Input: default@kv_rename_test POSTHOOK: Output: default@kv_rename_test PREHOOK: query: SHOW TABLES PREHOOK: type: SHOWTABLES POSTHOOK: query: SHOW TABLES POSTHOOK: type: SHOWTABLES src src1 src_json src_sequencefile src_thrift srcbucket srcbucket2 srcpart PREHOOK: query: -- Using non-default Database CREATE DATABASE kv_rename_test_db PREHOOK: type: CREATEDATABASE POSTHOOK: query: -- Using non-default Database CREATE DATABASE kv_rename_test_db POSTHOOK: type: CREATEDATABASE PREHOOK: query: USE kv_rename_test_db PREHOOK: type: SWITCHDATABASE POSTHOOK: query: USE kv_rename_test_db POSTHOOK: type: SWITCHDATABASE PREHOOK: query: CREATE TABLE kv_rename_test(a int, b int, c int) PREHOOK: type: CREATETABLE POSTHOOK: query: CREATE TABLE kv_rename_test(a int, b int, c int) POSTHOOK: type: CREATETABLE POSTHOOK: Output: kv_rename_test_db@kv_rename_test PREHOOK: query: DESCRIBE kv_rename_test PREHOOK: type: DESCTABLE POSTHOOK: query: DESCRIBE kv_rename_test POSTHOOK: type: DESCTABLE a int None b int None c int None PREHOOK: query: ALTER TABLE kv_rename_test CHANGE a a STRING PREHOOK: type: ALTERTABLE_RENAMECOL PREHOOK: Input: kv_rename_test_db@kv_rename_test PREHOOK: Output: kv_rename_test_db@kv_rename_test POSTHOOK: query: ALTER TABLE kv_rename_test CHANGE a a STRING POSTHOOK: type: ALTERTABLE_RENAMECOL POSTHOOK: Input: kv_rename_test_db@kv_rename_test POSTHOOK: Output: kv_rename_test_db@kv_rename_test PREHOOK: query: DESCRIBE kv_rename_test PREHOOK: type: DESCTABLE POSTHOOK: query: DESCRIBE kv_rename_test POSTHOOK: type: DESCTABLE a string None b int None c int None PREHOOK: query: ALTER TABLE kv_rename_test CHANGE a a1 INT PREHOOK: type: ALTERTABLE_RENAMECOL PREHOOK: Input: kv_rename_test_db@kv_rename_test PREHOOK: Output: kv_rename_test_db@kv_rename_test POSTHOOK: query: ALTER TABLE kv_rename_test CHANGE a a1 INT POSTHOOK: type: ALTERTABLE_RENAMECOL POSTHOOK: Input: kv_rename_test_db@kv_rename_test POSTHOOK: Output: kv_rename_test_db@kv_rename_test PREHOOK: query: DESCRIBE kv_rename_test PREHOOK: type: DESCTABLE POSTHOOK: query: DESCRIBE kv_rename_test POSTHOOK: type: DESCTABLE a1 int None b int None c int None PREHOOK: query: ALTER TABLE kv_rename_test CHANGE a1 a2 INT FIRST PREHOOK: type: ALTERTABLE_RENAMECOL PREHOOK: Input: kv_rename_test_db@kv_rename_test PREHOOK: Output: kv_rename_test_db@kv_rename_test POSTHOOK: query: ALTER TABLE kv_rename_test CHANGE a1 a2 INT FIRST POSTHOOK: type: ALTERTABLE_RENAMECOL POSTHOOK: Input: kv_rename_test_db@kv_rename_test POSTHOOK: Output: kv_rename_test_db@kv_rename_test PREHOOK: query: DESCRIBE kv_rename_test PREHOOK: type: DESCTABLE POSTHOOK: query: DESCRIBE kv_rename_test POSTHOOK: type: DESCTABLE a2 int None b int None c int None PREHOOK: query: ALTER TABLE kv_rename_test CHANGE a2 a INT AFTER b PREHOOK: type: ALTERTABLE_RENAMECOL PREHOOK: Input: kv_rename_test_db@kv_rename_test PREHOOK: Output: kv_rename_test_db@kv_rename_test POSTHOOK: query: ALTER TABLE kv_rename_test CHANGE a2 a INT AFTER b POSTHOOK: type: ALTERTABLE_RENAMECOL POSTHOOK: Input: kv_rename_test_db@kv_rename_test POSTHOOK: Output: kv_rename_test_db@kv_rename_test PREHOOK: query: DESCRIBE kv_rename_test PREHOOK: type: DESCTABLE POSTHOOK: query: DESCRIBE kv_rename_test POSTHOOK: type: DESCTABLE b int None a int None c int None PREHOOK: query: ALTER TABLE kv_rename_test CHANGE a a1 INT COMMENT 'test comment1' PREHOOK: type: ALTERTABLE_RENAMECOL PREHOOK: Input: kv_rename_test_db@kv_rename_test PREHOOK: Output: kv_rename_test_db@kv_rename_test POSTHOOK: query: ALTER TABLE kv_rename_test CHANGE a a1 INT COMMENT 'test comment1' POSTHOOK: type: ALTERTABLE_RENAMECOL POSTHOOK: Input: kv_rename_test_db@kv_rename_test POSTHOOK: Output: kv_rename_test_db@kv_rename_test PREHOOK: query: DESCRIBE kv_rename_test PREHOOK: type: DESCTABLE POSTHOOK: query: DESCRIBE kv_rename_test POSTHOOK: type: DESCTABLE b int None a1 int test comment1 c int None PREHOOK: query: ALTER TABLE kv_rename_test CHANGE a1 a2 INT COMMENT 'test comment2' FIRST PREHOOK: type: ALTERTABLE_RENAMECOL PREHOOK: Input: kv_rename_test_db@kv_rename_test PREHOOK: Output: kv_rename_test_db@kv_rename_test POSTHOOK: query: ALTER TABLE kv_rename_test CHANGE a1 a2 INT COMMENT 'test comment2' FIRST POSTHOOK: type: ALTERTABLE_RENAMECOL POSTHOOK: Input: kv_rename_test_db@kv_rename_test POSTHOOK: Output: kv_rename_test_db@kv_rename_test PREHOOK: query: DESCRIBE kv_rename_test PREHOOK: type: DESCTABLE POSTHOOK: query: DESCRIBE kv_rename_test POSTHOOK: type: DESCTABLE a2 int test comment2 b int None c int None PREHOOK: query: ALTER TABLE kv_rename_test CHANGE COLUMN a2 a INT AFTER b PREHOOK: type: ALTERTABLE_RENAMECOL PREHOOK: Input: kv_rename_test_db@kv_rename_test PREHOOK: Output: kv_rename_test_db@kv_rename_test POSTHOOK: query: ALTER TABLE kv_rename_test CHANGE COLUMN a2 a INT AFTER b POSTHOOK: type: ALTERTABLE_RENAMECOL POSTHOOK: Input: kv_rename_test_db@kv_rename_test POSTHOOK: Output: kv_rename_test_db@kv_rename_test PREHOOK: query: DESCRIBE kv_rename_test PREHOOK: type: DESCTABLE POSTHOOK: query: DESCRIBE kv_rename_test POSTHOOK: type: DESCTABLE b int None a int test comment2 c int None PREHOOK: query: DROP TABLE kv_rename_test PREHOOK: type: DROPTABLE PREHOOK: Input: kv_rename_test_db@kv_rename_test PREHOOK: Output: kv_rename_test_db@kv_rename_test POSTHOOK: query: DROP TABLE kv_rename_test POSTHOOK: type: DROPTABLE POSTHOOK: Input: kv_rename_test_db@kv_rename_test POSTHOOK: Output: kv_rename_test_db@kv_rename_test PREHOOK: query: SHOW TABLES PREHOOK: type: SHOWTABLES POSTHOOK: query: SHOW TABLES POSTHOOK: type: SHOWTABLES