SPRKPY1050
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("spark.storage.memoryFraction", "0.5")
Output code:
#EWI: SPRKPY1050 => pyspark.conf.SparkConf.set has a workaround, see documentation for more info
conf.set("spark.storage.memoryFraction", "0.5")
SparkConf.set
(key: str, value: str) → pyspark.conf.SparkConfAction: 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
#conf.set("spark.storage.memoryFraction", "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.
Last modified 21d ago