adriangb commented on code in PR #21285:
URL: https://github.com/apache/datafusion/pull/21285#discussion_r3021811865
##########
datafusion/datasource-parquet/src/opener.rs:
##########
@@ -887,19 +917,86 @@ impl RowGroupsPrunedParquetOpen {
mem::replace(&mut prepared.async_file_reader,
replacement_reader),
reader_metadata,
);
- self.row_groups
- .prune_by_bloom_filters(
- &prepared.physical_file_schema,
- &mut builder,
- predicate,
- &prepared.file_metrics,
- )
- .await;
+ let parquet_columns: Vec<(String, usize, Type)> = predicate
+ .literal_columns()
+ .into_iter()
+ .filter_map(|column_name| {
+ let parquet_schema = builder.parquet_schema();
+ let (column_idx, _) = parquet_column(
Review Comment:
It'd be nice if we could get this to also support struct columns / struct
filters cc @friendlymatthew
--
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]