diff --git a/vortex-array/src/array/primitive/stats.rs b/vortex-array/src/array/primitive/stats.rs index ea9feebc6..787c8609a 100644 --- a/vortex-array/src/array/primitive/stats.rs +++ b/vortex-array/src/array/primitive/stats.rs @@ -403,7 +403,7 @@ mod test { let min: Option = arr.statistics().compute(Stat::Min); let max: Option = arr.statistics().compute(Stat::Max); let null_i32 = Scalar::null(DType::Primitive(PType::I32, Nullability::Nullable)); - assert_eq!(min, Some(null_i32.clone())); - assert_eq!(max, Some(null_i32)); + assert_eq!(min, None); + assert_eq!(max, None); } }