Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 80BF75380 for ; Tue, 10 May 2011 18:58:29 +0000 (UTC) Received: (qmail 59383 invoked by uid 500); 10 May 2011 18:58:29 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 59352 invoked by uid 500); 10 May 2011 18:58:29 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 59345 invoked by uid 99); 10 May 2011 18:58:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 May 2011 18:58:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 May 2011 18:58:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7A21644D3C for ; Tue, 10 May 2011 18:57:47 +0000 (UTC) Date: Tue, 10 May 2011 18:57:47 +0000 (UTC) From: "Rick Hillegas (JIRA)" To: derby-dev@db.apache.org Message-ID: <757101051.926.1305053867496.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (DERBY-672) Re-enable user defined aggregates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13031310#comment-13031310 ] Rick Hillegas commented on DERBY-672: ------------------------------------- The Virtuoso syntax for declaring a user-defined aggregate can be found here: http://en.wikipedia.org/wiki/Virtuoso_Universal_Server CREATE AGGREGATE aggregate_name (parameter, parameter ...) [ RETURNS data_type ] FROM init_procedure, acc_procedure, final_function [, merge_procedure ] parameter : parameter_type name data_type parameter_type : IN | INOUT > 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