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

szehon-ho 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 1a16a6d83a REST: Add specific name to UDF definition (#17364)
1a16a6d83a is described below

commit 1a16a6d83a09d0671feafd1ba47f0862898b8a4a
Author: Szehon Ho <[email protected]>
AuthorDate: Thu Jul 30 11:09:07 2026 -0700

    REST: Add specific name to UDF definition (#17364)
---
 open-api/rest-catalog-open-api.py   | 5 +++++
 open-api/rest-catalog-open-api.yaml | 3 +++
 2 files changed, 8 insertions(+)

diff --git a/open-api/rest-catalog-open-api.py 
b/open-api/rest-catalog-open-api.py
index 412c8322a3..5957a5785a 100644
--- a/open-api/rest-catalog-open-api.py
+++ b/open-api/rest-catalog-open-api.py
@@ -1947,6 +1947,11 @@ class FunctionDefinition(BaseModel):
         alias='definition-id',
         description='A canonical string derived from the parameter types, 
formatted as a comma-separated list with no spaces.',
     )
+    specific_name: str | None = Field(
+        None,
+        alias='specific-name',
+        description='A user-assignable name for this definition that must be 
unique among all definitions within the UDF metadata.',
+    )
     parameters: list[FunctionParameter] = Field(
         ...,
         description='Ordered list of function parameters. Invocation order 
must match this list.',
diff --git a/open-api/rest-catalog-open-api.yaml 
b/open-api/rest-catalog-open-api.yaml
index 11e70da547..6ce85b32d8 100644
--- a/open-api/rest-catalog-open-api.yaml
+++ b/open-api/rest-catalog-open-api.yaml
@@ -4697,6 +4697,9 @@ components:
         definition-id:
           type: string
           description: A canonical string derived from the parameter types, 
formatted as a comma-separated list with no spaces.
+        specific-name:
+          type: string
+          description: A user-assignable name for this definition that must be 
unique among all definitions within the UDF metadata.
         parameters:
           type: array
           description: Ordered list of function parameters. Invocation order 
must match this list.

Reply via email to