aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorXiao Li <gatorsmile@gmail.com>2017-03-20 22:52:45 -0700
committerXiao Li <gatorsmile@gmail.com>2017-03-20 22:52:45 -0700
commitd2dcd6792f4cea39e12945ad8c4cda5d8d034de4 (patch)
treeb44d2d7d79e075775a837413bee0e1b5494602e4 /docs
parent68d65fae71e475ad811a9716098aca03a2af9532 (diff)
downloadspark-d2dcd6792f4cea39e12945ad8c4cda5d8d034de4.tar.gz
spark-d2dcd6792f4cea39e12945ad8c4cda5d8d034de4.tar.bz2
spark-d2dcd6792f4cea39e12945ad8c4cda5d8d034de4.zip
[SPARK-20024][SQL][TEST-MAVEN] SessionCatalog reset need to set the current database of ExternalCatalog
### 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 after we call reset. 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 always use the current database value we managed, unless some of code paths skip it. Thus, we fix it in the test-only function reset(). ### How was this patch tested? Multiple test case failures are observed in mvn and add a test case in SessionCatalogSuite. Author: Xiao Li <gatorsmile@gmail.com> Closes #17354 from gatorsmile/useDB.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions