Skip to content

Commit

Permalink
Repro binary with nulls bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mdrach committed Apr 13, 2022
1 parent 0d93c58 commit 035a4bd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Binary file added testing/data_0_0_0.snappy.parquet
Binary file not shown.
12 changes: 12 additions & 0 deletions tests/it/io/parquet/read.rs
Original file line number Diff line number Diff line change
Expand Up @@ -546,3 +546,15 @@ fn invalid_utf8() {
error
);
}


#[test]
fn binary_column_with_nulls_test() -> Result<()> {
let path = "testing/data_0_0_0.snappy.parquet";
let reader = std::fs::File::open(path)?;
let reader = FileReader::try_new(reader, None, Some(178111), None, None)?;

reader.collect::<Result<Vec<_>>>()?;

Ok(())
}

0 comments on commit 035a4bd

Please sign in to comment.