SPRKPY1024
pyspark.sql.functions.log2 has a workaround
Category
Warning.
Description
This issue appears when the tool detects the usage of pyspark.sql.functions.log2 which has a workaround.
Input code:
Output code:
Scenario:
log2(col: ColumnOrName) Action: There is no log2 implementation but can be used log with 2 as the base used to calculate de logarithm.
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.