RussellSpitzer commented on code in PR #6365:
URL: https://github.com/apache/iceberg/pull/6365#discussion_r1052767346


##########
core/src/test/java/org/apache/iceberg/hadoop/TestStaticTable.java:
##########
@@ -71,11 +71,20 @@ public void testCannotDoIncrementalScanOnMetadataTable() {
 
     for (MetadataTableType type : MetadataTableType.values()) {
       Table staticTable = getStaticTable(type);
-      AssertHelpers.assertThrows(
-          "Static tables do not support incremental scans",
-          UnsupportedOperationException.class,
-          String.format("Cannot incrementally scan table of type %s", type),
-          () -> staticTable.newScan().appendsAfter(1));
+
+      if (type.equals(MetadataTableType.POSITION_DELETES)) {
+        AssertHelpers.assertThrows(
+            "POSITION_DELETES table does not support TableScan",

Review Comment:
   We could support this though right?



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