SSC-EWI-OR0089
REGEXP_LIKE_UDF match parameter may not behave correctly
This EWI is deprecated, please refer to SSC-FDM-OR0044 documentation.
Severity
Low
Description
This warning appears when the Oracle REGEXP_LIKE
condition comes with the third parameter (match parameter). The reason to add the warning is that the REGEXP_LIKE_UDF
used to replace the REGEXP_LIKE
does not recognize all the characters used by the match parameter, so the result of the query in Snowflake may not be equivalent to Oracle.
Example Code
Input Code Oracle:
Output Code:
When the
REGEXP_LIKE
condition comes with one of the characters that are not supported by the user-defined function, maybe a possible solution is to change the regular expression in order to simulate the behavior of the missing character in the match parameter. To know more about the character not supported go to REGEXP_LIKE_UDF documentation.If you need more support, you can email us at snowconvert-support@snowflake.com
Last updated