Netezza
Translation from Netezza to Snowflake
Description
Creates a new table in Netezza. For more information, please refer to CREATE TABLE
documentation.
This grammar is partially supported in Snowflake. Translation pending for these table options:
[ ORGANIZE ON { (<col>) | NONE } ]
[ ROW SECURITY ]
[ DATA_VERSION_RETENTION_TIME <number-of-days> ]
Grammar Syntax
CREATE [ TEMPORARY | TEMP ] TABLE [IF NOT EXISTS] <table>
( <col> <type> [<col_constraint>][,<col> <type> [<col_constraint>]…]
[<table_constraint>[,<table_constraint>… ] )
[ DISTRIBUTE ON { RANDOM | [HASH] (<col>[,<col>…]) } ]
[ ORGANIZE ON { (<col>) | NONE } ]
[ ROW SECURITY ]
[ DATA_VERSION_RETENTION_TIME <number-of-days> ]
DISTRIBUTE ON RANDOM - DISTRIBUTE ON HASH
These clauses controls how table data is physically distributed across the system's segments. As Snowflake automatically handles data storage, these options will be removed in the migration.
Grammar Syntax
DISTRIBUTE ON { RANDOM | [HASH] (<col>[,<col>…])
Sample Source Patterns
Input Code:
CREATE TABLE table1 (colum1 int, colum2 int, colum3 smallint, colum4 int )
DISTRIBUTE ON RANDOM;
Output Code:
CREATE TABLE table1 (colum1 int, colum2 int, colum3 smallint, colum4 int )
COMMENT = '{ "origin": "sf_sc", "name": "snowconvert", "version": { "major": 0, "minor": 0, "patch": "0" }, "attributes": { "component": "netezza", "convertedOn": "05/11/2025", "domain": "test" }}'
;
Related EWIs
SSC-EWI-0073: Pending Functional Equivalence Review.
Last updated