RussellSpitzer commented on code in PR #12651:
URL: https://github.com/apache/iceberg/pull/12651#discussion_r2025632539


##########
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:
   +1, I think coarse/narrow are probably the wrong vocabulary for this since 
we specifically talking about a partitioning which can live within another. 
Covering sounds good, I believe Spark uses a "satisfies" vocabulary when 
describing a distribution falling within another.
   
   For example Identity(x), identity(y) satisifies ( Identity x) but not vice 
versa



-- 
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-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to