Links
Comment on page

MSCEWI1032

Type not supported in cast operation.

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 [email protected]