GitHub user jiangxb1987 opened a pull request:
https://github.com/apache/spark/pull/14862
[SPARK-17295][SQL] Create TestHiveSessionState use reflect logic based on
the setting of CATALOG_IMPLEMENTATION
## What changes were proposed in this pull request?
Currently we create a new `TestHiveSessionState` in `TestHive`, but in
`SparkSession` we create `SessionState`/`HiveSessionState` use reflect logic
based on the setting of CATALOG_IMPLEMENTATION, we should make the both
consist, then we can test the reflect logic of `SparkSession` in `TestHive`.
To achieve this, we add `test-hive` to the value set of
CATALOG_IMPLEMENTATION, and updated relative references.
## How was this patch tested?
existing tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jiangxb1987/spark testhive
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/14862.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 #14862
----
commit 0867d2ac853b7634de53de0f07665636598ca454
Author: jiangxingbo <[email protected]>
Date: 2016-08-29T09:45:16Z
create TestHiveSessionState use reflect logic based on the setting of
CATALOG_IMPLEMENTATION.
----
---
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]