Function mz_expr::scalar::func::array_create_scalar
source ยท fn array_create_scalar<'a>(
datums: &[Datum<'a>],
temp_storage: &'a RowArena,
) -> Result<Datum<'a>, EvalError>
Expand description
Constructs a new zero or one dimensional array out of an arbitrary number of scalars.
If datums
is empty, constructs a zero-dimensional array. Otherwise,
constructs a one dimensional array whose lower bound is one and whose length
is equal to datums.len()
.