Skip to content

create OR REPLACE transient/temporary TABLE not recognized by parser #133

Closed
@devxor

Description

@devxor

Describe the bug
"create OR REPLACE transient/temporary table" not recognized by parser.
Thx for quickly adding the support for "OR REPLACE TABLE"!
It seems that the "OR REPLACE" is only working with the "TABLE", but not with the Snowflake specific "TRANSIENT TABLE" or "TEMPORARY TABLE". However the support for snowflake's transient/temporary table is there e.g. "create TRANSIENT/TEMPORARY table" is working properly.
Snowflake Docs: Working with Temporary and Transient Tables

To Reproduce

CREATE OR REPLACE TRANSIENT TABLE someTable (
    someField VARCHAR(4)
)
CREATE OR REPLACE TEMPORARY TABLE someTable (
    someField VARCHAR(4)
)

Expected behavior
To get a proper output from the parser.

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