Skip to content

LOCATION and TBLPROPERTIES clauses in CREATE TABLE LIKE statement #125

@lapter57

Description

@lapter57

Hi! If i create a table using the LIKE statement and add LOCATION and/or TBLPROPERTIES clauses to it, then returns [].

stmt = 'CREATE EXTERNAL TABLE IF NOT EXISTS schema.specific_table LIKE schema.table_template LOCATION "/path/to/table" TBLPROPERTIES ("external.table.purge" = "true")'
DDLParser(stmt).run(output_mode="hql")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions