Last updated
Last updated
Object Types define a structure of data similar to a record, with the added advantages of the member function definitions. Meaning that their data may be used along some behavior within the type.
For the translation of object types, the type definition is replaced by a and then it is expanded on any usages across the code. For tables this means replacing the column for a Variant, adding a View so that selects (and also Views) to the original table can still function.
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.
These statements need to be placed between the table creation and the select statement to test the output.
The view statement is being changed unnecessarily, which makes the table no longer have the same behavior in the output code. There is a work item to fix this issue.
DML that interacts with elements that have User-defined types within them (like a table) are not being transformed. There is a work item to implement this in the future.
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.
: Create Type Not Supported.
: Custom type usage changed to variant.
: Pending Functional Equivalence Review.
This is a translation reference to convert the Object Variant of the Oracle Create Type Statements (UDT's) to Snowflake