Method
invoke_with_args
(
&self,
args: HigherOrderFunctionArgs,
)
Source from the content-addressed store, hash-verified
| 562 | } |
| 563 | |
| 564 | fn invoke_with_args( |
| 565 | &self, |
| 566 | args: HigherOrderFunctionArgs, |
| 567 | ) -> Result<ColumnarValue> { |
| 568 | match &args.args[0] { |
| 569 | ValueOrLambda::Lambda(lambda) => lambda.evaluate( |
| 570 | &[&|| Ok(Arc::new(NullArray::new(args.number_rows)))], |
| 571 | |arrays| Ok(arrays.to_vec()), |
| 572 | ), |
| 573 | ValueOrLambda::Value(value) => Ok(value.clone()), |
| 574 | } |
| 575 | } |
| 576 | } |
| 577 | |
| 578 | #[test] |
Tested by
no test coverage detected