GitHub user gatorsmile opened a pull request:

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

    [SPARK-20024] [SQL] SessionCatalog API setCurrentDatabase need to set the 
current database of ExternalCatalog [WIP]

    ### What changes were proposed in this pull request?
    SessionCatalog API setCurrentDatabase does not set the current database of 
the underlying ExternalCatalog. Thus, weird errors could come in the test 
suites. We need to fix it.
    
    So far, have not found the direct impact in the other code paths because we 
expect all the SessionCatalog APIs should use the current database value we 
managed, unless some of code paths skip it.
    
    ### How was this patch tested?
    Multiple test case failures are observed in mvn
    TODO: add a test case in SessionCatalogSuite. 

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

    $ git pull https://github.com/gatorsmile/spark useDB

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

    https://github.com/apache/spark/pull/17354.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 #17354
    
----
commit c552c78756c50131c0a3da3040cfd3f06b42901a
Author: Xiao Li <[email protected]>
Date:   2017-03-20T04:23:12Z

    wip

----


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