Skip to content

Commit

Permalink
Update arrow-avro/src/reader/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Marco Neumann <[email protected]>
  • Loading branch information
tustvold and crepererum authored Jan 17, 2024
1 parent 12346d5 commit a61a319
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arrow-avro/src/reader/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,12 @@ mod test {
];

for file in files {
println!("file: {file}");
let file = File::open(arrow_test_data(file)).unwrap();
let mut reader = BufReader::new(file);
let header = read_header(&mut reader).unwrap();
let compression = header.compression().unwrap();
println!("{compression:?}");
println!("compression: {compression:?}");
for result in read_blocks(reader) {
let block = result.unwrap();
assert_eq!(block.sync, header.sync());
Expand Down

0 comments on commit a61a319

Please sign in to comment.