sanpwc commented on code in PR #5081:
URL: https://github.com/apache/ignite-3/pull/5081#discussion_r1925868416


##########
modules/runner/src/integrationTest/java/org/apache/ignite/internal/benchmark/AbstractMultiNodeBenchmark.java:
##########
@@ -90,25 +89,31 @@ public void nodeSetUp() throws Exception {
         startCluster();
 
         try {
-            var queryEngine = igniteImpl.queryEngine();
-
-            var createZoneStatement = "CREATE ZONE IF NOT EXISTS " + ZONE_NAME 
+ " WITH partitions=" + partitionCount()
-                    + ", replicas=" + replicaCount() + ", storage_profiles ='" 
+ DEFAULT_STORAGE_PROFILE + "'";
+            // Create a new zone on the cluster's start-up.
+            createDistributionZoneOnStartup();
 
-            getAllFromCursor(
-                    await(queryEngine.queryAsync(
-                            SqlPropertiesHelper.emptyProperties(), 
igniteImpl.observableTimeTracker(), null, null, createZoneStatement
-                    ))
-            );
-
-            createTable(TABLE_NAME);
+            // Create a default table on the cluster's start-up.

Review Comment:
   To be honest I'd just skip "default". It's just confusing. Up to you. 



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