We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 484b00e commit fcc4735Copy full SHA for fcc4735
presto-main-base/src/main/java/com/facebook/presto/sql/planner/PlanOptimizers.java
@@ -957,6 +957,9 @@ public PlanOptimizers(
957
costCalculator,
958
ImmutableSet.of(new RemoveRedundantIdentityProjections(), new PruneRedundantProjectionAssignments())));
959
960
+ // Pass after connector optimizer, as it relies on connector optimizer to identify empty input tables and convert them to empty ValuesNode
961
+ builder.add(new SimplifyPlanWithEmptyInput());
962
+
963
// DO NOT add optimizers that change the plan shape (computations) after this point
964
965
// Precomputed hashes - this assumes that partitioning will not change
0 commit comments