nastra commented on code in PR #9477: URL: https://github.com/apache/iceberg/pull/9477#discussion_r1452221527
########## nessie/src/main/java/org/apache/iceberg/nessie/NessieIcebergClient.java: ########## @@ -195,6 +195,14 @@ private TableIdentifier toIdentifier(EntriesResponse.Entry entry) { return TableIdentifier.of(elements.toArray(new String[elements.size()])); } + public IcebergTable table(TableIdentifier tableIdentifier) { + return (IcebergTable) fetchContent(tableIdentifier); Review Comment: before casting I wonder whether this should actually check whether this is actually a table and throw an error if not -- 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