korlov42 commented on code in PR #1550:
URL: https://github.com/apache/ignite-3/pull/1550#discussion_r1082287428


##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/exec/ExecutionServiceImpl.java:
##########
@@ -83,6 +86,13 @@
  * ExecutionServiceImpl. TODO Documentation 
https://issues.apache.org/jira/browse/IGNITE-15859
  */
 public class ExecutionServiceImpl<RowT> implements ExecutionService, 
TopologyEventHandler {
+    private static final int CACHE_SIZE = 1024;
+
+    private static final ConcurrentMap<String, IgniteRel> PHYS_NODES_REPR = 
Caffeine.newBuilder()

Review Comment:
   honestly speaking, I'm not sure this cache should be static. This can affect 
the tests in an undesirable way, with no real benefit



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to