anoopj opened a new pull request, #2995: URL: https://github.com/apache/iceberg-rust/pull/2995
## Which issue does this PR close? - Refs https://github.com/apache/iceberg-rust/issues/2879 ## What changes are included in this PR? A projection of only metadata columns leaves the data field-id list empty, which get_arrow_projection_mask maps to reading all columns (so a bare COUNT(*) still gets a row count). When _pos is projected, the RowNumber virtual column supplies the row count independently of the data columns, so read no data columns instead of all of them. Pure-constant and empty projections keep the read-all behavior, since they have no other row source. ## Are these changes tested? Added several tests -- 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]
