GitHub user c-kang opened a pull request:
https://github.com/apache/spark/pull/9545
[Docs] Fix typo for Python section on unifying Kafka streams
1) kafkaStreams is a list. The list should be unpacked when passing it
into the streaming context union method, which accepts a variable number of
streams.
2) print() should be pprint() for pyspark.
This contribution is my original work, and I license the work to the
project under the project's open source license.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/c-kang/spark streaming_python_typo
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/9545.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #9545
----
commit 8020f13282dd1f9ffb2c56c46516e1c334e66014
Author: chriskang90 <[email protected]>
Date: 2015-11-08T04:24:10Z
fix document typo for python section - argument unpacking and pprint
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]