rdblue commented on code in PR #6220:
URL: https://github.com/apache/iceberg/pull/6220#discussion_r1027344805
##########
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:
We should be able to roll this back once we deprecate the old `apply` method
in favor of the `bind` approach. Then we don't need to keep two classes around
for those.
--
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]