SSC-FDM-0015

​Referenced custom type in query not found.

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.

Description

This error happens when the definition for a Custom Type was not found or an Oracle built-in data type was not recognized by SnowConvert.

Example code

Input Code (Oracle):

IN -> SqlServer_01.sql
--Type was never defined
--CREATE TYPE type1;

CREATE TABLE table1
(
column1 type1
);

Output Code:

OUT -> SqlServer_01.sql
--Type was never defined
--CREATE TYPE type1;

CREATE OR REPLACE TABLE table1
(
column1 VARIANT /*** SSC-FDM-TS0015 - DATA TYPE TYPE1 IS NOT SUPPORTED IN SNOWFLAKE ***/
)
COMMENT = '{"origin":"sf_sc","name":"snowconvert","version":{"major":1, "minor":0},{"attributes":{"component":"transact"}}'
;

Recommendations

  • Verify that the type that the referenced data type was defined in the input code.

  • Check the Snowflake data types documentation to find an equivalent for the data type.

  • If you need more support, you can email us at [email protected]

Last updated