Skip to content
Snippets Groups Projects
Commit 0c69224e authored by Denny Lee's avatar Denny Lee Committed by Reynold Xin
Browse files

[SPARK-18426][STRUCTURED STREAMING] Python Documentation Fix for Structured...

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

Closes #15872 from dennyglee/master.

(cherry picked from commit b91a51bb)
Signed-off-by: default avatarReynold Xin <rxin@databricks.com>
parent 6fae4241
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ from pyspark.sql.functions import explode
from pyspark.sql.functions import split
spark = SparkSession \
.builder() \
.builder \
.appName("StructuredNetworkWordCount") \
.getOrCreate()
{% endhighlight %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment