SPRKPY1051
pyspark.sql.session.SparkSession.Builder.master
Last updated
pyspark.sql.session.SparkSession.Builder.master
Last updated
This issue code has been deprecated since
Message: pyspark.sql.session.SparkSession.Builder.master has a workaround
Category: Warning.
This issue appears when the tool detects usage which has a workaround.
Input
Below is an example of the usage of the method builder.master
to set the Spark Master URL to connect to local using 1 core.
Output
The tool adds the EWI SPRKPY1051
indicating that a workaround can be implemented.
Recommended fix
pyspark.sql.session.SparkSession.Builder.master
is used to set up a Spark Cluster. Snowpark doesn't use Spark Clusters so you can remove or comment the code.
For more support, you can email us at or post an issue .