diqiu50 opened a new pull request, #13940:
URL: https://github.com/apache/gravitino/pull/13940

   ### What changes were proposed in this pull request?
   
   List and load only functions that have a Java `SPARK` implementation, and 
use that implementation wherever it appears in the definition.
   
   ### Why are the changes needed?
   
   `listFunctions` listed functions with any `SPARK` implementation, but 
`loadFunction` threw `IllegalArgumentException` on the first non-Java one.
   
   Fix: #13939
   
   ### Does this PR introduce _any_ user-facing change?
   
   Functions without a Java `SPARK` implementation are no longer listed by 
`SHOW FUNCTIONS`, and loading them throws `NoSuchFunctionException`.
   
   ### How was this patch tested?
   
   Added `TestBaseCatalogFunctions`.
   


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