diff --git a/vortex-arrow/benches/to_arrow.rs b/vortex-arrow/benches/to_arrow.rs index 1a64f846b7b..1bac19f74e2 100644 --- a/vortex-arrow/benches/to_arrow.rs +++ b/vortex-arrow/benches/to_arrow.rs @@ -307,7 +307,11 @@ fn dictionary_codes() -> ArrayRef { fn offset(source: VarBinViewArray, ctx: &mut ExecutionCtx) -> ArrayRef { let source = source.into_array(); - let mut builder = VarBinBuilder::::with_capacity(source.dtype().clone(), source.len()); + let mut builder = VarBinBuilder::::with_capacity_in( + source.dtype().clone(), + source.len(), + ctx.allocator(), + ); source.append_to_builder(&mut builder, ctx).unwrap(); builder.finish_into_varbin().into_array() }