SPRKPY1013
pyspark.sql.functions.acosh
Message: pyspark.sql.functions.acosh has a workaround
Category: Warning.
Description
This issue appears when the tool detects the usage of pyspark.sql.functions.acosh which has a workaround.
Scenario
Input
On this example pyspark calculates the acosh for a dataframe by using pyspark.sql.functions.acosh
Output
SMA returns the EWI SPRKPY1013 over the line where acosh is used, so you can use to identify where to fix.
Recommended fix
There is no direct "acosh" implementation but "call_function" can be used instead, using "acosh" as the first parameter, and colName as the second one.
Additional recommendations
For more support, you can email us at sma-support@snowflake.com or post an issue in the SMA.
Last updated