GitHub user rxin opened a pull request:
https://github.com/apache/spark/pull/15710
[SPARK-18025] Use commit protocol API in structured streaming
## What changes were proposed in this pull request?
This patch adds a new commit protocol implementation
ManifestFileCommitProtocol that follows the existing streaming flow, and uses
it in FileStreamSink to consolidate the write path in structured streaming with
the batch mode write path.
Note that this would make it trivial to support other functionalities that
are currently available in batch but not in streaming, including all file
formats and bucketing.
## How was this patch tested?
Should be covered by existing tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rxin/spark SPARK-18025
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/15710.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 #15710
----
commit 416ad5fd745c75eccc990363592be7ea7e3e34d3
Author: Reynold Xin <[email protected]>
Date: 2016-11-01T05:24:48Z
[SPARK-18025] Use commit protocol API in structured streaming
commit ed5e5bce6a620b169335413cc198a8c7a7e4a1ad
Author: Reynold Xin <[email protected]>
Date: 2016-11-01T05:26:08Z
Slightly shorter line
----
---
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]