diff options
author | Bryan Cutler <cutlerb@gmail.com> | 2016-05-25 14:29:14 -0700 |
---|---|---|
committer | Davies Liu <davies.liu@gmail.com> | 2016-05-25 14:29:14 -0700 |
commit | 9c297df3d4d5fa4bbfdffdaad15f362586db384b (patch) | |
tree | 37a39991a44fb0fb0fcb3ea7a841d4b399800468 /repl | |
parent | 698ef762f80cf4c84bc7b7cf083aa97d44b87170 (diff) | |
download | spark-9c297df3d4d5fa4bbfdffdaad15f362586db384b.tar.gz spark-9c297df3d4d5fa4bbfdffdaad15f362586db384b.tar.bz2 spark-9c297df3d4d5fa4bbfdffdaad15f362586db384b.zip |
[MINOR] [PYSPARK] [EXAMPLES] Changed examples to use SparkSession.sparkContext instead of _sc
## What changes were proposed in this pull request?
Some PySpark examples need a SparkContext and get it by accessing _sc directly from the session. These examples should use the provided property `sparkContext` in `SparkSession` instead.
## How was this patch tested?
Ran modified examples
Author: Bryan Cutler <cutlerb@gmail.com>
Closes #13303 from BryanCutler/pyspark-session-sparkContext-MINOR.
Diffstat (limited to 'repl')
0 files changed, 0 insertions, 0 deletions