difin commented on PR #5792: URL: https://github.com/apache/hive/pull/5792#issuecomment-2840498605
@okumin @deniskuzZ This works except for one case and I’m not sure how we can do it. The case where it doesn't work: Let’s say you have a table with partition evolution and the partition specs are: ``` Spec_Id, Partition Schema 0, {field_a: String} 1,. {field_a: String, b: String} ``` And let’s say there are 2 partitions on disk: ``` {a=NULL} {a=NULL, b=NULL} ``` When calculating partition hash, we pass Iceberg partition struct, which contain fields from all partition specs, so we send these inputs to computeHash methods for the 2 different partitions: ``` {a=NULL, b=NULL} {a=NULL, b=NULL} ``` and the partition hash becomes the same for both partitions.. -- 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org