[
https://issues.apache.org/jira/browse/SPARK-34678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17298352#comment-17298352
]
Apache Spark commented on SPARK-34678:
--------------------------------------
User 'allisonwang-db' has created a pull request for this issue:
https://github.com/apache/spark/pull/31791
> Add table function registry
> ---------------------------
>
> Key: SPARK-34678
> URL: https://issues.apache.org/jira/browse/SPARK-34678
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.2.0
> Reporter: Allison Wang
> Priority: Major
>
> Currently, Spark resolves table-valued functions, for example, range, very
> differently from non-table valued functions. Also, there is no information
> displayed for table-valued functions. For example:
> {code:scala}
> scala> sql("describe function range").show(false)
> +--------------------------+
> |function_desc |
> +--------------------------+
> |Function: range not found.|
> +--------------------------+
> {code}
> To make the behavior consistent, we can add a table function registry and
> resolve the table-valued function from the catalog.
> This also allows Spark to have more built-in table-valued functions in the
> future.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]