SPRKPY1016
pyspark.sql.functions.collect_set has a workaround
Category
Warning.
Description
This issue appears when the tool detects the usage of pyspark.sql.functions.collect_set which has a workaround.
Input code:
Output code:
Scenario:
collect_set(col: ColumnOrName) Action: Use function array_agg, and add a second argument with the value True.
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.