JingsongLi commented on code in PR #5702:
URL: https://github.com/apache/paimon/pull/5702#discussion_r2131597772


##########
paimon-api/src/main/java/org/apache/paimon/rest/RESTApi.java:
##########
@@ -851,6 +852,7 @@ public List<String> listFunctions(String databaseName) {
      * @throws ForbiddenException if the user lacks permission to access the 
function
      */
     public GetFunctionResponse getFunction(Identifier identifier) {
+        FunctionNameValidator.check(identifier.getObjectName());

Review Comment:
   if (!isValidName(name)) {
      throw new NoSuchResourceException
   }



-- 
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]

Reply via email to