diff options
author | gatorsmile <gatorsmile@gmail.com> | 2016-05-26 22:40:57 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-05-26 22:40:57 -0700 |
commit | d5911d1173fe0872f21cae6c47abf8ff479345a4 (patch) | |
tree | 7709909a4232a77b79a8e91df5b50c1ad31ea2e2 /sql/hive-thriftserver/src | |
parent | 6b1a6180e7bd45b0a0ec47de9f7c7956543f4dfa (diff) | |
download | spark-d5911d1173fe0872f21cae6c47abf8ff479345a4.tar.gz spark-d5911d1173fe0872f21cae6c47abf8ff479345a4.tar.bz2 spark-d5911d1173fe0872f21cae6c47abf8ff479345a4.zip |
[SPARK-15529][SQL] Replace SQLContext and HiveContext with SparkSession in Test
#### What changes were proposed in this pull request?
This PR is to use the new entrance `Sparksession` to replace the existing `SQLContext` and `HiveContext` in SQL test suites.
No change is made in the following suites:
- `ListTablesSuite` is to test the APIs of `SQLContext`.
- `SQLContextSuite` is to test `SQLContext`
- `HiveContextCompatibilitySuite` is to test `HiveContext`
**Update**: Move tests in `ListTableSuite` to `SQLContextSuite`
#### How was this patch tested?
N/A
Author: gatorsmile <gatorsmile@gmail.com>
Author: xiaoli <lixiao1983@gmail.com>
Author: Xiao Li <xiaoli@Xiaos-MacBook-Pro.local>
Closes #13337 from gatorsmile/sparkSessionTest.
Diffstat (limited to 'sql/hive-thriftserver/src')
0 files changed, 0 insertions, 0 deletions