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

Add DSL functions invoking percentile_approx

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment