andygrove commented on issue #5204: URL: https://github.com/apache/datafusion/issues/5204#issuecomment-7168203914
Still reproducible with datafusion-cli 55.3.0 using a file with raw invalid bytes (`printf '...Sweden\xc0\xc1\xf5\xff\n...'`): `Encountered UTF-8 error while reading CSV file: invalid utf-8: invalid UTF-8 in field 3`. I suspect the file in the runs that succeeded contained U+FFFD replacement characters, which are valid UTF-8, rather than the original invalid bytes. `xxd` on the file would confirm. That would explain why those runs printed `�` instead of failing. There is still no option on main to read invalid UTF-8 lossily. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
