Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-422

Support PERCENTILE_CONT aggregate function

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • old issue number:
      291

      Description

      Support an aggregate function that generates an interpolated value that, if added to the group, would correspond to the percentile given

      SELECT PERCENTILE_CONT(<percentile>) WITHIN GROUP (ORDER BY <expression> ASC)
      FROM t

      The PERCENTILE_CONT function would return the same type as <expression>. See [here](http://my.safaribooksonline.com/book/databases/sql/9780596155322/ansi-sql-aggregate-functions/id3491773_X2ludGVybmFsX0h0bWxWaWV3P3htbGlkPTk3ODA1OTYxNTUzMjIlMkZpZDM0ODkwMjAmcXVlcnk9) for some additional documentation.

        Attachments

          Activity

            People

            • Assignee:
              anoopsamjohn Anoop Sam John
              Reporter:
              jamestaylor James Taylor
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: