SPRKPY1006
pyspark.context.SparkContext
Last updated
pyspark.context.SparkContext
Last updated
This issue code has been deprecated since
Message: pyspark.context.SparkContext is not required
Category: Warning.
This issue appears when the tool detects the usage of , which is not required in Snowflake.
Input
In this example there are two context to create a connections to an Spark Cluster
Output
Because there are no clusters on Snowflake the Context is not required, note that the variables my_sc1 and my_sc2 that contains Spark properties may be not required or it will to be adapted to fix the code.
This is an unnecessary parameter being removed with a warning comment being inserted. There should be no action from the user.
For more support, you can email us at or post an issue .