GitHub user lw-lin opened a pull request:
https://github.com/apache/spark/pull/13251
[SPARK-15472][SQL][Streaming] Add support for partitioned `text` format in
FileStreamSink
## What changes were proposed in this pull request?
This patch adds support for partitioned `text` format in FileStreamSink.
Specifically, this patch adds a new `TextOutputWriterFactory`, which would
return an `OutputWriter` writing data without using an `OutputCommitter`.
This is the same manner employed by
[SPARK-14716](https://github.com/apache/spark/pull/12409) in which we had added
support for partitioned `parquet` format.
## How was this patch tested?
The `FileStreamSinkSuite` is expanded to cover tests added for the
partitioned `text` format.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lw-lin/spark add-text-format
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13251.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 #13251
----
commit b6da2287b8d7924a978106b953a83dabad288980
Author: Liwei Lin <[email protected]>
Date: 2016-05-22T08:54:11Z
Some refactor
commit b58e97f97930a81183d737319ba431e6722905a5
Author: Liwei Lin <[email protected]>
Date: 2016-05-22T08:55:26Z
Add `text` format support for FileStreamSink
----
---
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]