SPRKPY1020
pyspark.sql.functions.instr has a workaround
pyspark.sql.functions.instr has a workaround
Warning.
This issue appears when the tool detects the usage of pyspark.sql.functions.instr which has a workaround.
Input code:
Output code:
instr(str: ColumnOrName, substr: str) Action: Requires a manual change by using the function charindex and changing the order of the first two parameters.
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.