diff --git a/arrow/benches/json_writer.rs b/arrow/benches/json_writer.rs index 1e169845f8e3..a154599980ce 100644 --- a/arrow/benches/json_writer.rs +++ b/arrow/benches/json_writer.rs @@ -90,7 +90,7 @@ fn create_nullable_struct(len: usize) -> StructArray { } fn bench_primitive(c: &mut Criterion) { - let c1 = Arc::new(create_string_array::(NUM_ROWS, 0.)); + let c1 = Arc::new(create_primitive_array::(NUM_ROWS, 0.)); let c2 = Arc::new(create_primitive_array::(NUM_ROWS, 0.)); let c3 = Arc::new(create_primitive_array::(NUM_ROWS, 0.));