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

Rick Hillegas commented on DERBY-672:
-------------------------------------

The IBM Informix syntax for declaring a user-defined aggregate can be found 
here: www.informixoncampus.org/IDS_DOC/SQLSyntax1150.pdf

CREATE AGGREGATE [<schemaName>.]<aggregateName>
WITH
(
    [ INIT = <initFunctionName> ]
    ITER = <accumulatorFunctionName>
    COMBINE = <mergeFunctionName>
    [ FINAL = <resultsFunctionName> ]
    [ HANDLESNULLS ]
)

> Re-enable user defined aggregates
> ---------------------------------
>
>                 Key: DERBY-672
>                 URL: https://issues.apache.org/jira/browse/DERBY-672
>             Project: Derby
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Rick Hillegas
>
> Nicolas Dufour in an email thread titled "functions and list" started on 
> November 2, 2005 requests the ability to create user defined aggregates.
> This functionality used to be in Cloudscape. It was disabled presumably 
> because it was considered non-standard. However, most of the machinery needed 
> for this feature is still in the code. We should re-enable user defined 
> aggregates after we agree on acceptable syntax.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to