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 <[email protected]> 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'
