SPRKSCL1134
org.apache.spark.sql.functions.log
Last updated
org.apache.spark.sql.functions.log
Last updated
Message: org.apache.spark.sql.functions.log 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.log
function that generates this EWI.
Output
The SMA adds the EWI SPRKSCL1134
to the output code to let you know that this function is not fully supported by Snowpark, but it has a workaround.
Recommended fix
Below are the different workarounds for all the overloads of the log
function.
1. def log(base: Double, columnName: String): Column
2. def log(base: Double, a: Column): Column
3.def log(columnName: String): Column
4. def log(e: Column): Column
You can pass lit(Math.E)
as the first argument and the column object as the second argument.
You can convert the base into a column object using the function and convert the column name into a column object using the function.
You can convert the base into a column object using the function.
You can pass lit(Math.E)
as the first argument and convert the column name into a column object using the function and pass it as the second argument.
For more support, you can email us at or post an issue .