This is an automated email from the ASF dual-hosted git repository.
russellspitzer pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg.git
The following commit(s) were added to refs/heads/main by this push:
new c4afd783d3 REST Spec: Remove update to enable row lineage (#12986)
c4afd783d3 is described below
commit c4afd783d389f7d87b4b6354c814363a33604895
Author: Ryan Blue <[email protected]>
AuthorDate: Wed May 7 07:03:40 2025 -0700
REST Spec: Remove update to enable row lineage (#12986)
---
open-api/rest-catalog-open-api.py | 5 -----
open-api/rest-catalog-open-api.yaml | 11 -----------
2 files changed, 16 deletions(-)
diff --git a/open-api/rest-catalog-open-api.py
b/open-api/rest-catalog-open-api.py
index 2571961cb1..6c9cf9d5c1 100644
--- a/open-api/rest-catalog-open-api.py
+++ b/open-api/rest-catalog-open-api.py
@@ -395,10 +395,6 @@ class RemoveSchemasUpdate(BaseUpdate):
schema_ids: List[int] = Field(..., alias='schema-ids')
-class EnableRowLineageUpdate(BaseUpdate):
- action: str = Field('enable-row-lineage', const=True)
-
-
class TableRequirement(BaseModel):
type: str
@@ -1193,7 +1189,6 @@ class TableUpdate(BaseModel):
RemoveStatisticsUpdate,
RemovePartitionSpecsUpdate,
RemoveSchemasUpdate,
- EnableRowLineageUpdate,
]
diff --git a/open-api/rest-catalog-open-api.yaml
b/open-api/rest-catalog-open-api.yaml
index 24a2fae9d0..2bd6fdfad1 100644
--- a/open-api/rest-catalog-open-api.yaml
+++ b/open-api/rest-catalog-open-api.yaml
@@ -2679,7 +2679,6 @@ components:
remove-partition-statistics:
'#/components/schemas/RemovePartitionStatisticsUpdate'
remove-partition-specs:
'#/components/schemas/RemovePartitionSpecsUpdate'
remove-schemas: '#/components/schemas/RemoveSchemasUpdate'
- enable-row-lineage: '#/components/schemas/EnableRowLineageUpdate'
type: object
required:
- action
@@ -2998,15 +2997,6 @@ components:
items:
type: integer
- # Disabling Row Lineage is Forbidden
- EnableRowLineageUpdate:
- allOf:
- - $ref: '#/components/schemas/BaseUpdate'
- properties:
- action:
- type: string
- const: "enable-row-lineage"
-
TableUpdate:
anyOf:
- $ref: '#/components/schemas/AssignUUIDUpdate'
@@ -3028,7 +3018,6 @@ components:
- $ref: '#/components/schemas/RemoveStatisticsUpdate'
- $ref: '#/components/schemas/RemovePartitionSpecsUpdate'
- $ref: '#/components/schemas/RemoveSchemasUpdate'
- - $ref: '#/components/schemas/EnableRowLineageUpdate'
ViewUpdate:
anyOf: