SnowConvert AI - Teradata - CREATE TYPE¶
Teradata structured types in SYSUDTLIB (and similar) are translated when the definition includes a CAST FROM clause that allows reduction to a single Snowflake scalar type, or when the body is a simple attribute list without such a cast mapping to an alias. For background, see Teradata’s UDT documentation and Snowflake CREATE TYPE.
Types with CAST FROM (scalar alias)¶
When Teradata defines a UDT with one attribute and a CAST FROM clause pointing at a built-in type, SnowConvert can emit a Snowflake CREATE TYPE ... AS <scalar> alias.
Source (Teradata):
Snowflake equivalent:
Source (Teradata):
Snowflake equivalent:
Source (Teradata):
Snowflake equivalent:
Composite type without scalar CAST FROM¶
Multi-attribute definitions without the scalar-alias pattern map to Snowflake OBJECT(...).
Source (Teradata):
Snowflake equivalent:
Notes: Teradata-specific clauses such as INSTANTIABLE / NOT FINAL are not represented in Snowflake CREATE TYPE; the translation focuses on the usable Snowflake type shape.