Copr: Vectorize `Length`
@@ -10,6 +10,7 @@ pub mod impl_json;
pub mod impl_like;
pub mod impl_math;
pub mod impl_op;
+pub mod impl_string;
pub mod impl_time;
pub use self::types::*;
@@ -28,6 +29,7 @@ use self::impl_json::*;
use self::impl_like::*;
use self::impl_math::*;
use self::impl_op::*;
+use self::impl_string::*;
use self::impl_time::*;
fn map_int_sig<F>(value: ScalarFuncSig, children: &[Expr], mapper: F) -> Result<RpnFnMeta>
@@ -316,6 +318,7 @@ fn map_expr_node_to_rpn_func(expr: &Expr) -> Result<RpnFnMeta> {
ScalarFuncSig::CastJsonAsTime |
ScalarFuncSig::CastJsonAsDuration |
ScalarFuncSig::CastJsonAsJson => map_cast_func(expr)?,
+ ScalarFuncSig::Length => length_fn_meta(),
_ => return Err(other_err!(
"ScalarFunction {:?} is not supported in batch mode",
value
