SPRKPY1024
pyspark.sql.functions.log2 has a workaround
pyspark.sql.functions.log2 has a workaround
Warning.
This issue appears when the tool detects the usage of pyspark.sql.functions.log2 which has a workaround.
Input code:
Output code:
log2(col: ColumnOrName) Action: There is no log2 implementation but can be used log with 2 as the base used to calculate de logarithm.
For more support, you can email us at . If you have a contract for support with Snowflake, reach out to your sales engineer and they can direct your support needs.