diff options
author | Xiao Li <gatorsmile@gmail.com> | 2017-04-12 09:01:26 -0700 |
---|---|---|
committer | Xiao Li <gatorsmile@gmail.com> | 2017-04-12 09:01:26 -0700 |
commit | 504e62e2f4b7df7e002ea014a855cebe1ff95193 (patch) | |
tree | e24fb9939cf38f1be5590882175a7d33961b81b8 /appveyor.yml | |
parent | ceaf77ae43a14e993ac6d1ff34b50256eacd6abb (diff) | |
download | spark-504e62e2f4b7df7e002ea014a855cebe1ff95193.tar.gz spark-504e62e2f4b7df7e002ea014a855cebe1ff95193.tar.bz2 spark-504e62e2f4b7df7e002ea014a855cebe1ff95193.zip |
[SPARK-20303][SQL] Rename createTempFunction to registerFunction
### What changes were proposed in this pull request?
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 rename it by `registerFunction`. Also we can move construction of `FunctionBuilder` and `ExpressionInfo` into the new `registerFunction`, instead of duplicating the logics everywhere.
In the next PRs, the remaining Function-related APIs also need cleanups.
### How was this patch tested?
Existing test cases.
Author: Xiao Li <gatorsmile@gmail.com>
Closes #17615 from gatorsmile/cleanupCreateTempFunction.
Diffstat (limited to 'appveyor.yml')
0 files changed, 0 insertions, 0 deletions