sanpwc commented on a change in pull request #502:
URL: https://github.com/apache/ignite-3/pull/502#discussion_r768379487



##########
File path: 
modules/client/src/test/java/org/apache/ignite/client/AbstractClientTableTest.java
##########
@@ -119,7 +119,9 @@ protected static Tuple allColumnsTableVal(String name) {
     }
 
     protected Table fullTable() {
-        server.tables().createTableIfNotExists(TABLE_ALL_COLUMNS, tbl -> 
tbl.changeReplicas(1));
+        if (server.tables().table(TABLE_ALL_COLUMNS) == null) {
+            server.tables().createTable(TABLE_ALL_COLUMNS, tbl -> 
tbl.changeReplicas(1));

Review comment:
       Seems that option with ignoring TableAlreadyExists will be a bit faster 
than explicit `if (server.tables().table(TABLE_ALL_COLUMNS) == null)` , what do 
you think?




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