From 6bbd30da42eaeea5dbd26277a31830208a880dc5 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Wed, 8 May 2019 11:01:50 -0700 Subject: [PATCH] Add early invocation of PushPredicateIntoTableScan --- .../src/main/java/io/prestosql/sql/planner/PlanOptimizers.java | 1 + 1 file changed, 1 insertion(+) diff --git a/presto-main/src/main/java/io/prestosql/sql/planner/PlanOptimizers.java b/presto-main/src/main/java/io/prestosql/sql/planner/PlanOptimizers.java index 5d19e08e41bc..2626905328e2 100644 --- a/presto-main/src/main/java/io/prestosql/sql/planner/PlanOptimizers.java +++ b/presto-main/src/main/java/io/prestosql/sql/planner/PlanOptimizers.java @@ -296,6 +296,7 @@ public PlanOptimizers( new PushLimitThroughOuterJoin(), new PushLimitThroughSemiJoin(), new PushLimitIntoTableScan(metadata), + new PushPredicateIntoTableScan(metadata, typeAnalyzer), new RemoveTrivialFilters(), new ImplementFilteredAggregations(), new SingleDistinctAggregationToGroupBy(),