You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "danielcweeks (via GitHub)" <gi...@apache.org> on 2025/04/02 20:42:03 UTC
Re: [PR] Spark: when doing rewrite_data_files, check for partitioning schema compatibility [iceberg]
danielcweeks commented on code in PR #12651:
URL: https://github.com/apache/iceberg/pull/12651#discussion_r2025566400
##########
api/src/main/java/org/apache/iceberg/PartitionSpec.java:
##########
@@ -265,6 +265,22 @@ public boolean equals(Object other) {
return Arrays.equals(fields, that.fields);
}
+ public boolean equalOrFinerThan(PartitionSpec that) {
Review Comment:
I'm not convinced of the naming here, but we might want to think about the other direction so say that "one partition spec _covers_ another"
--
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: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org