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