Fokko commented on code in PR #8971: URL: https://github.com/apache/iceberg/pull/8971#discussion_r1381171214
########## api/src/main/java/org/apache/iceberg/transforms/Days.java: ########## @@ -55,14 +56,14 @@ public boolean satisfiesOrderOf(Transform<?, ?> other) { } if (other instanceof Timestamps) { - return Timestamps.DAY.satisfiesOrderOf(other); + return ((Timestamps) other).getResultTypeUnit() == ChronoUnit.DAYS Review Comment: Can we cast once and store it in a local variable? -- 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