GitHub user DoingDone9 opened a pull request:

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

    [SPARK-6198][SQL] Support "select current_database()"

    The method(evaluate) has changed in UDFCurrentDB, it just throws a 
exception.But hiveUdfs call this method and failed.
    @Override
    public Object evaluate(DeferredObject[] arguments) throws HiveException
    { throw new IllegalStateException("never");

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

    $ git pull https://github.com/DoingDone9/spark current_database

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

    https://github.com/apache/spark/pull/4995.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 #4995
    
----
commit c3f046f8de7c418d4aa7e74afea9968a8baf9231
Author: DoingDone9 <[email protected]>
Date:   2015-03-02T02:11:18Z

    Merge pull request #1 from apache/master
    
    merge lastest spark

commit cb1852d14f62adbd194b1edda4ec639ba942a8ba
Author: DoingDone9 <[email protected]>
Date:   2015-03-05T07:05:10Z

    Merge pull request #2 from apache/master
    
    merge lastest spark

commit 224e84402e35bc8fad316eeaf6ac42f0c5615639
Author: DoingDone9 <[email protected]>
Date:   2015-03-06T03:47:52Z

    Support "select current_database()"

commit 784617fc39fb34bd5afaeb7b2b2825b4c859a288
Author: DoingDone9 <[email protected]>
Date:   2015-03-07T07:41:41Z

    Test for  "SELECT current_database()"

commit 267fbdd1b03440bf9e0afc1f81c1ee096de86bdf
Author: DoingDone9 <[email protected]>
Date:   2015-03-12T08:16:10Z

    add udf for current_database

commit d632f84cc0926ce94a43228d8073a54417d422b2
Author: DoingDone9 <[email protected]>
Date:   2015-03-12T08:19:52Z

    Update hiveUdfs.scala

commit 0aa60dbc2e112a6f460fbfe48f381f660343bd67
Author: DoingDone9 <[email protected]>
Date:   2015-03-12T08:22:13Z

    Rename sqlUDFCurrentDB to sqlUDFCurrentDB.scala

commit fc4d820a23f4d70baa8911a766bd56e731d4b61a
Author: DoingDone9 <[email protected]>
Date:   2015-03-12T08:25:47Z

    Update sqlUDFCurrentDB.scala

commit 889ce10056853afc0520f0ad17b82e0c099115cc
Author: DoingDone9 <[email protected]>
Date:   2015-03-12T08:27:32Z

    Update hiveUdfs.scala

commit 0c3e4073b9d8e0b1f23b3d5cc03d9c0a8e2f58b7
Author: DoingDone9 <[email protected]>
Date:   2015-03-12T08:28:03Z

    Update hiveUdfs.scala

commit 661d961a7f8f77c3e363fc59daf7b25dc5cf84e3
Author: DoingDone9 <[email protected]>
Date:   2015-03-12T09:08:14Z

    Update hiveUdfs.scala

----


---
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