Create Table Like
Creates a new table with all of the same metadata of another table.
Description
The LIKE
form of CREATE TABLE
allows you to copy an existing table definition exactly.
Grammar Syntax
For more information check Hive Documentation.
Simple case
Hive
Snowflake
Known Issues
If the
EXTERNAL
header is added, the statement is transformed to a regular table and the EWI MSCINF0006 is added.If the LOCATION clause is added, it is commented and EWI MSC-HVXXXX is added
Related EWIs
MSCINF0006: External table translated to a regular table.
MSC-HVXXXX: THE CREATE TABLE LOCATION CLAUSE IS NOT SUPPORTED IN SNOWFLAKE.
Last updated