Links

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;

Recommendation

  • The cast is converted to an user defined function (stub), so you can modify it to emulate the behavior of the cast function.
  • For more support, you can email us at [email protected] or post a message to our forums. If you have a contract for support with Mobilize.Net, reach out to your sales engineer and they can direct your support needs.