Xiao Li created SPARK-20303:
-------------------------------

             Summary: Replace createTempFunction by registerFunction
                 Key: SPARK-20303
                 URL: https://issues.apache.org/jira/browse/SPARK-20303
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 2.2.0
            Reporter: Xiao Li
            Assignee: Xiao Li


Session catalog API `createTempFunction` is being used by Hive build-in 
functions, persistent functions, and temporary functions. Thus, the name is 
confusing. This PR is to replace it by `registerFunction`. Also we can move 
construction of `FunctionBuilder` and `ExpressionInfo` into the new 
`registerFunction`, instead of duplicating the logics everywhere.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to