SPRKPY1009
pyspark.sql.dataframe.DataFrame.approxQuantile has a workaround
Category
Warning.
Description
This issue appears when the tool detects the usage of pyspark.sql.dataframe.DataFrame.approxQuantile which has a workaround.
Input code:
aq = approxQuantile("colName", numbers, error)
Output code:
#EWI: SPRKPY1011 => pyspark.sql.dataframe.DataFrameStatFunctions.approxQuantile has a workaround, see documentation for more info
aq = approxQuantile("colName", numbers, error)
Recommendation
Use approxQuantile snowpark method. Parameters don't match so they require some manual adjustments.
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.