You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2022/01/26 17:30:33 UTC

[GitHub] [iceberg] bryanck commented on a change in pull request #3955: Spec: Add REST basics for TableOperations

bryanck commented on a change in pull request #3955:
URL: https://github.com/apache/iceberg/pull/3955#discussion_r792878396



##########
File path: rest_docs/rest-catalog-open-api.yaml
##########
@@ -814,6 +1423,34 @@ components:
                   Server's do not need to implement this.
                 nullable: true
 
+    LoadTableResponse:
+      description: Table metadata result when loading a table
+      content:
+        application/json:
+          schema:
+            type: object
+            required:
+              - metadata
+            properties:
+              config:
+                type: object
+                additionalProperties:
+                  type: string
+              metadata:
+                $ref: '#/components/schemas/TableMetadata'
+
+    CommitTableResponse:

Review comment:
       Do we want to specify the transaction type someplace, e.g. simple, create_table, replace_table, etc.? Alternatively that could go in a token claim or something similar. For example, if there are two create table (without replace) transactions started at the same time, then the first one commits. When the second one commits, a catalog may want to prevent the replace from happening if it wasn't specified.




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