danielcweeks commented on code in PR #15830:
URL: https://github.com/apache/iceberg/pull/15830#discussion_r3119667768
##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -3787,6 +3941,156 @@ components:
additionalProperties:
type: string
+ LoadTableRelationResult:
+ description: |
+ Table branch of `LoadRelationResult`.
+ The `table` field contains the same payload as `LoadTableResult`.
+ type: object
+ required:
+ - object-type
+ - table
+ properties:
+ object-type:
+ type: string
+ const: table
+ table:
+ $ref: '#/components/schemas/LoadTableResult'
+
+ LoadViewRelationResult:
+ description: |
+ View branch of `LoadRelationResult`.
+ The `view` field contains the same payload as `LoadViewResult`.
+ type: object
+ required:
+ - object-type
+ - view
+ properties:
+ object-type:
+ type: string
+ const: view
+ view:
+ $ref: '#/components/schemas/LoadViewResult'
+
+ LoadRelationResult:
Review Comment:
No, I don't think we would have a new type. It would just have a
storage-table associated with it, which is what makes it a materialized view.
I'm not sure we need a separate type.
--
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]