Uploaded image for project: 'ORC'
  1. ORC
  2. ORC-1588

Fix incorrect Decimal assert in LeafFilterFactory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.7.0, 2.0.0, 1.7.10, 1.9.2, 1.8.6
    • 2.0.0
    • None
    • None

    Description

      Due to the incorrect assertion, `ArrayIndexOutOfBoundsException` happens.

      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)
      

      Attachments

        Issue Links

          Activity

            People

              dzcxzl dzcxzl
              dzcxzl dzcxzl
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: