anoopj commented on code in PR #13570:
URL: https://github.com/apache/iceberg/pull/13570#discussion_r2211791069


##########
core/src/test/java/org/apache/iceberg/TestScansAndSchemaEvolution.java:
##########
@@ -182,4 +183,77 @@ public void testAddColumnWithDefaultValueAndQuery() throws 
IOException {
               
assertThat(categoryFieldInTask.writeDefault()).isEqualTo(defaultValue);
             });
   }
+
+  @TestTemplate
+  public void testAddColumnWithDefaultValueAndPartitionTransform() throws 
IOException {
+    assumeThat(V3_AND_ABOVE).as("Default values require 
v3+").contains(formatVersion);
+    File location = Files.createTempDirectory(temp, "junit").toFile();
+    assertThat(location.delete()).isTrue(); // should be created by table 
create

Review Comment:
   Much cleaner. Thanks!



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