You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by et...@apache.org on 2023/10/04 15:49:42 UTC

[iceberg] branch assign-uuid-openapi-spec created (now 7df9e28f0b)

This is an automated email from the ASF dual-hosted git repository.

etudenhoefner pushed a change to branch assign-uuid-openapi-spec
in repository https://gitbox.apache.org/repos/asf/iceberg.git


      at 7df9e28f0b OpenAPI: Add AssignUUID update to metadata updates

This branch includes the following new commits:

     new 7df9e28f0b OpenAPI: Add AssignUUID update to metadata updates

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[iceberg] 01/01: OpenAPI: Add AssignUUID update to metadata updates

Posted by et...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

etudenhoefner pushed a commit to branch assign-uuid-openapi-spec
in repository https://gitbox.apache.org/repos/asf/iceberg.git

commit 7df9e28f0ba89e2263338d4abf2b3611e0a44169
Author: Eduard Tudenhoefner <et...@gmail.com>
AuthorDate: Wed Oct 4 17:49:36 2023 +0200

    OpenAPI: Add AssignUUID update to metadata updates
---
 open-api/rest-catalog-open-api.yaml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/open-api/rest-catalog-open-api.yaml b/open-api/rest-catalog-open-api.yaml
index 5c1bf13ce4..d0b0006e70 100644
--- a/open-api/rest-catalog-open-api.yaml
+++ b/open-api/rest-catalog-open-api.yaml
@@ -1680,6 +1680,7 @@ components:
         action:
           type: string
           enum:
+            - assign-uuid
             - upgrade-format-version
             - add-schema
             - set-current-schema
@@ -1695,6 +1696,16 @@ components:
             - set-properties
             - remove-properties
 
+    AssignUUIDUpdate:
+      allOf:
+        - $ref: '#/components/schemas/BaseUpdate'
+        - type: object
+          required:
+            - uuid
+          properties:
+            uuid:
+              type: string
+
     UpgradeFormatVersionUpdate:
       allOf:
         - $ref: '#/components/schemas/BaseUpdate'
@@ -1851,6 +1862,7 @@ components:
 
     TableUpdate:
       anyOf:
+        - $ref: '#/components/schemas/AssignUUIDUpdate'
         - $ref: '#/components/schemas/UpgradeFormatVersionUpdate'
         - $ref: '#/components/schemas/AddSchemaUpdate'
         - $ref: '#/components/schemas/SetCurrentSchemaUpdate'