You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// LEAST() function in MySQL is used to find smallest values from given arguments respectively. If any given value is NULL, it return NULLs. Otherwise it returns the smallest value.
487
+
// LEAST() function in MySQL is used to find the smallest values from given arguments respectively.
488
+
// If any given value is NULL, it returns NULLs. Otherwise, it returns the smallest value.
490
489
pubfncreate_least_udf() -> ScalarUDF{
491
490
let fun = make_scalar_function(move |args:&[ArrayRef]| {
492
491
assert!(args.len() == 2);
493
492
494
493
let left = &args[0];
495
494
let right = &args[1];
496
495
497
-
let base_type = least_coercion(&left.data_type(),&right.data_type()).ok_or_else(|| {
0 commit comments