SPRKPY1023
pyspark.sql.functions.log1p has a workaround
Category
Warning.
Description
This issue appears when the tool detects the usage of pyspark.sql.functions.log1p which has a workaround.
Input code:
Output code:
Scenario:
log1p(col: ColumnOrName) Action: Log1p represents a natural log function, so we can have an equivalence on calling "function_call", using "ln" as the first parameter and by adding 1 to the second parameter.
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.