SPRKPY1013

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.

Input code:

col = acosh(colName)

Output code:

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

Scenario:

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

col = call_function("acosh", 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