Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/17177#discussion_r105304318
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/csv/CSVOptions.scala
---
@@ -88,6 +88,7 @@ private[csv] class CSVOptions(
val quote = getChar("quote", '\"')
val escape = getChar("escape", '\\')
+ val escapeEscape = getChar("escapeEscape", quote)
--- End diff --
@ep1804, let's use `'\0'` by default as it is the default for
`setCharToEscapeQuoteEscaping` if not set according to
https://github.com/uniVocity/univocity-parsers/blob/e34a149077147de7cafcafbbaf8a4310e6297584/src/main/java/com/univocity/parsers/csv/CsvFormat.java#L160-L176
because I am worried of changing the existing behaviour for lower versions.
Maybe, it is okay for now if it is configurable.
---
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]