SPRKPY1041

pyspark.sql.functions.explode_outer has workaround

Description

This issue appears when the tool detects the usage of pyspark.sql.functions.explode_outer which has a workaround.

Input code:

explode_outer(col)

Output code:

#EWI: SPRKPY1041 => pyspark.sql.functions.explode_outer has a workaround, see documentation for more info
explode_outer(col)

Scenarios

explode_outer(col: ColumnOrName) -> pyspark.sql.column.Column

Action: Import the snowpark_extensions package, which contains a helper for the explode_outer function.

import snowpark_extensions
explode_outer(col)

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.

Last updated