MSCEWI1032

Type not supported in cast operation.

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

Severity

Medium

Description

This error happens when a type is not supported in a cast operation.

Example

Input Code:

SELECT CAST(s.addresses AS address_book_t) FROM states s;

Output Code:

SELECT
/*** MSC-ERROR - MSCEWI1032 - TYPE NOT SUPPORTED ***/
CAST_STUB('CAST(s.addresses AS address_book_t)')
FROM PUBLIC.states s;

Recommendations

  • The cast is converted to a user-defined function (UDF/Stub), so you can modify it to emulate the behavior of the cast function.

  • If you need more support, you can email us at snowconvert-support@snowflake.com

Last updated