andygrove commented on code in PR #1563: URL: https://github.com/apache/datafusion-comet/pull/1563#discussion_r2042173423
########## native/core/src/parquet/parquet_exec.rs: ########## @@ -80,23 +82,33 @@ pub(crate) fn init_datasource_exec( parquet_source = parquet_source.with_predicate(Arc::clone(data_schema), filter); } } + + let file_groups = file_groups + .iter() + .map(|files| FileGroup::new(files.clone())) + .collect(); + let file_scan_config = match (data_schema, projection_vector, partition_fields) { - (Some(data_schema), Some(projection_vector), Some(partition_fields)) => get_file_config( - data_schema, - partition_schema, - file_groups, - object_store_url, - Arc::new(parquet_source), - ) - .with_projection(Some(projection_vector)) - .with_table_partition_cols(partition_fields), - _ => get_file_config( + (Some(data_schema), Some(projection_vector), Some(partition_fields)) => { + get_file_config_builder( Review Comment: this now uses a builder -- 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