SPRKPY1051
pyspark.sql.session.SparkSession.Builder.master has workaround
Description
This issue appears when the tool detects pyspark.sql.session.SparkSession.Builder.master usage which has a workaround.
Input code:
Output code:
Scenario
builder.master
(master: str) → pyspark.sql.session.SparkSession.Builder
Action: 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. Example:
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