Closed twitu closed 1 year ago
Here's the test data file with the same schema and 10 records.
This test fails.
#[test]
fn arrow2_test() {
let mut reader = File::open("test_data.parquet").expect("Unable to open given file");
let metadata = read::read_metadata(&mut reader).expect("Unable to read metadata");
let schema = read::infer_schema(&metadata).expect("Unable to infer schema");
let mut fr = FileReader::new(
reader,
metadata.row_groups,
schema,
Some(1000),
None,
None,
);
assert!(fr.next().is_some())
}
This is a non-issue. I had to enable the io_parquet_compression
feature to get this working.
I have this parquet file where the
arrow2-0.17.0
parquet file reader does not return any data.I have created the file using pyarrow. And I have double checked that pyarrow and datafusion can read it. I've also checked that the metadata and schema are loaded correctly by arrow2 reader. But no chunks are returned by the reader.
Unlike #1370 the schema for my file is pretty simple.
And even the row groups are read correctly.
I'm not sure what is going wrong here. Do you have any suggestions?