jecsand838 commented on code in PR #9162:
URL: https://github.com/apache/arrow-rs/pull/9162#discussion_r2696335018
##########
arrow-avro/src/reader/mod.rs:
##########
@@ -1017,8 +1031,33 @@ impl ReaderBuilder {
.ok_or_else(|| {
ArrowError::ParseError("No Avro schema present in file
header".into())
})?;
+ let projected_reader_schema = self
+ .projection
+ .as_deref()
+ .map(|projection| {
+ let base_schema = if let Some(reader_schema) =
reader_schema {
Review Comment:
I'll do a follow-up PR with comments covering this.
--
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]