This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 227
Support PERCENT_RANK aggregate function #288
Labels
Comments
We need to support PERCENT_RANK() for every row as shown in here [See Analytic Example part] ? |
We'll need to treat the column reference in the WITHIN GROUP (ORDER BY salary DESC) as an aggregation even though it's not in the GROUP BY clause. To do this, you'll want to:
|
anoopsjohn
added a commit
to anoopsjohn/phoenix
that referenced
this issue
Jul 3, 2013
Closing as fixed, as we now support PERCENTILE_RANK. Additional work is necessary to support the OLAP extensions, but this is covered by #23. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Support an aggregate function that calculates the percent rank of an expression like this:
The PERCENT_RANK function would return a type of DECIMAL.
The text was updated successfully, but these errors were encountered: