Support AssignUniqueId in EffectivePredicateExtractor
@@ -15,6 +15,7 @@ package com.facebook.presto.sql.planner;
import com.facebook.presto.spi.ColumnHandle;
import com.facebook.presto.sql.planner.plan.AggregationNode;
+import com.facebook.presto.sql.planner.plan.AssignUniqueId;
import com.facebook.presto.sql.planner.plan.DistinctLimitNode;
import com.facebook.presto.sql.planner.plan.ExchangeNode;
import com.facebook.presto.sql.planner.plan.FilterNode;
@@ -181,6 +182,12 @@ public class EffectivePredicateExtractor
return node.getSource().accept(this, context);
}
+ @Override
+ public Expression visitAssignUniqueId(AssignUniqueId node, Void context)
+ {
+ return node.getSource().accept(this, context);
+ }
+
@Override
public Expression visitDistinctLimit(DistinctLimitNode node, Void context)
{
