[ 
https://issues.apache.org/jira/browse/IMPALA-5545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Quanlong Huang reassigned IMPALA-5545:
--------------------------------------

    Assignee: Alex Sun  (was: Jin Chul Kim)

Assign this to [~sneakyburro] since [~jinchul] can not response for a while.

> Add LISTAGG() fuction
> ---------------------
>
>                 Key: IMPALA-5545
>                 URL: https://issues.apache.org/jira/browse/IMPALA-5545
>             Project: IMPALA
>          Issue Type: New Feature
>          Components: Backend, Frontend
>            Reporter: Greg Rahn
>            Assignee: Alex Sun
>            Priority: Major
>              Labels: ansi-sql, ramp-up, sql-language
>
> SQL:2016 added LISTAGG() as a standard function for aggregating records into 
> a string list.  This would introduce a superset of functionality that 
> GROUP_CONCAT() implements today.
> {noformat}
> <listagg set function> ::=
>   LISTAGG <left paren> [ <set quantifier> ] <character value expression>
>       <comma> <listagg separator> [ <listagg overflow clause> ] <right paren>
>       <within group specification>
> <listagg separator> ::=
>   <character string literal>
> <listagg overflow clause> ::=
>   ON OVERFLOW <overflow behavior>
> <overflow behavior> ::=
>     ERROR
>   | TRUNCATE [ <listagg truncation filler> ] <listagg count indication>
> <listagg truncation filler> ::=
>   <character string literal>
> <listagg count indication> ::=
>     WITH COUNT>
>   | WITHOUT COUNT>
> <array aggregate function> ::=
>   ARRAY_AGG
> <left paren> <value expression> [ ORDER BY <sort specification list> ] <right 
> paren>
> <row pattern count function> ::=
>   COUNT <left paren> <row pattern variable name> <period> <asterisk> <right 
> paren>
> {noformat}
> References:
> - http://modern-sql.com/feature/listagg
> - http://docs.oracle.com/database/122/SQLRF/LISTAGG.htm
> - https://oracle-base.com/articles/12c/listagg-function-enhancements-12cr2



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to