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 74E9A9533 for ; Thu, 14 Mar 2013 00:56:14 +0000 (UTC) Received: (qmail 31563 invoked by uid 500); 14 Mar 2013 00:56:13 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 31518 invoked by uid 500); 14 Mar 2013 00:56:13 -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 31447 invoked by uid 500); 14 Mar 2013 00:56:13 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 31421 invoked by uid 99); 14 Mar 2013 00:56:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Mar 2013 00:56:13 +0000 Date: Thu, 14 Mar 2013 00:56:13 +0000 (UTC) From: "Phabricator (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-4041) Support multiple partitionings in a single Query 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-4041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13601919#comment-13601919 ] Phabricator commented on HIVE-4041: ----------------------------------- ashutoshc has commented on the revision "HIVE-4041 [jira] Support multiple partitionings in a single Query". First pass through patch. Some initial questions. INLINE COMMENTS ql/src/java/org/apache/hadoop/hive/ql/optimizer/ReduceSinkDeDuplication.java:415 Why do we need to do this null check here ? ql/src/java/org/apache/hadoop/hive/ql/optimizer/ReduceSinkDeDuplication.java:425 Same question. ql/src/java/org/apache/hadoop/hive/ql/parse/PTFTranslator.java:482 This will set Order on all queries ? Consider query like sum(i) over (partition by si) ... this doesn't need an ordering, right ? ql/src/java/org/apache/hadoop/hive/ql/optimizer/ColumnPrunerProcFactory.java:212 Why do we need to change this function? REVISION DETAIL https://reviews.facebook.net/D9381 To: JIRA, ashutoshc, hbutani > Support multiple partitionings in a single Query > ------------------------------------------------ > > Key: HIVE-4041 > URL: https://issues.apache.org/jira/browse/HIVE-4041 > Project: Hive > Issue Type: Bug > Components: PTF-Windowing > Reporter: Harish Butani > Assignee: Harish Butani > Attachments: HIVE-4041.D9381.1.patch, WindowingComponentization.pdf > > > Currently we disallow queries if the partition specifications of all Wdw fns are not the same. We can relax this by generating multiple PTFOps based on the unique partitionings in a Query. For partitionings that only differ in sort, we can introduce a sort step in between PTFOps, which can happen in the same Reduce task. -- 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