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

    https://github.com/apache/drill/pull/729#discussion_r100676723
  
    --- Diff: 
exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/InternalBatch.java
 ---
    @@ -88,4 +91,7 @@ public void clear() {
         return container.getValueAccessorById(clazz, fieldIds);
       }
     
    +  public FragmentContext getContext() {
    +    return incoming.getContext();
    --- End diff --
    
    OK, so we hold onto the incoming batch just to get the FragmentContext. If 
so, please pass the FragmentContext into the constructor of this class rather 
than passing in the (irrelevant) incoming batch.


---
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