GitHub user gatorsmile opened a pull request: https://github.com/apache/spark/pull/18142
[SPARK-20918] [SQL] Use FunctionIdentifier as function identifiers in FunctionRegistry ### What changes were proposed in this pull request? Currently, the unquoted string of a function identifier is being used as the function identifier in the function registry. This could cause the incorrect the behavior when users use `.` in the function names. This PR is to take the `FunctionIdentifier` as the identifier in the function registry. ### How was this patch tested? TODO: add extra test cases to verify the inclusive bug fixes. You can merge this pull request into a Git repository by running: $ git pull https://github.com/gatorsmile/spark fuctionRegistry Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/18142.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #18142 ---- commit a374e9f14fd2486bb8a77c24d9ff8c3aa12d7bd4 Author: Xiao Li <gatorsm...@gmail.com> Date: 2017-05-30T04:38:18Z fix. commit 201787f7f01cadf21ca1f9c30304aa4a26af8226 Author: Xiao Li <gatorsm...@gmail.com> Date: 2017-05-30T04:51:06Z fix. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org