Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

using spark how handle new line (\n) character as part of value in file?

Highlighted

using spark how handle new line (\n) character as part of value in file?

New Contributor

Hello,

I have a scenario . while processing delimited file, new line (\n) character present part of value in file. it splits single row to 2 rows.

is there any way to handle it in spark.


Note: Fields values are NOT quoted/enclosed.