Tongwei created SPARK-56659:
-------------------------------

             Summary: Show function resources in DESCRIBE FUNCTION output
                 Key: SPARK-56659
                 URL: https://issues.apache.org/jira/browse/SPARK-56659
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.5.1
            Reporter: Tongwei


When a persistent function is created with `USING JAR/FILE` resources, 
`DESCRIBE FUNCTION` does not display those resources in its output.

  For example:
  ```sql
  CREATE FUNCTION my_udf AS 'com.example.MyUDF' USING JAR 
'hdfs:///path/to/my-udf.jar';
  DESCRIBE FUNCTION my_udf;

  Current output:
  Function: spark_catalog.default.my_udf
  Class: com.example.MyUDF
  Usage: N/A

  Expected output:
  Function: spark_catalog.default.my_udf
  Class: com.example.MyUDF
  Usage: N/A
  Resource: jar hdfs:///path/to/my-udf.jar



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to