[
https://issues.apache.org/jira/browse/SPARK-56659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated SPARK-56659:
-----------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Major
> Labels: pull-request-available
>
> 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]