Class UnwrapRowSubscript

java.lang.Object
io.trino.sql.planner.iterative.rule.ExpressionRewriteRuleSet
io.trino.sql.planner.iterative.rule.UnwrapRowSubscript

public class UnwrapRowSubscript extends ExpressionRewriteRuleSet
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)
  • Constructor Details

    • UnwrapRowSubscript

      public UnwrapRowSubscript()