MSCEWI3082
Cannot Convert Nested Type Attribute Expression
This is a deprecated version of the SnowConvert documentation, please visit the official site HERE.
Severity
Medium
Description
This error message appears when a query, like a select, tries to access an attribute within a column that was defined as a type. These cannot be automatically converted, but they can be quickly converted by hand.
Example Code
Input Code:
CREATE OR REPLACE TYPE type1 AS OBJECT (type1_column1 INT);
CREATE TABLE tableA
(
tableARow1 type1
);
SELECT tableARow1.type1_column1 FROM tableA;Output Code:
Recommendations
The code can be manually fixed by changing the '.' accessor for the ':' wherever a type column is being accessed.
If you need more support, you can email us at [email protected]
Last updated
