Skip to content

Commit

Permalink
Update stats_v2.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
berkaysynnada committed Feb 1, 2025
1 parent 140fb5e commit 5630ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/physical-expr-common/src/stats_v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ impl StatisticsV2 {
return internal_err!("Variance argument of Unknown Distribution cannot be ScalarValue::Null");
}
let zero = ScalarValue::new_zero(&v.data_type())?;
if !v.ge(&zero) {
if v.lt(&zero) {
return Ok(false);
}
}
Expand Down

0 comments on commit 5630ff9

Please sign in to comment.