alamb commented on code in PR #17022: URL: https://github.com/apache/datafusion/pull/17022#discussion_r2267528334
########## datafusion/datasource-parquet/src/file_format.rs: ########## @@ -1033,24 +1038,62 @@ impl MetadataFetch for ObjectStoreFetch<'_> { /// through [`ParquetFileReaderFactory`]. /// /// [`ParquetFileReaderFactory`]: crate::ParquetFileReaderFactory -pub async fn fetch_parquet_metadata( - store: &dyn ObjectStore, - meta: &ObjectMeta, +pub async fn fetch_parquet_metadata<F: MetadataFetch>( Review Comment: I am hacking up a prototype of what this might look like -- 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