SPRKPY1041
pyspark.sql.functions.explode_outer
This issue code has been deprecated since Spark Conversion Core Version 2.9.0
Message: pyspark.sql.functions.explode_outer has a workaround
Category: Warning
Description
This issue appears when the tool detects the usage of pyspark.sql.functions.explode_outer which has a workaround.
Scenario
Input
The example shows the use of the method explode_outer in a select call.
Output
The tool adds the EWI SPRKPY1041
indicating that a workaround can be implemented.
Recommended fix
As a workaround, you can import the snowpark_extensions package, which contains a helper for the explode_outer
function.
Additional recommendations
For more support, you can email us at sma-support@snowflake.com or post an issue in the SMA.
Last updated