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

Add DSL functions invoking percentile_approx

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.0
    • Component/s: PySpark, SQL
    • Labels:
      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

              • Assignee:
                zero323 Maciej Szymkiewicz
                Reporter:
                zero323 Maciej Szymkiewicz
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: