SSC-EWI-TS0049
Multiple Line If Body translation planned to be delivered in the future.
Some parts in the output code are omitted for clarity reasons.
Severity
Medium
Description
Most of the cases inIF
statements that contain a Begin ... End
block inside their body are supported. This is a successful scenario (no SSC-EWI-TS0049 generated).
Code Example
Input Code:
Output Code:
In a general code example (Like the on top) the conversion is done successfully. But there are some edge cases where the "IF" statement is not converted and the EWI will be generated.
Manual Support
Case 1: Single Statement
For these cases, the transformation would be straightforward, since the transformed statement would appear in a select clause
Case 2: Multiple Statements
For cases in which multiple statements are being transformed, we should transform the N Statement, and use it as the source table for the N+1 Statement.
Case 3: Multiple set statements
For these cases, it will be necessary to replicate a transformation for each set statement.
Recommendations
If you need more support, you can email us at snowconvert-support@snowflake.com
Last updated