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

   Thanks for providing a repro script! This is a great catch. 
   
   It looks like specifying the `selected_fields` filtered out the partition 
fields in the projected schema.
   
https://github.com/apache/iceberg-python/blob/8878b2c260bf62ad16ef6f8e8d3a6ae93103eff7/pyiceberg/table/__init__.py#L1742
   
   Instead of passing the full schema, maybe we can just always include the 
partition fields in the projected schema. 
   WDYT? 


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