Github user maropu commented on the issue:

    https://github.com/apache/spark/pull/18250
  
    @HyukjinKwon I tried to fix this case even in `wholeFile` mode though, I 
easily couldn't do because `CSVParser` in `wholeFile` has state to parse 
`InputStream` data. Once the parser hits exception, IIUC it cannot restart 
parsing the input. So, to fix this in `wholeFile`, we might need to refactor 
the current logic there. IMHO in case that parsing exceptions happen in 
`whileFile`, we easily couldn't restart to parse because the restart position 
for parsing seems unclear. WDYT?


---
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]

Reply via email to