zhaoyanggh opened a new issue #1515:
URL: https://github.com/apache/arrow-rs/issues/1515
**Describe the bug**
I want to read the parquet I generated, which get the error when I use the
"get_row_iter" api, I get this error:
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value',
/home/yzhao/.cargo/registry/src/github.com-1ecc6299db9ec823/parquet-11.0.0/src/record/reader.rs:132:52
**To Reproduce**
Steps to reproduce the behavior:
This is my schema:
message table {
REPEATED group table_info {
REQUIRED BYTE_ARRAY name;
REPEATED group cols {
REQUIRED BYTE_ARRAY name;
REQUIRED INT32 type;
OPTIONAL INT32 length;
}
REPEATED group tags {
REQUIRED BYTE_ARRAY name;
REQUIRED INT32 type;
OPTIONAL INT32 length;
}
}
}
I can successfully read the parquet if I change the schema to :
message table {
REPEATED group table_info {
REQUIRED BYTE_ARRAY name;
REPEATED group cols {
REQUIRED BYTE_ARRAY name;
REQUIRED INT32 type;
OPTIONAL INT32 length;
}
}
}
**Expected behavior**
For my generated parquet file, I can successfully use mac's parquet-tools to
read them:
<img width="1366" alt="Screen Shot 2022-04-01 at 10 50 44 AM"
src="https://user-images.githubusercontent.com/47117543/161186191-d82cf613-d2b5-4afb-8d28-2f8676ac3a37.png">
**Additional context**
--
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]