diff --git a/vortex-array/src/array/constant/canonical.rs b/vortex-array/src/array/constant/canonical.rs index a6a6bb6a43..867341871c 100644 --- a/vortex-array/src/array/constant/canonical.rs +++ b/vortex-array/src/array/constant/canonical.rs @@ -1,6 +1,6 @@ use std::iter; -use vortex_dtype::{match_each_native_ptype, Nullability, PType}; +use vortex_dtype::{match_each_native_ptype, DType, Nullability, PType}; use vortex_error::{vortex_bail, VortexResult}; use vortex_scalar::{BoolScalar, Utf8Scalar}; @@ -35,7 +35,7 @@ impl IntoCanonical for ConstantArray { return Ok(Canonical::VarBin(VarBinArray::from_iter( iter::repeat(Some(bytes)).take(self.len()), - vortex_dtype::DType::Utf8(validity.nullability()), + DType::Utf8(validity.nullability()), ))); } diff --git a/vortex-datafusion/src/eval.rs b/vortex-datafusion/src/eval.rs index cea8905866..5d270bebed 100644 --- a/vortex-datafusion/src/eval.rs +++ b/vortex-datafusion/src/eval.rs @@ -60,7 +60,9 @@ fn eval_eq_impl(input: &StructArray, lhs: &Expr, rhs: &Expr) -> VortexResult vortex_bail!("Unsupported expression combination for eq. ({lhs:?}) with ({rhs:?})."), + _ => vortex_bail!( + "Unsupported expression combination for operation 'eq', ({lhs:?} with {rhs:?})" + ), } }