aokolnychyi commented on code in PR #8381:
URL: https://github.com/apache/iceberg/pull/8381#discussion_r1308062007
##########
core/src/test/java/org/apache/iceberg/hadoop/TestHadoopCatalog.java:
##########
@@ -127,6 +129,40 @@ public void testReplaceTxnBuilder() throws Exception {
.containsEntry("key2", "value2");
}
+ @Test
+ public void testReplaceTxnBuilderDefaultFormatVersion() throws Exception {
+ HadoopCatalog catalog = hadoopCatalog();
+ TableIdentifier tableIdent = TableIdentifier.of("db", "ns1", "ns2", "tbl");
+
+ Transaction createTxn =
+ catalog
+ .buildTable(tableIdent, SCHEMA)
+ .withPartitionSpec(SPEC)
+ .withProperty("key1", "value1")
+ .createOrReplaceTransaction();
+
+ createTxn.newAppend().appendFile(FILE_A).commit();
Review Comment:
I refactored all applicable tests to run against both versions.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]