tledkov-gridgain commented on a change in pull request #403:
URL: https://github.com/apache/ignite-3/pull/403#discussion_r732810672



##########
File path: 
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/SqlQueryProcessor.java
##########
@@ -78,12 +82,14 @@ public SqlQueryProcessor(
             taskExecutor
         );
 
-        SchemaHolderImpl schemaHolder = new SchemaHolderImpl();
+        QueryPlanCache cache = new QueryPlanCacheImpl(PLAN_CACHE_SIZE);

Review comment:
       The `QueryPlanCache` is created by the SqlQueryProcessor. Should the 
SqlQueryProcessor be owner of the query plan cache and manage the lifecycle of 
one?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to