Skip to content

Commit

Permalink
Update datafusion/physical-optimizer/src/pruning.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
adriangb authored Dec 17, 2024
1 parent 965e07a commit f61c79a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions datafusion/physical-optimizer/src/pruning.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2116,6 +2116,7 @@ mod tests {
#[test]
fn prune_missing_statistics() {
// If the min or max stats are missing we should not prune
// (unless we know all rows are null, see `prune_all_rows_null_counts`)
let schema = Arc::new(Schema::new(vec![Field::new("i", DataType::Int32, true)]));
let container_stats = ContainerStats {
min: Some(Arc::new(Int32Array::from(vec![None, Some(0)]))),
Expand Down

0 comments on commit f61c79a

Please sign in to comment.