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

Dongjoon Hyun closed ORC-1588.
------------------------------

> Fix incorrect Decimal assert in LeafFilterFactory
> -------------------------------------------------
>
>                 Key: ORC-1588
>                 URL: https://issues.apache.org/jira/browse/ORC-1588
>             Project: ORC
>          Issue Type: Improvement
>    Affects Versions: 1.7.0, 2.0.0, 1.7.10, 1.9.2, 1.8.6
>            Reporter: dzcxzl
>            Assignee: dzcxzl
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> Due to the incorrect assertion, `ArrayIndexOutOfBoundsException` happens.
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: Index -2 out of bounds 
> for length 19
>       at 
> org.apache.hadoop.hive.common.type.FastHiveDecimalImpl.fastSerialize64(FastHiveDecimalImpl.java:2205)
>       at 
> org.apache.hadoop.hive.common.type.FastHiveDecimal.fastSerialize64(FastHiveDecimal.java:290)
>       at 
> org.apache.hadoop.hive.serde2.io.HiveDecimalWritable.serialize64(HiveDecimalWritable.java:537)
>       at 
> org.apache.orc.impl.filter.leaf.LeafFilterFactory.createBetweenFilter(LeafFilterFactory.java:165)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to