GitHub user mengxr opened a pull request:
https://github.com/apache/spark/pull/2118
[SPARK-3205] add EscapedTextInputFormat
Text records may contain in-record delimiter or newline characters. In such
cases, we can either encode them or escape them. The latter is simpler and used
by Redshift's UNLOAD with the ESCAPE option. The problem is that a record will
span multiple lines. We need an input format for it.
@marmbrus
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mengxr/spark redshift-escape
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/2118.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 #2118
----
commit ff339a55c9dc5428d4e5a20af72273107b6d1721
Author: Xiangrui Meng <[email protected]>
Date: 2014-08-25T19:12:24Z
add EscapedTextInputFormat
----
---
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]