tustvold commented on issue #1701:
URL: https://github.com/apache/arrow-rs/issues/1701#issuecomment-1126311359
It silently ignored the out-of-order projection, i.e.
```
#[test]
fn test_out_of_order_projection() {
let testdata = arrow::util::test_util::parquet_test_data();
let path = format!("{}/alltypes_plain.parquet", testdata);
let file = File::open(&path).unwrap();
let reader = SerializedFileReader::try_from(file).unwrap();
let expected_rows = reader.metadata().file_metadata().num_rows() as
usize;
let mut arrow_reader = ParquetFileArrowReader::new(Arc::new(reader));
let b1 = arrow_reader.get_record_reader_by_columns([0, 1],
2).unwrap();
let b2 = arrow_reader.get_record_reader_by_columns([1, 0],
2).unwrap();
assert_eq!(b1.schema, b2.schema);
}
```
Would pass
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]