[ 
https://issues.apache.org/jira/browse/ORC-598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Krisztian Kasa updated ORC-598:
-------------------------------
    Attachment: bigarray.orc

> Unable to read ORC file with struct and array.length > 1024
> -----------------------------------------------------------
>
>                 Key: ORC-598
>                 URL: https://issues.apache.org/jira/browse/ORC-598
>             Project: ORC
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: 1.5.1, 1.6.2
>            Reporter: Krisztian Kasa
>            Assignee: Krisztian Kasa
>            Priority: Major
>         Attachments: bigarray.orc
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> *Repro*
> {code:java}
> CREATE EXTERNAL TABLE t1(
> `insurance_application` 
> struct<`floor`:array<struct<`room`:array<struct<`attribute`:array<struct<`timevalue`:timestamp,integervalue:int,booleanvalue:boolean,datevalue:date,decimalvalue:decimal(20,10),stringvalue:string,businessval:string,displayval:string>>>>>>>)
> stored as orc location '<location of orc file>';
> select * from t1;
> {code}
> when total elements in "attribute" array is more then 1024
> {code:java}
> Error: java.io.IOException: java.lang.ArrayIndexOutOfBoundsException: 1024 
> (state=,code=0)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to