diff options
author | Dongjoon Hyun <dongjoon@apache.org> | 2016-04-30 00:15:04 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-04-30 00:15:04 -0700 |
commit | f86f71763c014aa23940510e1e4af5a9244271e6 (patch) | |
tree | 66b3c284c8ffb77e9aaebcb54e016f427d8817be /licenses/LICENSE-reflectasm.txt | |
parent | 3d09ceeef9212d4f3a8cd286ce369ace47242358 (diff) | |
download | spark-f86f71763c014aa23940510e1e4af5a9244271e6.tar.gz spark-f86f71763c014aa23940510e1e4af5a9244271e6.tar.bz2 spark-f86f71763c014aa23940510e1e4af5a9244271e6.zip |
[MINOR][EXAMPLE] Use SparkSession instead of SQLContext in RDDRelation.scala
## What changes were proposed in this pull request?
Now, `SQLContext` is used for backward-compatibility, we had better use `SparkSession` in Spark 2.0 examples.
## How was this patch tested?
It's just example change. After building, run `bin/run-example org.apache.spark.examples.sql.RDDRelation`.
Author: Dongjoon Hyun <dongjoon@apache.org>
Closes #12808 from dongjoon-hyun/rddrelation.
Diffstat (limited to 'licenses/LICENSE-reflectasm.txt')
0 files changed, 0 insertions, 0 deletions