[ 
https://issues.apache.org/jira/browse/DERBY-6991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16413827#comment-16413827
 ] 

Rick Hillegas commented on DERBY-6991:
--------------------------------------

After a little more thought, DERBY-6992 looks like overkill as a solution for 
LISTAGG. DERBY-6992 is needed for user-defined aggregates with multiple 
arguments which can change on a per-row basis. However, LISTAGG only needs 
extra arguments which are constants. The <listagg separator> (and, later on, 
the other constant LISTAGG clauses) can be poked into the aggregator's 
constructor by org.apache.derby.impl.sql.execute.UserDefinedAggregator.setup(). 
It should be straightforward to get the <listagg separator> through the Derby 
compiler and into the execution logic in UserDefinedAggregator. So step 1 is 
not needed. I think that we have enough of a plan to get started. Let me know 
if this sounds good to you.


> GROUP_CONCAT
> ------------
>
>                 Key: DERBY-6991
>                 URL: https://issues.apache.org/jira/browse/DERBY-6991
>             Project: Derby
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 10.15.0.0
>            Reporter: The Alchemist
>            Priority: Minor
>
> I was wondering what it would take to get {{GROUP_CONCAT()}} support.
>  
> If someone points me in the right direction, I can send a patch.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to