SSC-EWI-OR0042

Model clause is not supported.

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

Severity

Low

Description

This message is shown when SnowConvert finds a query with a MODEL clause, which is not supported in Snowflake.

Example Code

Input Code:

IN -> Oracle_01.sql
SELECT
   employee_id,
   salary
FROM
   employees
MODEL
DIMENSION BY (employee_id)
MEASURES (salary)
();

Output Code:

OUT -> Oracle_01.sql
SELECT
   employee_id,
   salary
FROM
   employees
!!!RESOLVE EWI!!! /*** SSC-EWI-OR0042 - MODEL CLAUSE IS NOT SUPPORTED IN SNOWFLAKE ***/!!!
MODEL
DIMENSION BY (employee_id)
MEASURES (salary)
();

Recommendations

Last updated