alamb commented on PR #17875: URL: https://github.com/apache/datafusion/pull/17875#issuecomment-3366566660
I ran the reproducer from - https://github.com/apache/datafusion/issues/16684 With the code from this PR and the output is: ``` | | DataSourceExec: file_groups={1 group: [[var/folders/1l/tg68jc6550gg8xqf1hr4mlwr0000gn/T/.tmpgg4Dpy/sample_data.parquet]]}, projection=[id], file_type=parquet, predicate=id@0 = 1, pruning_predicate=id_null_count@2 != row_count@3 AND id_min@0 <= 1 AND 1 <= id_max@1, required_guarantees=[id in (1)], metrics=[output_rows=10, elapsed_compute=1ns, batches_split=0, bytes_scanned=123, file_open_errors=0, file_scan_errors=0, files_ranges_pruned_statistics=0, num_predicate_creation_errors=0, page_index_rows_matched=10, page_index_rows_pruned=0, predicate_cache_inner_records=0, predicate_cache_records=0, predicate_evaluation_errors=0, pushdown_rows_matched=0, pushdown_rows_pruned=0, row_groups_matched_bloom_filter=0, row_groups_matched_statistics=1, row_groups_pruned_bloom_filter=0, row_groups_pruned_statistics=0, bloom_filter_eval_time=146.668µs, metadata_load_time=272.042µs, page_index_eval_time=141.793µs, row_pushdown_eval_time=2ns, statistics_eval_t ime=138.251µs, time_elapsed_opening=1.353083ms, time_elapsed_processing=1.590625ms, time_elapsed_scanning_total=372.166µs, time_elapsed_scanning_until_data=335.25µs] | ``` Which has only the necessary columns, as expected: ``` projection=[id] ``` 🎉 Thank you @kosiew -- 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]
