wmoustafa commented on code in PR #9830:
URL: https://github.com/apache/iceberg/pull/9830#discussion_r3462244567
##########
api/src/main/java/org/apache/iceberg/view/ViewVersion.java:
##########
@@ -78,4 +79,15 @@ default String defaultCatalog() {
/** The default namespace to use when the SQL does not contain a namespace.
*/
Namespace defaultNamespace();
+
+ /**
+ * The storage table identifier for materialized views.
+ *
+ * <p>When null, the entity is a regular view. When set, the entity is a
materialized view and
+ * this identifies the storage table that holds the precomputed data. The
storage table must be in
+ * the same catalog as the materialized view.
+ */
+ default TableIdentifier storageTable() {
Review Comment:
As discussed in the other comment, the spec treats the storage table as a
first class object. I think we should keep the abstraction as `TableIdentifier`.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]