Data types
Snowflake supports most basic SQL data types (with some restrictions) for use in columns, local variables, expressions, parameters, and any other appropriate/suitable locations.
Binary Data Type
Notes: Vertica's LONG VARBINARY
supports up to 32,000,000 bytes (~30.5MB), while Snowflake's BINARY
is limited to (8,388,608 bytes) 8MB. This size difference means you might need an alternative solution for mapping larger LONG VARBINARY
data.
Boolean Data Type
Character Data Type
Date/Time Data Type
Notes: Be aware of Snowflake's recommended year range (1582-9999).
Notes: TIME data type in Snowflake does not persist this timezone attribute. SSC-FDM-0005
is added.
Approximate Numeric Data Type
Exact Numeric Data Type
Spatial Data Type
UUID Data Type
Notes: Snowflake doesn't have a native UUID data type. Instead, UUIDs are usually stored as either VARCHAR(36) (for string format) or BINARY(16) (for raw byte format).
You can generate RFC 4122-compliant UUIDs in Snowflake using the built-in UUID_STRING()
function.
Last updated