MSCEWI1092

Materialized View was converted to regular View

This is a deprecated version of the SnowConvert documentation, please visit the official site HERE.

Severity

Low

Description

Snowflake Materialized Views have certain limitations mentioned here. Right now, all Materialized Views are being converted to regular Views without the additional clauses they had. In the future, SnowConvert is going to convert the supported cases to Snowflake Materialized Views.

Example Code

Input Code

CREATE MATERIALIZED VIEW MATERIALIZED_VIEW1
SEGMENT CREATION IMMEDIATE
ORGANIZATION HEAP PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
INMEMORY PRIORITY NONE MEMCOMPRESS FOR QUERY LOW DISTRIBUTE AUTO NO DUPLICATE
AS
select
   *
from
   aTable;

Output Code

/*** MSC-WARNING - MSCEWI1092 - MATERIALIZED VIEW WAS CONVERTED TO REGULAR VIEW. ***/
CREATE OR REPLACE VIEW PUBLIC.MATERIALIZED_VIEW1
AS
select
   *
from
   PUBLIC.aTable;

Recommendations

Last updated