spark git commit: [SPARK-18426][STRUCTURED STREAMING] Python Documentation Fix for Structured Streaming Programming Guide

2016-11-13 Thread rxin
Repository: spark
Updated Branches:
  refs/heads/branch-2.0 80c1a1f30 -> a719c5128


[SPARK-18426][STRUCTURED STREAMING] Python Documentation Fix for Structured 
Streaming Programming Guide

Update the python section of the Structured Streaming Guide from .builder() to 
.builder

Validated documentation and successfully running the test example.

Please review 
https://cwiki.apache.org/confluence/display/SPARK/Contributing+to+Spark before 
opening a pull request.

'Builder' object is not callable object hence changed .builder() to
.builder

Author: Denny Lee 

Closes #15872 from dennyglee/master.

(cherry picked from commit b91a51bb231af321860415075a7f404bc46e0a74)
Signed-off-by: Reynold Xin 
(cherry picked from commit b6e4d3925239836334867d6ebcf22e5a1369cfc0)
Signed-off-by: Reynold Xin 


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/a719c512
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/a719c512
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/a719c512

Branch: refs/heads/branch-2.0
Commit: a719c5128fddb133c5d496b85032e0049506a95c
Parents: 80c1a1f
Author: Denny Lee 
Authored: Sun Nov 13 18:10:06 2016 -0800
Committer: Reynold Xin 
Committed: Sun Nov 13 18:11:59 2016 -0800

--
 docs/structured-streaming-programming-guide.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/spark/blob/a719c512/docs/structured-streaming-programming-guide.md
--
diff --git a/docs/structured-streaming-programming-guide.md 
b/docs/structured-streaming-programming-guide.md
index be730b8..537aa06 100644
--- a/docs/structured-streaming-programming-guide.md
+++ b/docs/structured-streaming-programming-guide.md
@@ -59,9 +59,9 @@ from pyspark.sql import SparkSession
 from pyspark.sql.functions import explode
 from pyspark.sql.functions import split
 
-spark = SparkSession\
-.builder()\
-.appName("StructuredNetworkWordCount")\
+spark = SparkSession \
+.builder \
+.appName("StructuredNetworkWordCount") \
 .getOrCreate()
 {% endhighlight %}
 


-
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org



spark git commit: [SPARK-18426][STRUCTURED STREAMING] Python Documentation Fix for Structured Streaming Programming Guide

2016-11-13 Thread rxin
Repository: spark
Updated Branches:
  refs/heads/branch-2.1 6fae4241f -> 0c69224ed


[SPARK-18426][STRUCTURED STREAMING] Python Documentation Fix for Structured 
Streaming Programming Guide

## What changes were proposed in this pull request?

Update the python section of the Structured Streaming Guide from .builder() to 
.builder

## How was this patch tested?

Validated documentation and successfully running the test example.

Please review 
https://cwiki.apache.org/confluence/display/SPARK/Contributing+to+Spark before 
opening a pull request.

'Builder' object is not callable object hence changed .builder() to
.builder

Author: Denny Lee 

Closes #15872 from dennyglee/master.

(cherry picked from commit b91a51bb231af321860415075a7f404bc46e0a74)
Signed-off-by: Reynold Xin 


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/0c69224e
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/0c69224e
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/0c69224e

Branch: refs/heads/branch-2.1
Commit: 0c69224ed752c25be1545cfe8ba0db8487a70bf2
Parents: 6fae424
Author: Denny Lee 
Authored: Sun Nov 13 18:10:06 2016 -0800
Committer: Reynold Xin 
Committed: Sun Nov 13 18:10:16 2016 -0800

--
 docs/structured-streaming-programming-guide.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/spark/blob/0c69224e/docs/structured-streaming-programming-guide.md
--
diff --git a/docs/structured-streaming-programming-guide.md 
b/docs/structured-streaming-programming-guide.md
index d838ed3..d254558 100644
--- a/docs/structured-streaming-programming-guide.md
+++ b/docs/structured-streaming-programming-guide.md
@@ -58,7 +58,7 @@ from pyspark.sql.functions import explode
 from pyspark.sql.functions import split
 
 spark = SparkSession \
-.builder() \
+.builder \
 .appName("StructuredNetworkWordCount") \
 .getOrCreate()
 {% endhighlight %}


-
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org



spark git commit: [SPARK-18426][STRUCTURED STREAMING] Python Documentation Fix for Structured Streaming Programming Guide

2016-11-13 Thread rxin
Repository: spark
Updated Branches:
  refs/heads/master 1386fd28d -> b91a51bb2


[SPARK-18426][STRUCTURED STREAMING] Python Documentation Fix for Structured 
Streaming Programming Guide

## What changes were proposed in this pull request?

Update the python section of the Structured Streaming Guide from .builder() to 
.builder

## How was this patch tested?

Validated documentation and successfully running the test example.

Please review 
https://cwiki.apache.org/confluence/display/SPARK/Contributing+to+Spark before 
opening a pull request.

'Builder' object is not callable object hence changed .builder() to
.builder

Author: Denny Lee 

Closes #15872 from dennyglee/master.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/b91a51bb
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/b91a51bb
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/b91a51bb

Branch: refs/heads/master
Commit: b91a51bb231af321860415075a7f404bc46e0a74
Parents: 1386fd2
Author: Denny Lee 
Authored: Sun Nov 13 18:10:06 2016 -0800
Committer: Reynold Xin 
Committed: Sun Nov 13 18:10:06 2016 -0800

--
 docs/structured-streaming-programming-guide.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/spark/blob/b91a51bb/docs/structured-streaming-programming-guide.md
--
diff --git a/docs/structured-streaming-programming-guide.md 
b/docs/structured-streaming-programming-guide.md
index d838ed3..d254558 100644
--- a/docs/structured-streaming-programming-guide.md
+++ b/docs/structured-streaming-programming-guide.md
@@ -58,7 +58,7 @@ from pyspark.sql.functions import explode
 from pyspark.sql.functions import split
 
 spark = SparkSession \
-.builder() \
+.builder \
 .appName("StructuredNetworkWordCount") \
 .getOrCreate()
 {% endhighlight %}


-
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org