pub fn merge_captures_with_lazy_args(
captures: Option<&RecordBatch>,
params: &[Arc<Field>],
args: &[&dyn Fn() -> Result<Arc<dyn Array>, DataFusionError>],
) -> Result<RecordBatch, DataFusionError>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