Github user barrenlake commented on the issue:
https://github.com/apache/spark/pull/20975
@HyukjinKwon Hello, the unit test describes the scene where this problem
occurred. You can run the unit test in the original system. Spark2.3 introduced
`wholetext` ( default `false`): If true, read a file as a single row and not
split by "\n". So, read the textual content in wholetext mode and write the
content to a new file directly, there is no need to add "\n".
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]