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

Support PERCENT_RANK aggregate function

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Resolution: Fixed
    • None
    • None
    • None
    • 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

            anoopsamjohn Anoop Sam John
            jamestaylor James R. Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: