Class PushRemoteExchangeThroughAssignUniqueId
java.lang.Object
io.trino.sql.planner.iterative.rule.PushRemoteExchangeThroughAssignUniqueId
- All Implemented Interfaces:
Rule<ExchangeNode>
public final class PushRemoteExchangeThroughAssignUniqueId
extends Object
implements Rule<ExchangeNode>
Pushes RemoteExchange node down through the AssignUniqueId to preserve
partitioned_on(unique) and grouped(unique) properties for the output of
the AssignUniqueId.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.trino.sql.planner.iterative.Rule
Rule.Context, Rule.Result -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(ExchangeNode node, Captures captures, Rule.Context context) Returns a pattern to which plan nodes this rule applies.
-
Constructor Details
-
PushRemoteExchangeThroughAssignUniqueId
public PushRemoteExchangeThroughAssignUniqueId()
-
-
Method Details
-
getPattern
Description copied from interface:RuleReturns a pattern to which plan nodes this rule applies.- Specified by:
getPatternin interfaceRule<ExchangeNode>
-
apply
- Specified by:
applyin interfaceRule<ExchangeNode>
-