Github user paul-rogers commented on a diff in the pull request:

    https://github.com/apache/drill/pull/1144#discussion_r179023079
  
    --- Diff: 
exec/vector/src/main/java/org/apache/drill/exec/vector/accessor/writer/BaseScalarWriter.java
 ---
    @@ -211,7 +211,7 @@ protected boolean canExpand(int delta) {
     
       protected void overflowed() {
         if (listener == null) {
    -      throw new IndexOutOfBoundsException("Overflow not supported");
    +      throw new UnsupportedOperationException("Overflow not supported");
    --- End diff --
    
    Maybe change to `OversizedAllocationException`. See 
`FixedValueVectors.setInitialCapacity()`.


---

Reply via email to