SPRKSCL1115
org.apache.spark.sql.functions.round
Last updated
org.apache.spark.sql.functions.round
Last updated
This issue code has been deprecated since
Message: org.apache.spark.sql.functions.round has a workaround, see documentation for more info
Category: Warning
This issue appears when the SMA detects a use of the function, which has a workaround.
Input
Below is an example of the org.apache.spark.sql.functions.round
function that generates this EWI.
Output
The SMA adds the EWI SPRKSCL1115
to the output code to let you know that this function is not fully supported by Snowpark, but it has a workaround.
Recommended fix
Snowpark has an equivalent function that receives a column object as an argument. For that reason, the Spark overload that receives a column object as an argument is directly supported by Snowpark and does not require any changes.
For the overload that receives a column object and a scale, you can convert the scale into a column object using the function as a workaround.
For more support, you can email us at or post an issue .