Skip to content

Commit fdf690d

Browse files
committed
Tweak bench_primitive
1 parent 5452d08 commit fdf690d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arrow/benches/json_writer.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ fn create_nullable_struct(len: usize) -> StructArray {
9090
}
9191

9292
fn bench_primitive(c: &mut Criterion) {
93-
let c1 = Arc::new(create_string_array::<i32>(NUM_ROWS, 0.));
93+
let c1 = Arc::new(create_primitive_array::<Float32Type>(NUM_ROWS, 0.));
9494
let c2 = Arc::new(create_primitive_array::<Int32Type>(NUM_ROWS, 0.));
9595
let c3 = Arc::new(create_primitive_array::<UInt32Type>(NUM_ROWS, 0.));
9696

0 commit comments

Comments
 (0)