liurenjie1024 commented on PR #577:
URL: https://github.com/apache/iceberg-rust/pull/577#issuecomment-2323659302

   The reason we  use `PartitionSpec` was that some fields, such as spec id, 
partition field id should not be passed by user when creating a table. But I 
think you are right when a user wants to create partition spec of a table, it 
would be more nature to build against a schema. This maybe confusing to user 
because their spec id and partition field id will be lost, it seems that there 
is no type safe approach to ensure, and we need to add some doc to explain it.


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