[
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)