hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gopal Vijayaraghavan <gop...@apache.org>
Subject Re: Hive Cli ORC table read error with limit option
Date Fri, 04 Mar 2016 18:51:30 GMT

> Any one has any idea about this.. Really stuck with this.
...
> hive> select h from testdb.table_orc where year = 2016 and month =1 and
>day >29 limit 10;

Depends on whether any of those columns are paritition columns or not &
whether the table is marked transactional.

> Caused by: java.lang.IndexOutOfBoundsException: Index: 0
> at java.util.Collections$EmptyList.get(Collections.java:3212)
> at 
>org.apache.hadoop.hive.ql.io.orc.OrcProto$Type.getSubtypes(OrcProto.java:1
>2240)

If you need answers to rare problems, these emails need at least the table
format ("desc formatted").


Usually that and a copy of --orcfiledump output to check the offsets/types.

Cheers,
Gopal



Mime
View raw message