You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Yongzhi Chen (JIRA)" <ji...@apache.org> on 2016/03/02 20:48:18 UTC

[jira] [Commented] (HIVE-13182) row process cause ArrayIndexOutOfBoundsException

    [ https://issues.apache.org/jira/browse/HIVE-13182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15176342#comment-15176342 ] 

Yongzhi Chen commented on HIVE-13182:
-------------------------------------

The issue is not reproducible in current master branch(2.1.0), the query finished with returning values:
{noformat}
+-------------+---------------------------------------+---------------+----------------------+--+
1 row selected (22.884 seconds)
16/03/02 14:40:43 DEBUG TSaslTransport: writing data length: 117
|  a.date_id  |                a.gu_id                | a.sub_mct_id  |     a.track_time     |
+-------------+---------------------------------------+---------------+----------------------+--+
| 2016-02-22  | 00000000-0006-d31e-ffff-ffffa4b4eb18  | 110456        | 2016-02-22 06:56:12  |
+-------------+---------------------------------------+---------------+----------------------+--+
{noformat}

> 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  hive on mr
>            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 is right, 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)