SPRKPY1033
pyspark.sql.functions.asc has a workaround
pyspark.sql.functions.asc has a workaround
Warning.
This issue appears when the tool detects the usage of which has a workaround.
Note: This workaround is deprecated because a later tool version supports the asc snowflake function as direct.
Input code:
Output code:
This function has two overloads:
1. asc(col: Column)
2. asc(colName: str)
Action: use instead function, by applying it to the column parameter. Example:
Action: use instead function, by converting the parameter string into a column (by using col function) and then applying asc to it. Example:
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.