rutb327 commented on PR #2305:
URL: https://github.com/apache/iceberg-python/pull/2305#issuecomment-3180452864

   In Java all partition-schema validation goes through 
https://github.com/apache/iceberg/blob/4dbc7f578eee7ceb9def35ebfa1a4cc236fb598f/api/src/main/java/org/apache/iceberg/PartitionSpec.java#L392-L416
 during table creation with partition specs, partition spec updates and also 
during schema evolution. 
   In Python the validation in 
https://github.com/apache/iceberg-python/blob/d1c6005ad05166ab0fb08d3c15ccdfd7568e8013/pyiceberg/table/update/spec.py
 only covered partition spec updates
   So, I've added the validation to:
   
   - 
https://github.com/apache/iceberg-python/blob/d1c6005ad05166ab0fb08d3c15ccdfd7568e8013/pyiceberg/partitioning.py
   - 
https://github.com/apache/iceberg-python/blob/d1c6005ad05166ab0fb08d3c15ccdfd7568e8013/pyiceberg/table/update/schema.py
 
   
   **Are these the correct locations for the validation logic, or should they 
be placed elsewhere?**


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