diqiu50 opened a new issue, #13140: URL: https://github.com/apache/gravitino/issues/13140
### What would you like to be improved? A function registered with any language/runtime other than SQL/TRINO (e.g. a Python or Java implementation with runtime SPARK) is silently absent from the Trino connector: it does not appear in `SHOW FUNCTIONS`, and calling it returns a bare `Function "<catalog>.<schema>.<name>" not registered` error. Nothing in the product tells the user the function was filtered rather than missing. The filter in `GravitinoMetadata.isTrinoSqlImplementation` is intentional; the problem is that it is invisible. ### How should we improve? - State the boundary in the Trino connector docs and the function docs: only functions with language `SQL` and runtime `TRINO` are visible to and callable from Trino; other implementations are managed in Gravitino but not exposed through this connector. - Show per implementation in the web UI function detail view whether it is exposed through the Trino connector. A follow-up could surface non-Trino functions and fail invocation with a message naming the registered runtime, but that is connector work with its own risk. -- 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]
