Skip to content

Commit 852ac32

Browse files
committed
is-constant
Signed-off-by: Nicholas Gates <nick@nickgates.com>
1 parent ab7c96d commit 852ac32

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • vortex-array/src/aggregate_fn/fns/is_constant

vortex-array/src/aggregate_fn/fns/is_constant/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ use crate::aggregate_fn::AggregateFnId;
3333
use crate::aggregate_fn::AggregateFnVTable;
3434
use crate::aggregate_fn::DynAccumulator;
3535
use crate::aggregate_fn::EmptyOptions;
36-
use crate::arrays::BoolArray;
3736
use crate::arrays::Constant;
3837
use crate::arrays::Null;
3938
use 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.
5455
fn 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() {

0 commit comments

Comments
 (0)