cloud-fan commented on code in PR #50109: URL: https://github.com/apache/spark/pull/50109#discussion_r1993730085
########## sql/catalyst/src/main/java/org/apache/spark/sql/connector/catalog/ProcedureCatalog.java: ########## @@ -34,4 +34,9 @@ public interface ProcedureCatalog extends CatalogPlugin { * @return the loaded unbound procedure */ UnboundProcedure loadProcedure(Identifier ident); + + /** + * List all procedures in the specified database. + */ + Identifier[] listProcedures(String[] namespace); Review Comment: I think for methods that need to be implemented by users, `String[]` is better. -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org