berkaysynnada commented on code in PR #16014: URL: https://github.com/apache/datafusion/pull/16014#discussion_r2083522199
########## datafusion/datasource/src/file_stream.rs: ########## @@ -367,7 +368,7 @@ impl Default for OnError { pub trait FileOpener: Unpin + Send + Sync { /// Asynchronously open the specified file and return a stream /// of [`RecordBatch`] - fn open(&self, file_meta: FileMeta) -> Result<FileOpenFuture>; + fn open(&self, file_meta: FileMeta, file: PartitionedFile) -> Result<FileOpenFuture>; Review Comment: Isn't it sufficient to provide only file statistics? PartitionedFile seems like an overkill to me -- 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