You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Krisztian Kasa (Jira)" <ji...@apache.org> on 2020/02/12 20:25:00 UTC
[jira] [Assigned] (ORC-598) Unable to read ORC file with struct and
array.length > 1024
[ https://issues.apache.org/jira/browse/ORC-598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Krisztian Kasa reassigned ORC-598:
----------------------------------
Assignee: Krisztian Kasa
> 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
> 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)