Skip to content

Conversation

@manugarri
Copy link
Contributor

What changes were proposed in this pull request?

There is a typo in http://spark.apache.org/docs/latest/structured-streaming-kafka-integration.html#creating-a-kafka-source-stream , python example n1 uses readStream() instead of readStream

How was this patch tested?

Just removed the parenthesis.

@srowen
Copy link
Member

srowen commented Feb 7, 2017

Pardon my ignorance, but does it not actually work?
If so, there is at least one more instance two examples down. And it'd be great if you could look for more occurrences all at once.

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@manugarri
Copy link
Contributor Author

manugarri commented Feb 7, 2017

@srowen it does not work. And you were right, I removed the other parenthesis. I will look for more, you are right.

@tdas
Copy link
Contributor

tdas commented Feb 8, 2017

Aah, since readStream in python is marked as property, @manugarri may be right about it not working. I remember that i did not verify the code by running them. @zsxwing did you? Otherwise LGTM. Should merge to 2.1 branch as well.

@zsxwing
Copy link
Member

zsxwing commented Feb 8, 2017

LGTM. Merging to master and 2.1 since this only touches docs.

asfgit pushed a commit that referenced this pull request Feb 8, 2017
…treaming doc

There is a typo in http://spark.apache.org/docs/latest/structured-streaming-kafka-integration.html#creating-a-kafka-source-stream , python example n1 uses `readStream()` instead of `readStream`

Just removed the parenthesis.

Author: manugarri <[email protected]>

Closes #16836 from manugarri/fix_kafka_python_doc.

(cherry picked from commit 5a0569c)
Signed-off-by: Shixiong Zhu <[email protected]>
@asfgit asfgit closed this in 5a0569c Feb 8, 2017
cmonkey pushed a commit to cmonkey/spark that referenced this pull request Feb 15, 2017
…treaming doc

There is a typo in http://spark.apache.org/docs/latest/structured-streaming-kafka-integration.html#creating-a-kafka-source-stream , python example n1 uses `readStream()` instead of `readStream`

Just removed the parenthesis.

Author: manugarri <[email protected]>

Closes apache#16836 from manugarri/fix_kafka_python_doc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants