Links

SPRKPY1014

pyspark.sql.functions.asinh has a workaround

Category

Warning.

Description

This issue appears when the tool detects the usage of pyspark.sql.functions.asinh which has a workaround.
Input code:
col = asinh(colName)
Output code:
#EWI: SPRKPY1014 => pyspark.sql.functions.asinh has a workaround, see documentation for more info
col = asinh(colName)

Scenario:

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

Recommendation