SSC-EWI-0033

Format removed, semantic information not found.

Some parts in the output code are omitted for clarity reasons.

Severity

Low

Description

This warning appears when a column used in a CAST function with a specific output format was not found in the source code.

Example Code

Input Code (Teradata):

IN -> Teradata_01.sql
CREATE VIEW SampleView AS
SELECT
    DAY_DATE(FORMAT 'MMM-YYYY')(CHAR(8))
FROM
    SampleTable;

Output Code:

OUT -> Teradata_01.sql
// SnowConvert Helpers Code section is omitted.
CREATE OR REPLACE VIEW SampleView
COMMENT = '{"origin":"sf_sc","name":"snowconvert","version":{"major":1, "minor":0},{"attributes":{"component":"teradata"}}'
AS
SELECT
    CAST(RPAD(TO_VARCHAR(
    DAY_DATE !!!RESOLVE EWI!!! /*** SSC-EWI-0033 - FORMAT 'MMM-YYYY' REMOVED, SEMANTIC INFORMATION NOT FOUND. ***/!!!), 8) AS CHAR(8))
    FROM
    SampleTable;

Recommendations

  • Make sure all the dependencies(tables and views) related to the procedure statement are being migrated.

  • If you need more support, you can email us at snowconvert-support@snowflake.com

Last updated