pyspark.conf.SparkConf.set has workaround


This issue appears when the tool detects the usage of pyspark.conf.SparkConf.set which has a workaround.
Input code:
conf.set("", "0.5")
Output code:
#EWI: SPRKPY1050 => pyspark.conf.SparkConf.set has a workaround, see documentation for more info
conf.set("", "0.5")


SparkConf.set(key: str, value: str) → pyspark.conf.SparkConf
Action: SparkConf.set is used to set a configuration setting only used by Pyspark and doesn't apply to Snowpark. You can remove or comment the code

Manual Adjustment:

#conf.set("", "0.5")


  • For more support, you can email us at [email protected]. If you have a contract for support with Snowflake, reach out to your sales engineer and they can direct your support needs.