Return records from eval_batch through a RecordBatch view

This commit is contained in:
Dennis Kobert
2026-08-11 09:26:36 +00:00
parent 5db7e1816a
commit 264601c5f7
4 changed files with 136 additions and 15 deletions

View File

@@ -1258,7 +1258,7 @@ pub(crate) fn generate_node_impl(crate_ident: &CrateIdent, parsed: &ParsedNodeFn
let batch_impl = match &parsed.attributes.batch {
Some(path) => quote! {
fn eval_batch<'__batch>(
&self,
&'__batch self,
__input: &'__batch #ctx_ident,
__range: ::std::ops::Range<u64>,
__scratch: Option<&'__batch mut [::std::mem::MaybeUninit<Self::Output>]>,