rdblue commented on pull request #1744:
URL: https://github.com/apache/iceberg/pull/1744#issuecomment-724394053


   For reference later, the problem here is that Avro's `BuildAvroProjection` 
can fail if the expected schema and Avro schema don't match. The problem in 
`GetProjectedIds` caused an empty `data_file` field to not get projected in the 
result of `PruneColumns` because no ID was returned to select it. The number of 
fields in the final Avro projection must match so that all column indexes align 
between the expected Iceberg schema and the schema passed to the Avro resolver.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to