linzch3 commented on PR #4419: URL: https://github.com/apache/iceberg-python/pull/4419#issuecomment-7165317635
thx for catching these! Agreed on both. I made add_files reject files that have field IDs on only some columns, since the reader would silently return nulls for the rest. For the all-pruned case, the fallback to name mapping now depends on whether the file has any field IDs at all, not on whether the pruned schema is empty, so a file with IDs is always read by ID. Added tests for both. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
