SSC-FDM-TS0031
SET ANSI_WARNINGS ON statement is commented out, which Snowflake generally adheres to ANSI-standard behaviors.
Description
Snowflake generally behaves as if ANSI_WARNINGS
is ON
by default, especially concerning error handling for arithmetic overflow, division by zero, and string truncation. You typically don't need to explicitly "set" an equivalent to ANSI_WARNINGS
in Snowflake. Therefore, when SnowConvert encounters a SET ANSI_WARNINGS ON
statement, it adds this FDM and comments it out.
Code example
Input Code:
SET ANSI_WARNINGS ON;
OUTPUT CODE
----** SSC-FDM-TS0031 - SET ANSI_WARNINGS ON STATEMENT IS COMMENTED OUT, WHICH SNOWFLAKE GENERALLY ADHERES TO ANSI-STANDARD BEHAVIORS. **
--SET ANSI_WARNINGS ON
Recommendations
If you need more support, you can email us at [email protected]
Last updated