merge_captures_with_lazy_args

Function merge_captures_with_lazy_args 

Source
pub fn merge_captures_with_lazy_args(
    captures: Option<&RecordBatch>,
    params: &[FieldRef],
    args: &[&dyn Fn() -> Result<ArrayRef>],
) -> Result<RecordBatch>
Expand description

Lazy version of merge_captures_with_args that receives closures to compute the arguments, and calls only the necessary to match the number of params