Greenplum
Translation from Greenplum to Snowflake
Last updated
Translation from Greenplum to Snowflake
Last updated
This section explains features exclusive to Greenplum.
For more information, please refer to the documentation.
The compression encoding for a column. In Snowflake, defining ENCODING is unnecessary because it automatically handles data compression, unlike Greenplum, which could set up the encoding manually. For this reason, the ENCODING statement is removed during migration.
This syntax is fully supported in Snowflake.
The DISTRIBUTED BY clause in Greenplum controls how table data is physically distributed across the system's segments. Meanwhile, CLUSTER BY is a subset of columns in a table (or expressions on a table) that are explicitly designated to co-locate the data in the table in the same micro-partitions.
The DISTRIBUTED REPLICATED or DISTRIBUTED RANDOMLY clause in Greenplum 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.
: The performance of the CLUSTER BY may vary compared to the performance of Distributed By.