KevinJiao commented on issue #2672:
URL: 
https://github.com/apache/iceberg-python/issues/2672#issuecomment-3482019550

   > we can just always include the partition fields in the projected schema.
   
   Wouldn't that change the behavior of all the `.to_pandas,to_arrow,etc`? 
Those all call 
   `TableScan.projection()`
   
https://github.com/apache/iceberg-python/blob/5773b7f1bf2081a90a490f9d670eef804eb88ab4/pyiceberg/table/__init__.py#L2037
   
   And if the partition fields are then included, any 
`Table.scan(selected_fields=[foo, bar]).to_pandas()` would also include the 
partition fields in addition to the selected fields


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

Reply via email to