Skip to content

Commit

Permalink
Use Transform#isVoid for filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
rice668 authored and findepi committed May 5, 2023
1 parent 15e5d71 commit ee4413c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -358,7 +358,7 @@ private static boolean canEnforceConstraintWithinPartitioningSpec(TypeOperators

private static boolean canEnforceConstraintWithPartitionField(TypeOperators typeOperators, PartitionField field, IcebergColumnHandle column, Domain domain)
{
if (field.transform().toString().equals("void")) {
if (field.transform().isVoid()) {
// Useless for filtering.
return false;
}
Expand Down

0 comments on commit ee4413c

Please sign in to comment.