Blizzara commented on code in PR #13750: URL: https://github.com/apache/datafusion/pull/13750#discussion_r1884071899
########## datafusion/core/src/datasource/listing/table.rs: ########## @@ -470,6 +470,8 @@ impl ListingOptions { let files: Vec<_> = table_path .list_all_files(state, store.as_ref(), &self.file_extension) .await? + // Empty files cannot affect schema but may throw when trying to read for it + .try_filter(|object_meta| future::ready(object_meta.size > 0)) Review Comment: needed for all reads that don't provide schema -- 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