File tree Expand file tree Collapse file tree
vortex-array/src/aggregate_fn/fns/is_constant Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ use crate::aggregate_fn::AggregateFnId;
3333use crate :: aggregate_fn:: AggregateFnVTable ;
3434use crate :: aggregate_fn:: DynAccumulator ;
3535use crate :: aggregate_fn:: EmptyOptions ;
36- use crate :: arrays:: BoolArray ;
3736use crate :: arrays:: Constant ;
3837use crate :: arrays:: Null ;
3938use crate :: builtins:: ArrayBuiltins ;
@@ -51,6 +50,8 @@ use crate::scalar_fn::fns::operators::Operator;
5150/// Check if two arrays of the same length have equal values at every position (null-safe).
5251///
5352/// Two positions are considered equal if they are both null, or both non-null with the same value.
53+ ///
54+ // TODO(ngates): move this function out when we have any/all aggregate functions.
5455fn arrays_value_equal ( a : & ArrayRef , b : & ArrayRef , ctx : & mut ExecutionCtx ) -> VortexResult < bool > {
5556 debug_assert_eq ! ( a. len( ) , b. len( ) ) ;
5657 if a. is_empty ( ) {
You can’t perform that action at this time.
0 commit comments