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 4437518B4D for ; Mon, 29 Feb 2016 07:04:18 +0000 (UTC) Received: (qmail 19166 invoked by uid 500); 29 Feb 2016 07:04:18 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 19138 invoked by uid 500); 29 Feb 2016 07:04:18 -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 19116 invoked by uid 99); 29 Feb 2016 07:04:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Feb 2016 07:04:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 15A2B2C1F55 for ; Mon, 29 Feb 2016 07:04:18 +0000 (UTC) Date: Mon, 29 Feb 2016 07:04:18 +0000 (UTC) From: "tangjunjie (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-13182) row process cause 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-13182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] tangjunjie updated HIVE-13182: ------------------------------ Description: I run query , then cause ArrayIndexOutOfBoundsException,For detail see attachment. I digg into the code. {code:title=GenMapRedUtils.java|borderStyle=solid} //parent.getSchema() is (_col0:string,_col3:string) and parent is FilterOperator I don't think that isright, it shoulde be (_col0:string,_col1:bigint,_col2:bigint,_col3:string) TableDesc tt_desc = PlanUtils.getIntermediateFileTableDesc(PlanUtils .getFieldSchemasFromRowSchema(parent.getSchema(), "temporarycol")); {code} was: I run query , then cause ArrayIndexOutOfBoundsException,For detail see attachment. I digg into the code. {code:title=GenMapRedUtils.java|borderStyle=solid} //parent.getSchema() is (_col0:string,_col3:string) that's not right, it shoulde be (_col0:string,_col1:bigint,_col2:bigint,_col3:string) TableDesc tt_desc = PlanUtils.getIntermediateFileTableDesc(PlanUtils .getFieldSchemasFromRowSchema(parent.getSchema(), "temporarycol")); {code} > row process cause ArrayIndexOutOfBoundsException > ------------------------------------------------ > > Key: HIVE-13182 > URL: https://issues.apache.org/jira/browse/HIVE-13182 > Project: Hive > Issue Type: Bug > Components: Hive > Affects Versions: 1.1.0 > Environment: hadoop 2.6.0 > Reporter: tangjunjie > Attachments: error.txt, rpt_click.hql, sampledata.txt > > > I run query , then cause ArrayIndexOutOfBoundsException,For detail see attachment. > I digg into the code. > {code:title=GenMapRedUtils.java|borderStyle=solid} > //parent.getSchema() is (_col0:string,_col3:string) and parent is FilterOperator I don't think that isright, it shoulde be (_col0:string,_col1:bigint,_col2:bigint,_col3:string) > TableDesc tt_desc = PlanUtils.getIntermediateFileTableDesc(PlanUtils > .getFieldSchemasFromRowSchema(parent.getSchema(), "temporarycol")); > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)