Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-1111

IllegalArgumentException for TPCH 10 on scale factor SF100

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • None
    • None

    Description

      TPCH 10 on SF100 scale factor gives an IllegalArgumentException when attempting to output keys from the hash table:

      java.lang.IllegalArgumentException: length: -3276780 (expected: >= 0)
      at io.netty.buffer.AbstractByteBuf.checkIndex(AbstractByteBuf.java:1127) ~[netty-buffer-4.0.7.Final.jar:na]
      at io.netty.buffer.PooledUnsafeDirectByteBufL.getBytes(PooledUnsafeDirectByteBufL.java:120) ~[drill-buffers-1.0.0-m2-incubating-SNAPSHOT.jar:na]
      at org.apache.drill.exec.memory.AccountingByteBuf.getBytes(AccountingByteBuf.java:322) ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
      at org.apache.drill.exec.vector.VarBinaryVector$Mutator.setSafe(VarBinaryVector.java:472) ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
      at org.apache.drill.exec.vector.NullableVarBinaryVector$Mutator.setSafe(NullableVarBinaryVector.java:429) ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
      at org.apache.drill.exec.test.generated.HashTableGen44$BatchHolder.outputRecordKeys(HashTableTemplate.java:1368) ~[na:na]
      at org.apache.drill.exec.test.generated.HashTableGen44$BatchHolder.outputKeys(HashTableTemplate.java:265) ~[na:na]
      at org.apache.drill.exec.test.generated.HashTableGen44$BatchHolder.access$1400(HashTableTemplate.java:97) ~[na:na]
      at org.apache.drill.exec.test.generated.HashTableGen44.outputKeys(HashTableTemplate.java:627) ~[na:na]
      at org.apache.drill.exec.test.generated.HashAggregatorGen43.outputCurrentBatch(HashAggTemplate.java:439) ~[na:na]
      at org.apache.drill.exec.test.generated.HashAggregatorGen43.doWork(HashAggTemplate.java:293) ~[na:na]
      at org.apache.drill.exec.physical.impl.aggregate.HashAggBatch.innerNext(HashAggBatch.java:140) ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHO

      Attachments

        1. 0001-DRILL-1111.patch
          28 kB
          Aman Sinha

        Activity

          People

            DrillCommitter DrillCommitter
            amansinha100 Aman Sinha
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: