2010YOUY01 commented on issue #11472: URL: https://github.com/apache/datafusion/issues/11472#issuecomment-2236168980
> Turns out `arrow-csv` does correctly parse newlines in quoted values, so the issue comes from reading CSVs in parallel. Limiting the target number of partitions to 1 solves the issue. Thank you for the investigation, if that's the case, setting `datafusion.optimizer.repartition_file_scans` to `false` might help: https://datafusion.apache.org/user-guide/configs.html IIRC this option will only limit file scan to one thread, other parts of the plan will still be parallelized using `target_partitions` -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org