Class UnwrapRowSubscript
java.lang.Object
io.trino.sql.planner.iterative.rule.ExpressionRewriteRuleSet
io.trino.sql.planner.iterative.rule.UnwrapRowSubscript
Transforms expressions of the form
ROW(x, y)[1] to x
and
CAST(ROW(x, y) AS row(f1 type1, f2 type2))[1] to CAST(x AS type1)-
Nested Class Summary
Nested classes/interfaces inherited from class io.trino.sql.planner.iterative.rule.ExpressionRewriteRuleSet
ExpressionRewriteRuleSet.ExpressionRewriter -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.trino.sql.planner.iterative.rule.ExpressionRewriteRuleSet
aggregationExpressionRewrite, filterExpressionRewrite, joinExpressionRewrite, patternRecognitionExpressionRewrite, projectExpressionRewrite, rules, valuesExpressionRewrite
-
Constructor Details
-
UnwrapRowSubscript
public UnwrapRowSubscript()
-