laserninja commented on code in PR #10494:
URL: https://github.com/apache/gravitino/pull/10494#discussion_r2979169926
##########
trino-connector/trino-connector/src/main/java/org/apache/gravitino/trino/connector/GravitinoMetadata.java:
##########
@@ -679,4 +693,77 @@ private String getColumnName(
}
return internalMetadataColumnMetadata.getName();
}
+
+ @Override
+ public Collection<LanguageFunction> listLanguageFunctions(
+ ConnectorSession session, String schemaName) {
+ if (!catalogConnectorMetadata.supportsFunctions()) {
+ return List.of();
+ }
+ Function[] functions =
catalogConnectorMetadata.listFunctionInfos(schemaName);
+ List<LanguageFunction> result = new ArrayList<>();
+ for (Function function : functions) {
+ result.addAll(toLanguageFunctions(function));
+ }
+ LOG.debug("Listed {} language functions in schema {}", result.size(),
schemaName);
Review Comment:
Removed debug logs - removed LOG.debug() call, along with the LOG field and
Logger/LoggerFactory imports (they were only added for that log)
--
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]