etseidl commented on code in PR #8574:
URL: https://github.com/apache/arrow-rs/pull/8574#discussion_r2418134637
##########
parquet/src/file/serialized_reader.rs:
##########
@@ -1894,15 +1894,9 @@ mod tests {
80, 65, 82, 49,
];
let ret = SerializedFileReader::new(Bytes::copy_from_slice(&data));
- #[cfg(feature = "encryption")]
assert_eq!(
ret.err().unwrap().to_string(),
- "Parquet error: Could not parse metadata: Parquet error: Received
empty union from remote ColumnOrder"
- );
- #[cfg(not(feature = "encryption"))]
- assert_eq!(
- ret.err().unwrap().to_string(),
- "Parquet error: Received empty union from remote ColumnOrder"
+ "Parquet error: Required field schema is missing"
Review Comment:
This error changes because the malformed metadata is now detected earlier.
--
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]