Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove parenthesis in readStream() on kafka structured streaming doc #16836

Closed
wants to merge 2 commits into from

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 <manuel.garrido.pena@gmail.com>

Closes #16836 from manugarri/fix_kafka_python_doc.

(cherry picked from commit 5a0569c)
Signed-off-by: Shixiong Zhu <shixiong@databricks.com>
@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 <manuel.garrido.pena@gmail.com>

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
5 participants