SSC-EWI-0034

Format removed.

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

Severity

Low

Description

This warning appears when the format of the column used in a CAST function is removed.

Example Code

Input Code (Teradata):

IN -> Teradata_01.sql
CREATE VIEW SampleView AS
SELECT
    DAY_DATE(FORMAT 'MMM-YYYY') + 1
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
    DAY_DATE !!!RESOLVE EWI!!! /*** SSC-EWI-0034 - FORMAT 'MMM-YYYY' REMOVED. ***/!!! + 1
FROM
    SampleTable;

Recommendations

Last updated