Github user ep1804 commented on the issue:
https://github.com/apache/spark/pull/20004
When `charToEscapeQuoteEscaping` is not set and `quote` and `escape` are
different, uniVocity parser uses `escape` character as
`charToEscapeQuoteEscaping` by default. This is why the test passes.
Ref:
https://github.com/uniVocity/univocity-parsers/blob/v2.5.9/src/main/java/com/univocity/parsers/csv/CsvFormat.java#L149-L157
I changed the test case so that the text to be parsed uses a
`charToEscapeQuoteEscaping` which is different from its `escape` character.
Though this case seems to be scarce, it will be why the uniVocity parser
has this option exposed.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]