Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2019 03:07 AM
Hi,
Can you try escape parameter & quote parameter to indicate which characters need to be ignored. The escape character within the quotes will be ignored. you can specify the newline character, that it needs to be ignored. please refer to below documentation for more info
https://docs.databricks.com/spark/latest/data-sources/read-csv.html#reading-files
: by default the quote character isquote
, but can be set to any character. Delimiters inside quotes are ignored."
: by default the escape character isescape
, but can be set to any character. Escaped quote characters are ignored.\
Thanks