NewTypedArrayFlattenExpr returns a new ArrayFlattenExpr that is verified to be well-typed.
(input Expr)
| 551 | |
| 552 | // NewTypedArrayFlattenExpr returns a new ArrayFlattenExpr that is verified to be well-typed. |
| 553 | func NewTypedArrayFlattenExpr(input Expr) *ArrayFlatten { |
| 554 | inputTyp := input.(TypedExpr).ResolvedType() |
| 555 | node := &ArrayFlatten{ |
| 556 | Subquery: input, |
| 557 | } |
| 558 | node.typ = types.MakeArray(inputTyp) |
| 559 | return node |
| 560 | } |
| 561 | |
| 562 | // NewTypedIfErrExpr returns a new IfErrExpr that is verified to be well-typed. |
| 563 | func NewTypedIfErrExpr(cond, orElse, errCode TypedExpr) *IfErrExpr { |
nothing calls this directly
no test coverage detected