010Soham opened a new pull request, #2845:
URL: https://github.com/apache/iceberg-python/pull/2845

   ## What does this change do?
   `table.inspect.partitions()` now builds its partition schema using only the 
partition specs
   that appear in the selected snapshot’s manifests. This prevents new 
partition fields
   from showing up as `None` for data written with older specs.
   
   ## Why is this needed?
   When partition specs evolve, inspecting old snapshots should show the old 
partition
   shape only. The previous behavior mixed all specs together, which produced 
misleading
   `None` fields.
   
   ## How was this tested?
   - make lint
   - uv run python -m pytest tests/io/test_pyarrow.py -k "partition_evolution" 
-v
   - make test (timed out at ~42%)
   
   Closes #1120 


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