Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0EA5C19863 for ; Thu, 7 Apr 2016 22:03:27 +0000 (UTC) Received: (qmail 1295 invoked by uid 500); 7 Apr 2016 22:03:26 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 1150 invoked by uid 500); 7 Apr 2016 22:03:26 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 1115 invoked by uid 99); 7 Apr 2016 22:03:26 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Apr 2016 22:03:26 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B9ADB2C1F68 for ; Thu, 7 Apr 2016 22:03:25 +0000 (UTC) Date: Thu, 7 Apr 2016 22:03:25 +0000 (UTC) From: "Sergey Shelukhin (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-13282) GroupBy and select operator encounter ArrayIndexOutOfBoundsException 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-13282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15231180#comment-15231180 ] Sergey Shelukhin commented on HIVE-13282: ----------------------------------------- This is targeting 2.0.1 but has no patch. Should it be moved out to 2.1.0? > GroupBy and select operator encounter ArrayIndexOutOfBoundsException > -------------------------------------------------------------------- > > Key: HIVE-13282 > URL: https://issues.apache.org/jira/browse/HIVE-13282 > Project: Hive > Issue Type: Bug > Components: Query Processor > Affects Versions: 1.2.1, 2.0.0, 2.1.0 > Reporter: Vikram Dixit K > Assignee: Vikram Dixit K > > The group by and select operators run into the ArrayIndexOutOfBoundsException when they incorrectly initialize themselves with tag 0 but the incoming tag id is different. > {code} > select count(*) from > (select rt1.id from > (select t1.key as id, t1.value as od from tab t1 group by key, value) rt1) vt1 > join > (select rt2.id from > (select t2.key as id, t2.value as od from tab_part t2 group by key, value) rt2) vt2 > where vt1.id=vt2.id; > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)