SPRKPY1015

pyspark.sql.functions.atanh has a workaround

Category

Warning.

Description

This issue appears when the tool detects the usage of pyspark.sql.functions.atanh which has a workaround.

Input code:

col = atanh(colName)

Output code:

#EWI: SPRKPY1015 => pyspark.sql.functions.atanh has a workaround, see documentation for more info
col = atanh(colName)

Scenario:

atanh(col: ColumnOrName) Action: There is no atanh implementation but "call_function" can be used instead, using "atanh" as the first parameter, and colName as the second one.

col = call_function("atanh", colName)

Recommendation

  • For more support, you can email us at snowconvert-info@snowflake.com. If you have a contract for support with Snowflake, reach out to your sales engineer and they can direct your support needs.

#332: [SIT-1562] SQL Readiness

Change request updated