Skip to content

Commit c80b213

Browse files
Refactor: fix formatting issues and adjust test helper function in Avro writer benchmarks
1 parent f09b1a7 commit c80b213

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

arrow-avro/benches/avro_writer.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ fn make_interval_mdn_array(n: usize) -> PrimitiveArray<IntervalMonthDayNanoType>
247247

248248
#[inline]
249249
fn make_bool_array(n: usize) -> BooleanArray {
250-
make_bool_array_with_tag(n, 0xB00_1)
250+
make_bool_array_with_tag(n, 0xB001)
251251
}
252252
#[inline]
253253
fn make_i32_array(n: usize) -> PrimitiveArray<Int32Type> {
@@ -527,7 +527,7 @@ static STRUCT_DATA: Lazy<Vec<RecordBatch>> = Lazy::new(|| {
527527
Field::new("s2", DataType::Int32, false),
528528
Field::new("s3", DataType::Float64, false),
529529
]
530-
.into(),
530+
.into(),
531531
);
532532
let schema = schema_single("field1", struct_dt);
533533
SIZES
@@ -698,4 +698,4 @@ criterion_group! {
698698
config = Criterion::default().configure_from_args();
699699
targets = criterion_benches
700700
}
701-
criterion_main!(avro_writer);
701+
criterion_main!(avro_writer);

0 commit comments

Comments
 (0)