SSC-EWI-PG0016
Bit String Type converted to Varchar Type
Severity
Low
Description
When migrating from PostgreSQL, be aware that its BIT String Types and related functions are not natively supported in Snowflake. These data types will be converted to Snowflake's VARCHAR. This conversion means that any PostgreSQL queries or application logic that depend on bitwise operations on these columns will require significant modification to achieve the same functionality in Snowflake.
Code Example
Input Code:
CREATE TABLE table1 (
col1 bit(10)
);
Output Code:
CREATE TABLE table1 (
col1 CHARACTER(10) !!!RESOLVE EWI!!! /*** SSC-EWI-PG0016 - BIT DATA TYPE CONVERTED TO CHARACTER ***/!!!
);
Recommendations
If you need more support, you can email us at [email protected]
Last updated