You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2021/04/07 05:51:00 UTC

[jira] [Resolved] (SPARK-34678) Add table function registry

     [ https://issues.apache.org/jira/browse/SPARK-34678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wenchen Fan resolved SPARK-34678.
---------------------------------
    Fix Version/s: 3.2.0
       Resolution: Fixed

Issue resolved by pull request 31791
[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
>            Assignee: Allison Wang
>            Priority: Major
>             Fix For: 3.2.0
>
>
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org