Github user adeneche commented on a diff in the pull request:

    https://github.com/apache/drill/pull/160#discussion_r39758626
  
    --- Diff: 
exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/xsort/ExternalSortBatch.java
 ---
    @@ -478,28 +498,36 @@ public BatchGroup 
mergeAndSpill(LinkedList<BatchGroup> batchGroups) throws Schem
             break;
           }
           BatchGroup batch = batchGroups.pollLast();
    +      assert batch != null;
    --- End diff --
    
    please add a message to the assertion, it will make our life easier if this 
assertion throws


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to