GitHub user brkyvz opened a pull request:
https://github.com/apache/spark/pull/12320
[SPARK-14555] First cut of Python API for Structured Streaming
## What changes were proposed in this pull request?
This patch provides a first cut of python APIs for structured streaming.
This PR provides the new classes:
- ContinuousQuery
- Trigger
- ProcessingTime
in pyspark under `pyspark.sql.streaming`.
In addition, it contains the new methods added under:
- `DataFrameWriter`
a) `startStream`
b) `trigger`
c) `queryName`
- `DataFrameReader`
a) `stream`
- `DataFrame`
a) `isStreaming`
This PR also contains some very minor doc fixes in the Scala side.
## How was this patch tested?
Python doc tests
TODO:
- [ ] verify Python docs look good
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/brkyvz/spark stream-python
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/12320.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 #12320
----
commit 043ab9d5a6c1aa47822f86037d8de20573de945e
Author: Burak Yavuz <[email protected]>
Date: 2016-04-12T03:11:03Z
added python API for streaming dataframes
----
---
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]