Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 43354 invoked from network); 18 Sep 2009 00:26:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Sep 2009 00:26:19 -0000 Received: (qmail 73595 invoked by uid 500); 18 Sep 2009 00:26:19 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 73537 invoked by uid 500); 18 Sep 2009 00:26:19 -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 73527 invoked by uid 99); 18 Sep 2009 00:26:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Sep 2009 00:26:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Sep 2009 00:26:17 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 88C9C234C1E7 for ; Thu, 17 Sep 2009 17:25:57 -0700 (PDT) Message-ID: <649502952.1253233557559.JavaMail.jira@brutus> Date: Thu, 17 Sep 2009 17:25:57 -0700 (PDT) From: "Bryan Pendleton (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-3002) Add support for GROUP BY ROLLUP In-Reply-To: <8295663.1186932103844.JavaMail.jira@brutus> 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-3002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bryan Pendleton updated DERBY-3002: ----------------------------------- Attachment: useAggregateObserver.diff Attached 'useAggregateObserver.diff' has one major change from the previous patch proposal: it restores the use of the AggregateSortObserver for the following common and important special case: - the input data is not already in sorted order - the GROUP BY does not use ROLLUP - the GROUP BY does not use distinct aggregates The patch is also up to date with current trunk, and resolves some merge conflicts. This revised patch passes all the regression tests, including the new ROLLUP tests. More importantly, this revised patch matches the current trunk in performance on the DERBY-4363 benchmark of GROUP BY performance. I still have to investigate the other issues raised during the previous round of code review, but this patch seemed to be at a state worth posting so here it is. > Add support for GROUP BY ROLLUP > ------------------------------- > > Key: DERBY-3002 > URL: https://issues.apache.org/jira/browse/DERBY-3002 > Project: Derby > Issue Type: Improvement > Components: SQL > Affects Versions: 10.4.1.3 > Reporter: Bryan Pendleton > Assignee: Bryan Pendleton > Priority: Minor > Attachments: fixWhiteSpace.diff, IncludesASimpleTest.diff, passesRegressionTests.diff, prototypeChangeNoTests.diff, rewriteGroupByRS.diff, rollupNullability.diff, UpdateToTrunkSep2009.diff, useAggregateObserver.diff, useLookahead.diff > > > Provide an implementation of the ROLLUP form of multi-dimensional grouping according to the SQL standard. > See http://wiki.apache.org/db-derby/OLAPRollupLists for some more detailed information about this aspect of the SQL standard. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.