NewTypedArrayFlattenExpr returns a new ArrayFlattenExpr that is verified to be well-typed.
(input Expr)
| 429 | |
| 430 | // NewTypedArrayFlattenExpr returns a new ArrayFlattenExpr that is verified to be well-typed. |
| 431 | func NewTypedArrayFlattenExpr(input Expr) *ArrayFlatten { |
| 432 | inputTyp := input.(TypedExpr).ResolvedType() |
| 433 | node := &ArrayFlatten{ |
| 434 | Subquery: input, |
| 435 | } |
| 436 | node.typ = types.MakeArray(inputTyp) |
| 437 | return node |
| 438 | } |
| 439 | |
| 440 | // NewTypedIfErrExpr returns a new IfErrExpr that is verified to be well-typed. |
| 441 | func NewTypedIfErrExpr(cond, orElse, errCode TypedExpr) *IfErrExpr { |
nothing calls this directly
no test coverage detected
searching dependent graphs…