Fix type mismatch in AddExchanges.Rewriter.visitUnnest
@@ -860,7 +860,7 @@ public class AddExchanges
@Override
public PlanWithProperties visitUnnest(UnnestNode node, PreferredProperties preferredProperties)
{
- PreferredProperties translatedPreferred = preferredProperties.translate(variable -> node.getReplicateVariables().contains(new Symbol(variable.getName())) ? Optional.of(variable) : Optional.empty());
+ PreferredProperties translatedPreferred = preferredProperties.translate(variable -> node.getReplicateVariables().contains(variable) ? Optional.of(variable) : Optional.empty());
return rebaseAndDeriveProperties(node, planChild(node, translatedPreferred));
}
