CREATE TABLE

Important Notice: Migration of Documentation Website

Please be advised that our documentation website is currently undergoing a migration to a new platform. To ensure you have access to the most up-to-date information, we kindly request that you visit our new documentation website located at:

Official Snowflake Snowconvert Documentation

For any immediate assistance or if you encounter any issues, please contact our support team at [email protected].

Thank you for your understanding.

Grammar syntax

CREATE [ OR REPLACE ] [ TEMP | TEMPORARY ] TABLE [ IF NOT EXISTS ]
table_name
[(
  column | constraint_definition[, ...]
)]
[DEFAULT COLLATE collate_specification]
[PARTITION BY partition_expression]
[CLUSTER BY clustering_column_list]
[OPTIONS(table_option_list)]
[AS query_statement]

Sample Source Patterns

DEFAULT COLLATE

Input Code:

Output Code:

Labels table option

Input Code:

Output Code:

Description table option

Input Code:

Output Code:

Description table option

Input Code:

Output Code:

Known Issues

1. Unsupported table options

Not all table options are supported in Snowflake, when an unsupported table option is encountered in the OPTIONS clause, an EWI will be generated to warn about this.

Input Code:

Output Code:

2. Micro-partitioning is automatically managed by Snowflake

Snowflake performs automatic partitioning of data. User defined partitioning is not supported.

Input Code:

Output Code:

  1. SSC-EWI-BQ0001: Snowflake does not support the options clause.

  2. SSC-EWI-BQ0002: Micro-partitioning is automatically performed on all Snowflake tables.

Last updated