Allison Wang created SPARK-34678:
------------------------------------

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


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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to