tkalkirill commented on code in PR #13736:
URL: https://github.com/apache/ignite/pull/13736#discussion_r4514176317


##########
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/schema/IgniteStatisticsImpl.java:
##########
@@ -25,21 +27,33 @@
 import org.apache.calcite.schema.Statistic;
 import org.apache.calcite.util.ImmutableBitSet;
 import org.apache.ignite.IgniteCheckedException;
-import org.apache.ignite.cache.CachePeekMode;
+import org.apache.ignite.cluster.ClusterNode;
+import org.apache.ignite.internal.IgniteInternalFuture;
+import org.apache.ignite.internal.processors.cache.GridCacheContext;
 import 
org.apache.ignite.internal.processors.query.calcite.trait.IgniteDistribution;
 import org.apache.ignite.internal.processors.query.stat.ColumnStatistics;
 import org.apache.ignite.internal.processors.query.stat.ObjectStatisticsImpl;
+import 
org.apache.ignite.internal.processors.query.stat.StatisticsCacheSizeTask;
+import org.jetbrains.annotations.Nullable;
+
+import static 
org.apache.ignite.internal.processors.task.TaskExecutionOptions.options;
 
 /** Calcite statistics wrapper. */
 public class IgniteStatisticsImpl implements Statistic {
     /** */
     private static final int STATS_CLI_UPDATE_THRESHOLD = 200;
 
+    /** */
+    private static final long LOCAL_CACHE_SIZE_TIMEOUT = 1_000;
+
+    /** */
+    private static final long DFLT_ROW_CNT = 1_000;
+
     /** */
     AtomicInteger cliReqCnt = new AtomicInteger();
 
     /** */
-    private volatile long primaryRowCnt;
+    private volatile long primaryRowCnt = DFLT_ROW_CNT;

Review Comment:
   Thanks, I hadn't noticed that; I've fixed it.



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