This is an automated email from the ASF dual-hosted git repository. maxgekk pushed a commit to branch branch-3.0 in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-3.0 by this push: new 0803317 [MINOR][SS][DOC] Fix wrong Python code sample 0803317 is described below commit 0803317acfd58461e44eaa84a4c12cde80cb24b2 Author: hissy <aoz...@live.cn> AuthorDate: Sat Apr 10 12:33:30 2021 +0300 [MINOR][SS][DOC] Fix wrong Python code sample ### What changes were proposed in this pull request? This patch fixes wrong Python code sample for doc. ### Why are the changes needed? Sample code is wrong. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Doc only. Closes #32119 from Hisssy/ss-doc-typo-1. Authored-by: hissy <aoz...@live.cn> Signed-off-by: Max Gekk <max.g...@gmail.com> (cherry picked from commit 214a46aa88cd682874584dc407ad130a30761884) Signed-off-by: Max Gekk <max.g...@gmail.com> --- docs/structured-streaming-kafka-integration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/structured-streaming-kafka-integration.md b/docs/structured-streaming-kafka-integration.md index 600cf58..4566724 100644 --- a/docs/structured-streaming-kafka-integration.md +++ b/docs/structured-streaming-kafka-integration.md @@ -140,7 +140,7 @@ df = spark \ df.selectExpr("CAST(key AS STRING)", "CAST(value AS STRING)") # Subscribe to 1 topic, with headers -val df = spark \ +df = spark \ .readStream \ .format("kafka") \ .option("kafka.bootstrap.servers", "host1:port1,host2:port2") \ --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org