nastra commented on code in PR #19143:
URL: https://github.com/apache/iceberg/pull/19143#discussion_r4797335881


##########
core/src/test/java/org/apache/iceberg/catalog/CatalogTests.java:
##########
@@ -935,6 +935,47 @@ public void testCreateTableWithDefaultColumnValue() {
     
assertThat(schemaWithDefault.asStruct()).isEqualTo(catalog.loadTable(TBL).schema().asStruct());
   }
 
+  @Test
+  public void testNonFiniteColumnDefaults() {
+    C catalog = catalog();
+
+    if (requiresNamespaceCreate()) {
+      catalog.createNamespace(TBL.namespace());
+    }
+
+    catalog
+        .buildTable(TBL, SCHEMA)
+        .withLocation(baseTableLocation(TBL))
+        .withProperty(TableProperties.FORMAT_VERSION, "3")

Review Comment:
   I don't think we need catalog tests at all for this fix. Having tests in 
`TestSingleValueParser` should be enough and covers everything that is affected



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

Reply via email to