xudong963 commented on code in PR #24648:
URL: https://github.com/apache/datafusion/pull/24648#discussion_r3891552742
##########
datafusion/datasource/src/statistics.rs:
##########
@@ -44,6 +44,8 @@ pub(crate) struct MinMaxStatistics {
min_by_sort_order: Rows,
max_by_sort_order: Rows,
sort_order: LexOrdering,
+ /// Maps statistics row indices to input file indices when empty files
were skipped.
Review Comment:
Yes — I simplified this in `e78603f50`. `MinMaxStatistics` is back to a 1:1
mapping with its input and keeps its original empty-input contract. The callers
now filter exact-empty files only for min/max ordering reasoning, then append
those files back when rebuilding groups so they remain in the scan plan.
--
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]