-
Notifications
You must be signed in to change notification settings - Fork 590
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat(SQL): Ordered-Set Aggregate Functions #10038
Comments
@TennyZhuang I heard that you want to use another algorithm to support 2-phase percentile? |
I just provide some information and don’t do enough investigation, it should be decided by @yuhao-su |
This issue has been open for 60 days with no activity. If you think it is still relevant today, and needs to be done in the near future, you can comment to update the status, or just manually remove the You can also confidently close this issue as not planned to keep our backlog clean. |
Tracking
WITHIN GROUP
feat(sqlparser): support WITHIN GROUP #10146it is just very similar to the
string_agg(x order by y)
that adds an order tag on the aggregator, in fact, the SQL standard and most databases use that syntax to implement it. https://wiki.postgresql.org/wiki/PostgreSQL_vs_SQL_Standardmode
,percentile_cont
,percentile_dist
)PERCENTILE_CONT
,PERCENTILE_DISC
andMODE
aggregation #10252double precision[]
as direct argument #14083refers
https://www.postgresql.org/docs/9.4/sql-expressions.html#SYNTAX-AGGREGATES
https://www.postgresql.org/docs/9.4/functions-aggregate.html
The text was updated successfully, but these errors were encountered: