apache/spark — pull request #2118 by mengxr (2014-08-25 19:21:55+00:00)
Title: [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