SPRKPY1048
pyspark.sql.session.SparkSession.conf
This issue code has been deprecated since Spark Conversion Core Version 2.4.0
Message: pyspark.sql.session.SparkSession.conf has a workaround
Category: Warning.
Description
This issue appears when the tool detects the usage of pyspark.sql.session.SparkSession.conf which has a workaround.
Scenario
Input
Below is an example of how to set a configuration into the property conf
.
Output
The tool adds the EWI SPRKPY1048
indicating that a workaround can be implemented.
Recommended fix
SparkSession.conf is used to pass some specific settings only used by Pyspark and doesn't apply to Snowpark. You can remove or comment on the code
Additional recommendations
For more support, you can email us at sma-support@snowflake.com or post an issue in the SMA.
Last updated