[ https://issues.apache.org/jira/browse/SPARK-20303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15965405#comment-15965405 ]
Apache Spark commented on SPARK-20303: -------------------------------------- User 'gatorsmile' has created a pull request for this issue: https://github.com/apache/spark/pull/17615 > Rename createTempFunction to 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