GitHub user dongjoon-hyun opened a pull request: https://github.com/apache/spark/pull/12808
[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`. You can merge this pull request into a Git repository by running: $ git pull https://github.com/dongjoon-hyun/spark rddrelation Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/12808.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 #12808 ---- commit 7ea07b5e73bc17c78e175d0a9f603d301259005d Author: Dongjoon Hyun <dongj...@apache.org> Date: 2016-04-30T06:17:41Z [MINOR][EXAMPLE] Use SparkSession instead of SQLContext in RDDRelation.scala. ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org