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

Support PERCENT_RANK aggregate function

    Details

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

      Description

      Support an aggregate function that calculates the percent rank of an expression like this:

      SELECT PERCENT_RANK(<perc>) WITHIN GROUP (ORDER BY <expression> ASC)
      FROM t

      The PERCENT_RANK function would return a type of DECIMAL.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: