You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by rx...@apache.org on 2016/11/14 02:10:11 UTC

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

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 <de...@gallifrey.local>

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 <de...@gallifrey.local>
Authored: Sun Nov 13 18:10:06 2016 -0800
Committer: Reynold Xin <rx...@databricks.com>
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-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org