Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-30569

Add DSL functions invoking percentile_approx

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.0
    • 3.1.0
    • PySpark, SQL
    • None

    Description

      Since 2.1 (SPARK-16283) Spark provides percentile_approx SQL function, however it is not exposed through DSL, with exception to `DataFrameStatFunctions.approxQuantile` (which is eager and doesn't support grouping).

      It would be useful to have it exposed through o.a.s.sql.functions / pyspark.sql.functions.

      Attachments

        Issue Links

          Activity

            People

              zero323 Maciej Szymkiewicz
              zero323 Maciej Szymkiewicz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: