Skip to content

Commit

Permalink
CR note
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamGS committed Jul 22, 2024
1 parent 6d1530a commit 2d734aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vortex-array/src/array/constant/compute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ impl SearchSortedFn for ConstantArray {

impl CompareFn for ConstantArray {
fn compare(&self, rhs: &Array, operator: Operator) -> VortexResult<Array> {
if let Some(true) = rhs.statistics().compute_is_constant() {
if let Some(true) = rhs.statistics().get_as::<bool>(Stat::IsConstant) {
let lhs = self.scalar();
let rhs = scalar_at(rhs, 0)?;

Expand Down

0 comments on commit 2d734aa

Please sign in to comment.