Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-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 F26C3104B0 for ; Thu, 27 Jun 2013 01:44:22 +0000 (UTC) Received: (qmail 19533 invoked by uid 500); 27 Jun 2013 01:44:22 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 19296 invoked by uid 500); 27 Jun 2013 01:44:22 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 19282 invoked by uid 500); 27 Jun 2013 01:44:22 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 19278 invoked by uid 99); 27 Jun 2013 01:44:22 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jun 2013 01:44:22 +0000 Date: Thu, 27 Jun 2013 01:44:22 +0000 (UTC) From: "Irwin (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-3552) HIVE-3552 performant manner for performing cubes/rollups/grouping sets for a high number of grouping set keys MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-3552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694416#comment-13694416 ] Irwin commented on HIVE-3552: ----------------------------- I have tested for cubes and rollups, but failed. My table is:t1,formatted followes: The error message is: I have tried to use hive-0.10.0 and hive-0.11.0, and the error is same. Why I cannot use Enhanced Aggregation, Cube, Grouping and Rollup? Any one help? thanks! > HIVE-3552 performant manner for performing cubes/rollups/grouping sets for a high number of grouping set keys > ------------------------------------------------------------------------------------------------------------- > > Key: HIVE-3552 > URL: https://issues.apache.org/jira/browse/HIVE-3552 > Project: Hive > Issue Type: New Feature > Components: Query Processor > Reporter: Namit Jain > Assignee: Namit Jain > Fix For: 0.11.0 > > Attachments: hive.3552.10.patch, hive.3552.11.patch, hive.3552.12.patch, hive.3552.1.patch, hive.3552.2.patch, hive.3552.3.patch, hive.3552.4.patch, hive.3552.5.patch, hive.3552.6.patch, hive.3552.7.patch, hive.3552.8.patch, hive.3552.9.patch > > > This is a follow up for HIVE-3433. > Had a offline discussion with Sambavi - she pointed out a scenario where the > implementation in HIVE-3433 will not scale. Assume that the user is performing > a cube on many columns, say '8' columns. So, each row would generate 256 rows > for the hash table, which may kill the current group by implementation. > A better implementation would be to add an additional mr job - in the first > mr job perform the group by assuming there was no cube. Add another mr job, where > you would perform the cube. The assumption is that the group by would have > decreased the output data significantly, and the rows would appear in the order of > grouping keys which has a higher probability of hitting the hash table. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira