SPRKPY1011
pyspark.sql.dataframe.DataFrameStatFunctions.approxQuantile has a workaround
Warning.
This issue appears when the tool detects the usage of pyspark.sql.dataframe.DataFrameStatFunctions.approxQuantile which has a workaround.
Input code:
approxQuantile(col, probabilities, 2)
Output code:
#EWI: SPRKPY1011 => pyspark.sql.dataframe.DataFrameStatFunctions.approxQuantile has a workaround, see documentation for more info
approxQuantile(col, probabilities, 2)
- 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.
Last modified 21d ago