NewTypedArrayFlattenExpr returns a new ArrayFlattenExpr that is verified to be well-typed.
(input Expr)
| 474 | |
| 475 | // NewTypedArrayFlattenExpr returns a new ArrayFlattenExpr that is verified to be well-typed. |
| 476 | func NewTypedArrayFlattenExpr(input Expr) *ArrayFlatten { |
| 477 | inputTyp := input.(TypedExpr).ResolvedType() |
| 478 | node := &ArrayFlatten{ |
| 479 | Subquery: input, |
| 480 | } |
| 481 | node.typ = types.MakeArray(inputTyp) |
| 482 | return node |
| 483 | } |
| 484 | |
| 485 | // NewTypedIfErrExpr returns a new IfErrExpr that is verified to be well-typed. |
| 486 | func NewTypedIfErrExpr(cond, orElse, errCode TypedExpr) *IfErrExpr { |
nothing calls this directly
no test coverage detected
searching dependent graphs…