SPRKSCL1133
org.apache.spark.sql.functions.least has a workaround.
Description
This issue appears when the tool detects the usage of org.apache.spark.sql.functions.least which has a workaround.
Input code
Output code
Scenarios
This function has two overloads.
1. least(exprs: Column*)
Action: does not need any change.
2. least(columnName: String, columnNames: String*)
Action: convert the param to Column type using the com.snowflake.snowpark.functions.col function. For example:
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.