GitHub user DoingDone9 opened a pull request:

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

    [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/4926.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 #4926
    
----
commit c3f046f8de7c418d4aa7e74afea9968a8baf9231
Author: DoingDone9 <799203...@qq.com>
Date:   2015-03-02T02:11:18Z

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

commit cb1852d14f62adbd194b1edda4ec639ba942a8ba
Author: DoingDone9 <799203...@qq.com>
Date:   2015-03-05T07:05:10Z

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

commit 224e84402e35bc8fad316eeaf6ac42f0c5615639
Author: DoingDone9 <799203...@qq.com>
Date:   2015-03-06T03:47:52Z

    Support "select current_database()"

----


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

Reply via email to