GitHub user windpiger opened a pull request:

    https://github.com/apache/spark/pull/15766

    [SPARK-18271][SQL]hash udf in HiveSessionCatalog.hiveFunctions is redundant

    ## What changes were proposed in this pull request?
    
    when lookupfunction in HiveSessionCatalog, first look up in spark's 
build-in functionRegistry, if it not existed, then look up the Hive'S build-in 
functions which are listed in Seq(hiveFunctions).
    
    But the [hash] function is already in spark's build-in functionRegistry 
list, so it will never to go to look up in Hive's hiveFunctions list, so the 
[hash] function which is in Hive's hiveFunctions is redundant, we can remove it.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/windpiger/spark removeudfreduntant

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/15766.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 #15766
    
----
commit c3a0389311fb78e5fc985d937280f3e957562498
Author: root <root@izbp1gsnrlfzjxh82cz80vz.(none)>
Date:   2016-11-04T11:39:19Z

    [SPARK-18271][SQL]hash udf in HiveSessionCatalog.hiveFunctions is redundant

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to