-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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
[SPARK-16266][SQL][STREAING] Moved DataStreamReader/Writer from pyspark.sql to pyspark.sql.streaming #13955
Conversation
@zsxwing Can you take a look? |
Test build #61417 has finished for PR 13955 at commit
|
Test build #61419 has finished for PR 13955 at commit
|
Test build #61420 has finished for PR 13955 at commit
|
Test build #61431 has finished for PR 13955 at commit
|
@@ -224,6 +226,494 @@ def _to_java_trigger(self, sqlContext): | |||
self.interval) | |||
|
|||
|
|||
class DataStreamReader(OptionUtils): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we create a separate file? this file is already very long.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
then probably we have to create directory streaming and move all the code in streaming.py into separate files. I wanted to minimize the changes. we can do the bookkeeping later. what do you think?
Test build #61432 has finished for PR 13955 at commit
|
Test build #61439 has finished for PR 13955 at commit
|
LGTM. Merging to master and 2.0. Thanks! |
…rk.sql to pyspark.sql.streaming ## What changes were proposed in this pull request? - Moved DataStreamReader/Writer from pyspark.sql to pyspark.sql.streaming to make them consistent with scala packaging - Exposed the necessary classes in sql.streaming package so that they appear in the docs - Added pyspark.sql.streaming module to the docs ## How was this patch tested? - updated unit tests. - generated docs for testing visibility of pyspark.sql.streaming classes. Author: Tathagata Das <[email protected]> Closes #13955 from tdas/SPARK-16266.
What changes were proposed in this pull request?
How was this patch tested?