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 AC027E428 for ; Sun, 17 Mar 2013 21:55:16 +0000 (UTC) Received: (qmail 44968 invoked by uid 500); 17 Mar 2013 21:55:16 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 44904 invoked by uid 500); 17 Mar 2013 21:55:15 -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 44895 invoked by uid 500); 17 Mar 2013 21:55:15 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 44891 invoked by uid 99); 17 Mar 2013 21:55:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Mar 2013 21:55:15 +0000 Date: Sun, 17 Mar 2013 21:55:15 +0000 (UTC) From: "Harish Butani (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-4186) NPE in ReduceSinkDeDuplication 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-4186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13604763#comment-13604763 ] Harish Butani commented on HIVE-4186: ------------------------------------- its attached. > NPE in ReduceSinkDeDuplication > ------------------------------ > > Key: HIVE-4186 > URL: https://issues.apache.org/jira/browse/HIVE-4186 > Project: Hive > Issue Type: Bug > Components: Query Processor > Reporter: Harish Butani > Attachments: HIVE-4186.1.patch.txt, HIVE-4186.2.patch.txt > > > When you have a sequence of RedueSinks on constants you get this error: > {noformat} > java.lang.NullPointerException > at org.apache.hadoop.hive.ql.optimizer.ReduceSinkDeDuplication$ReduceSinkDeduplicateProcFactory$ReducerReducerProc.getPartitionAndKeyColumnMapping(ReduceSinkDeDuplication.java:416) > {noformat} > The e.g. to generate this si: > {noformat} > select p_name from (select p_name from part distribute by 1 sort by 1) p distribute by 1 sort by 1 > {noformat} > Sorry for the contrived e.g., but this actually happens when we stack windowing clauses (see PTF-Windowing branch) -- 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