Fokko commented on code in PR #6220:
URL: https://github.com/apache/iceberg/pull/6220#discussion_r1027140078


##########
api/src/main/java/org/apache/iceberg/transforms/ProjectionUtil.java:
##########
@@ -231,7 +231,9 @@ static <S, T> UnboundPredicate<T> truncateArrayStrict(
   static <T> UnboundPredicate<T> projectTransformPredicate(
       Transform<?, T> transform, String partitionName, BoundPredicate<?> pred) 
{
     if (pred.term() instanceof BoundTransform
-        && transform.equals(((BoundTransform<?, ?>) pred.term()).transform())) 
{
+        && transform

Review Comment:
   I had to change this to make `testProjectionNames` pass. In the case of 
`hour` transform, we'll be comparing `transforms` which is an instance of 
`Timestamps` with `Hours`. The `toString()` both produce `hour`.



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