rdblue commented on a change in pull request #2617:
URL: https://github.com/apache/iceberg/pull/2617#discussion_r655767760
##########
File path: core/src/test/java/org/apache/iceberg/hadoop/TestStaticTable.java
##########
@@ -60,6 +60,19 @@ public void testCannotBeDeletedFrom() {
() -> staticTable.newDelete().deleteFile(FILE_A).commit());
}
+ @Test
+ public void testCannotDoIncrementalScanOnMetadataTable() {
+ table.newAppend().appendFile(FILE_A).commit();
+
+ for (MetadataTableType type : MetadataTableType.values()) {
+ Table staticTable = getStaticTable(type);
+ AssertHelpers.assertThrows("Static tables do not currently support
incremental scans",
Review comment:
I think that a better place for this test is now
`TestMetadataTableScans` since it supports all metadata tables. Also, the
context message still says "Static tables . . .".
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]