Member Function Definitions
This is a translation reference to convert the Member Functions of the Oracle Create Type Statements (UDT's) to Snowflake
SnowConvert still does not recognize type member functions nor type body definitions. This page is only used as a future reference for translation.
Some parts in the output code are omitted for clarity reasons.
Description
Like other Class definitions, Oracle's TYPE can implement methods to expose behaviors based on its attributes. MEMBER FUCTION will be transformed to Snowflake's Stored Procedures, to maintain functional equivalence due to limitations.
Since functions are being transformed into procedures, the transformation reference for PL/SQL also applies here.
Sample Source Patterns
Inserts for Simple square() member 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.
Oracle
Snowflake
Simple square() member function
Oracle
Snowflake
Known Issues
No Known issues.
Related EWIs
SSC-EWI-0056: Create Type Not Supported.
SSC-EWI-0062: Custom type usage changed to variant.
SSC-EWI-0073: Pending Functional Equivalence Review.
SSC-EWI-OR0007: Create Type Not Supported in Snowflake
Last updated