Thursday, October 15, 2015

HIVE - To get DDL of an existing table

HIVE - to get DDL of an existing table, use the below command in hive shell.

SHOW CREATE TABLE <tablename>;