ajantha-bhat commented on code in PR #11216:
URL: https://github.com/apache/iceberg/pull/11216#discussion_r1968046827


##########
core/src/test/java/org/apache/iceberg/TestTables.java:
##########
@@ -79,17 +79,7 @@ public static TestTable create(
       PartitionSpec spec,
       SortOrder sortOrder,
       int formatVersion) {
-    TestTableOperations ops = new TestTableOperations(name, temp);
-    if (ops.current() != null) {
-      throw new AlreadyExistsException("Table %s already exists at location: 
%s", name, temp);
-    }
-
-    ops.commit(
-        null,
-        newTableMetadata(
-            schema, spec, sortOrder, temp.toString(), ImmutableMap.of(), 
formatVersion));
-
-    return new TestTable(ops, name);
+    return createTable(temp, name, schema, spec, formatVersion, 
ImmutableMap.of(), sortOrder, null);

Review Comment:
   This function came from latest rebase. Someone added it as they wanted to 
properties.
   
   Updated 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: issues-unsubscr...@iceberg.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to