Class PushProjectionThroughJoin
java.lang.Object
io.trino.sql.planner.iterative.rule.PushProjectionThroughJoin
Utility class for pushing projections through inner join so that joins are not separated
by a project node and can participate in cross join elimination or join reordering.
-
Method Summary
Modifier and TypeMethodDescriptionpushProjectionThroughJoin(PlannerContext plannerContext, ProjectNode projectNode, Lookup lookup, PlanNodeIdAllocator planNodeIdAllocator, Session session, TypeAnalyzer typeAnalyzer, TypeProvider types)
-
Method Details
-
pushProjectionThroughJoin
public static Optional<PlanNode> pushProjectionThroughJoin(PlannerContext plannerContext, ProjectNode projectNode, Lookup lookup, PlanNodeIdAllocator planNodeIdAllocator, Session session, TypeAnalyzer typeAnalyzer, TypeProvider types)
-