drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nagarajanchinnasamy <...@git.apache.org>
Subject [GitHub] drill pull request #685: Drill 5043: Function that returns a unique id per s...
Date Fri, 23 Dec 2016 16:09:21 GMT
Github user nagarajanchinnasamy commented on a diff in the pull request:

    https://github.com/apache/drill/pull/685#discussion_r93780471
  
    --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/ops/FragmentContext.java
---
    @@ -141,7 +141,7 @@ public FragmentContext(final DrillbitContext dbContext, final PlanFragment
fragm
         this.accountingUserConnection = new AccountingUserConnection(connection, sendingAccountor,
statusHandler);
         this.fragment = fragment;
         this.funcRegistry = funcRegistry;
    -    contextInformation = new ContextInformation(fragment.getCredentials(), fragment.getContext());
    +    contextInformation = new ContextInformation(fragment.getCredentials(), fragment.getContext(),
connection.getSession().getSessionId());
    --- End diff --
    
    accessing `connection` results into NPE for non-root fragment contexts.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message