szehon-ho commented on code in PR #50109:
URL: https://github.com/apache/spark/pull/50109#discussion_r2008434712


##########
sql/catalyst/src/main/java/org/apache/spark/sql/connector/catalog/ProcedureCatalog.java:
##########
@@ -34,4 +34,11 @@ public interface ProcedureCatalog extends CatalogPlugin {
    * @return the loaded unbound procedure
    */
   UnboundProcedure loadProcedure(Identifier ident);
+
+  /**
+   * List all procedures in the specified namespace.
+   *
+   * If a null or empty array is passed, all procedures are returned.

Review Comment:
   I guess a broader question:
   
   Should 'show procedures' should return all in current catalog?  and 'show 
procedures in cat' should return all procedures in cat?
   
   If so, we can have support at the catalog level, or else have Spark code 
loop through all namespaces and make multiple calls to the catalog?



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

Reply via email to