SSC-EWI-0021
Not supported.
Severity
Medium
Description
This message appears when a specific node or statement from the source code is not supported in Snowflake.
Example Code
Input Code:
WITH my_av ANALYTIC VIEW AS
(USING sales_av HIERARCHIES(time_hier) ADD MEASURES(lag_sales AS (LAG(sales) OVER (HIERARCHY time_hier OFFSET 1 ))))
SELECT aValue from my_av;
Output Code:
!!!RESOLVE EWI!!! /*** SSC-EWI-0021 - SubavFactoring NOT SUPPORTED IN SNOWFLAKE ***/!!!
WITH my_av ANALYTIC VIEW AS
(USING sales_av HIERARCHIES(time_hier) ADD MEASURES(lag_sales AS (LAG(sales) OVER (HIERARCHY time_hier OFFSET 1 ))))
SELECT aValue from my_av;
Recommendations
If this error happens is because there is no Snowflake equivalent for the node that is being converted.
If you need more support, you can email us at [email protected]
Last updated