Skip to content

REST: Add specific-name to UDF definition - #17364

Open
szehon-ho wants to merge 1 commit into
apache:mainfrom
szehon-ho:codex/rest-udf-specific-name
Open

REST: Add specific-name to UDF definition#17364
szehon-ho wants to merge 1 commit into
apache:mainfrom
szehon-ho:codex/rest-udf-specific-name

Conversation

@szehon-ho

@szehon-ho szehon-ho commented Jul 25, 2026

Copy link
Copy Markdown
Member

Adds the optional specific-name field to the FunctionDefinition schema in the REST catalog OpenAPI spec, aligning it with the UDF specification.

specific-name was added to the UDF spec in #16727 as an optional, user-assignable name for a single definition, analogous to the SQL standard's routine specific name. It gives a definition a stable handle that is independent of its signature, for statements such as DROP SPECIFIC FUNCTION. When present, it must be unique among all definitions within the UDF metadata.

The field is optional and is therefore not added to the required list. rest-catalog-open-api.py is regenerated accordingly.

Align the REST FunctionDefinition schema with the optional specific-name field in the UDF specification.

Generated-by: Codex

@singhpk234 singhpk234 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, thanks @szehon-ho !

@amogh-jahagirdar amogh-jahagirdar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @szehon-ho, this looks good to me!

@uros-b uros-b left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@szehon-ho

Copy link
Copy Markdown
Member Author

As this already passed the vote for adding it to the UDF spec, this just mirrors it, so seems minor and not worth a vote.

Will merge unless someone disagrees.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants