Herman van Hovell created SPARK-17996:

             Summary: catalog.getFunction(name) returns wrong result for a 
permanent function
                 Key: SPARK-17996
                 URL: https://issues.apache.org/jira/browse/SPARK-17996
             Project: Spark
          Issue Type: Bug
          Components: SQL
            Reporter: Herman van Hovell
            Assignee: Herman van Hovell
            Priority: Minor

The catalog returns a wrong result, if we lookup a permanent function without 
specifying the database. For example:
scala> sql("create function fn1 as 
res0: org.apache.spark.sql.DataFrame = []

scala> spark.catalog.getFunction("fn1")
res1: org.apache.spark.sql.catalog.Function = Function[name='fn1', 

It should not return that this function is temporary and define a database.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to