You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "singhpk234 (via GitHub)" <gi...@apache.org> on 2026/08/24 16:31:21 UTC
Re: [PR] API: Add SupportsReferencedBy interface [iceberg]
singhpk234 commented on code in PR #15895:
URL: https://github.com/apache/iceberg/pull/15895#discussion_r3845452553
##########
api/src/main/java/org/apache/iceberg/catalog/SessionCatalog.java:
##########
@@ -222,6 +196,20 @@ default boolean tableExists(SessionContext context, TableIdentifier ident) {
*/
Table loadTable(SessionContext context, TableIdentifier ident);
+ /**
+ * Load a table with the referenced-by view chain.
+ *
+ * @param context session context
+ * @param ident a table identifier
+ * @param referencedBy ordered list of view identifiers from outermost to innermost
+ * @return instance of {@link Table} implementation referred by {@code ident}
+ * @throws NoSuchTableException if the table does not exist
+ */
+ default Table loadTable(
+ SessionContext context, TableIdentifier ident, List<TableIdentifier> referencedBy) {
Review Comment:
Added a typed Object with defined fields, let me know wdyt ?
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org