coded9 commented on code in PR #13143:
URL: https://github.com/apache/iceberg/pull/13143#discussion_r2159971727


##########
core/src/test/java/org/apache/iceberg/catalog/CatalogTests.java:
##########
@@ -959,6 +959,16 @@ public void testLoadMissingTable() {
         .hasMessageStartingWith("Table does not exist: ns.tbl");
   }
 
+  @Test
+  public void testLoadTableWithMissingMetadatafile() {
+    C catalog = catalog();
+
+    assertThat(catalog.tableExists(TBL)).as("Table should not 
exist").isFalse();
+    assertThatThrownBy(() -> catalog.loadTable(TBL))
+        .isInstanceOf(NoSuchTableException.class)

Review Comment:
   Fixed it.



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