blob: cbdbc707a52c8a3968c027c3a8d4052303955873 [file] [log] [blame]
set hive.ddl.output.format=json;
CREATE TABLE IF NOT EXISTS jsontable (key INT, value STRING) COMMENT 'json table' STORED AS TEXTFILE;
SHOW TABLES LIKE 'jsontab%';
SHOW TABLE EXTENDED LIKE 'jsontab%';
ALTER TABLE jsontable SET TBLPROPERTIES ('id' = 'jsontable');
DESCRIBE jsontable;
DESCRIBE extended jsontable;
DROP TABLE jsontable;
set hive.ddl.output.format=text;