diff --git a/core/trino-main/src/main/java/io/trino/sql/planner/iterative/rule/TransformUncorrelatedInPredicateSubqueryToSemiJoin.java b/core/trino-main/src/main/java/io/trino/sql/planner/iterative/rule/TransformUncorrelatedInPredicateSubqueryToSemiJoin.java index a2fa74e0a840..481d00968517 100644 --- a/core/trino-main/src/main/java/io/trino/sql/planner/iterative/rule/TransformUncorrelatedInPredicateSubqueryToSemiJoin.java +++ b/core/trino-main/src/main/java/io/trino/sql/planner/iterative/rule/TransformUncorrelatedInPredicateSubqueryToSemiJoin.java @@ -28,7 +28,7 @@ import static io.trino.sql.planner.plan.Patterns.applyNode; /** - * This optimizers looks for InPredicate expressions in ApplyNodes and replaces the nodes with SemiJoin nodes. + * This optimizer looks for InPredicate expressions in ApplyNodes and replaces the nodes with SemiJoin nodes. *
* Plan before optimizer: *
@@ -44,8 +44,8 @@ * Filter(semijoinresult): * SemiJoin * - source: plan A - * - filteringSource: symbol a - * - sourceJoinSymbol: plan B + * - filteringSource: plan B + * - sourceJoinSymbol: symbol a * - filteringSourceJoinSymbol: symbol b * - semiJoinOutput: semijoinresult *