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

    https://github.com/apache/drill/pull/527#discussion_r73764478
  
    --- Diff: 
exec/java-exec/src/main/java/org/apache/drill/exec/ops/QueryContext.java ---
    @@ -97,7 +94,7 @@ public QueryContext(final UserSession session, final 
DrillbitContext drillbitCon
             plannerSettings.getPlanningMemoryLimit());
         bufferManager = new BufferManagerImpl(this.allocator);
         viewExpansionContext = new ViewExpansionContext(this);
    -    schemaTreesToClose = Lists.newArrayList();
    +    schemaTreeProvider = new SchemaTreeProvider(drillbitContext);
    --- End diff --
    
    Does this need to be created once per query? Can one instance live in 
Drillbit or UserSession?


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

Reply via email to