diff options
author | windpiger <songjun@outlook.com> | 2017-03-16 11:34:13 -0700 |
---|---|---|
committer | Xiao Li <gatorsmile@gmail.com> | 2017-03-16 11:34:13 -0700 |
commit | 8e8f898335f5019c0d4f3944c4aefa12a185db70 (patch) | |
tree | 7bfa295e87955b2e9f17f8aefb02548cb4561f49 /docs/job-scheduling.md | |
parent | ee91a0decc389572099ea7c038149cc50375a2ef (diff) | |
download | spark-8e8f898335f5019c0d4f3944c4aefa12a185db70.tar.gz spark-8e8f898335f5019c0d4f3944c4aefa12a185db70.tar.bz2 spark-8e8f898335f5019c0d4f3944c4aefa12a185db70.zip |
[SPARK-19945][SQL] add test suite for SessionCatalog with HiveExternalCatalog
## What changes were proposed in this pull request?
Currently `SessionCatalogSuite` is only for `InMemoryCatalog`, there is no suite for `HiveExternalCatalog`.
And there are some ddl function is not proper to test in `ExternalCatalogSuite`, because some logic are not full implement in `ExternalCatalog`, these ddl functions are full implement in `SessionCatalog`(e.g. merge the same logic from `ExternalCatalog` up to `SessionCatalog` ).
It is better to test it in `SessionCatalogSuite` for this situation.
So we should add a test suite for `SessionCatalog` with `HiveExternalCatalog`
The main change is that in `SessionCatalogSuite` add two functions:
`withBasicCatalog` and `withEmptyCatalog`
And replace the code like `val catalog = new SessionCatalog(newBasicCatalog)` with above two functions
## How was this patch tested?
add `HiveExternalSessionCatalogSuite`
Author: windpiger <songjun@outlook.com>
Closes #17287 from windpiger/sessioncatalogsuit.
Diffstat (limited to 'docs/job-scheduling.md')
0 files changed, 0 insertions, 0 deletions