SPRKPY1011
pyspark.sql.dataframe.DataFrameStatFunctions.approxQuantile
Last updated
pyspark.sql.dataframe.DataFrameStatFunctions.approxQuantile
Last updated
Message: pyspark.sql.dataframe.DataFrameStatFunctions.approxQuantile has a workaround
Category: Warning.
This issue appears when the tool detects the usage of which has a workaround.
Input
It's important understand that Pyspark uses two different approxQuantile functions, here we use the version.
Output
SMA returns the EWI SPRKPY1011 over the line where approxQuantile is used, so you can use to identify where to fix.
Recommended fix
pyspark.sql.dataframe.DataFrame.approxQuantile's relativeError parameter does't exist in SnowPark.
You can use method. Some parameters don't match so they require some manual adjustments. for the output code's example a recommended fix could be:
For more support, you can email us at or post an issue .