Array Type Definition
This is a translation reference to convert the Array Variant of the Oracle Create Type Statements (UDT's) to Snowflake
SnowConvert only recognizes these definitions and for the moment does not support any translation for them. This page is only used as a future reference for translations.
Some parts in the output code are omitted for clarity reasons.
Description
Array Types define an array structure of a previously existing datatype (including other Custom Types).
For the translation of array types, the type definition is replaced by a Semi-structured Data Type and then it is expanded on any usages across the code. This means taking type's definition and then expanding it on the original code.
Sample Source Patterns
Inserts for the array usage
The next data will be inserted inside the table before querying the select. Please note these Inserts currently need to be manually migrated into Snowflake.
Oracle
Snowflake
Array Type usage
Oracle
Snowflake
Known Issues
1. Create Type creation options are not supported
Currently, there is no known workaround for any of the creation options, for these reasons they are not taken into account when defining the type.
2. Migrated code output is not functional
The statements are being changed unnecessarily, which makes them no longer be functional on the output code. This will be addressed when a proper transformation for them is in place.
Related EWIs
SSC-EWI-0062: Custom type usage changed to variant.
SSC-EWI-0073: Pending Functional Equivalence Review.
Last updated