GitHub user adrian-wang opened a pull request:

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

    [SPARK-14631][SQL][WIP]drop database cascade should drop functions for 
HiveExternalCatalog

    ## What changes were proposed in this pull request?
    
    as HIVE-12304, drop database cascade of hive did not drop functions as well 
(even after the fix, by call `client.dropDatabase` would still not drop 
functions). We need to fix this when call `dropDatabase` in 
`HiveExternalCatalog`.
    
    Jira: https://issues.apache.org/jira/browse/SPARK-14631
    See also: https://issues.apache.org/jira/browse/HIVE-12304
    
    
    ## How was this patch tested?
    
    unit test in HiveExternalCatalogSuite.

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

    $ git pull https://github.com/adrian-wang/spark cascadedropdb

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

    https://github.com/apache/spark/pull/12391.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 #12391
    
----
commit 66eeea0cce58ab65d06bee1220bbd61226505716
Author: Daoyuan Wang <daoyuan.w...@intel.com>
Date:   2016-04-14T11:44:09Z

    drop database cascade should drop functions for HiveExternalCatalog

----


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