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

   > I checked spark and it also fails:
   pyspark.errors.exceptions.captured.IllegalArgumentException: Cannot add 
redundant partition: 1000: ts_year: year(2) conflicts with 1001: ts_month: 
month(2)
   
   I think they don't allow, see these two methods:
   
https://github.com/apache/iceberg/blob/afda8be25652d44d9339a79c6797b6bf20c55bd6/api/src/main/java/org/apache/iceberg/PartitionSpec.java#L418
   
https://github.com/apache/iceberg/blob/c4f9337a61bf9f4e80f058e3f77b9cb8f617522e/api/src/main/java/org/apache/iceberg/transforms/Dates.java#L208
   
   


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