brunal opened a new pull request, #16682: URL: https://github.com/apache/datafusion/pull/16682
Reverts apache/datafusion#16342 After that change, one cannot write an empty RecordBatch with a schema to parquet anymore. Indeed, the logic added tries to write an empty recordbatch when num_rows == 0. So if you tried to write an empty recordbatch, you end up writing it twice => it fails. -- 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