huaxingao commented on code in PR #15180:
URL: https://github.com/apache/iceberg/pull/15180#discussion_r2796090756
##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -4796,6 +4910,13 @@ components:
ListTablesResponseEmpty:
$ref: '#/components/examples/ListTablesEmptyExample'
+ ListFunctionsResponse:
+ description: A list of function names
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ListFunctionsResponse'
Review Comment:
For listFunctions I think we can return just unqualified function names
within the requested namespace (names: ["f1", "f2"]). I think reusing
ListTablesResponse would require returning TableIdentifier objects under
identifiers, which doesn’t match functions, so I kept a dedicated
ListFunctionsResponse.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]