GitHub user zhengruifeng opened a pull request:
https://github.com/apache/spark/pull/13050
[SPARK-15031][SPARK-15134][EXAMPLE][DOC] Use SparkSession and update indent
in examples
## What changes were proposed in this pull request?
1, use `SparkSession` according to
[SPARK-15031](https://issues.apache.org/jira/browse/SPARK-15031)
2, Update indent for `SparkContext` according to
[SPARK-15134](https://issues.apache.org/jira/browse/SPARK-15134)
3, BTW, remove some duplicate space and add missing '.'
## How was this patch tested?
manual tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zhengruifeng/spark use_sparksession
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13050.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 #13050
----
commit f1fbc6932391b4046ad4f940e1c05e64f2e2ad2f
Author: Zheng RuiFeng <[email protected]>
Date: 2016-05-11T11:09:39Z
create pr
commit 3cbca5bfe120f51d162683bbc4fde2ed621eb5a4
Author: Zheng RuiFeng <[email protected]>
Date: 2016-05-11T13:16:07Z
update
----
---
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]