(e ast.NavigableExpr, unnestMap map[int64]bool)
| 586 | } |
| 587 | |
| 588 | func removeIneligibleSubExprs(e ast.NavigableExpr, unnestMap map[int64]bool) { |
| 589 | for _, id := range comprehensionSubExprIDs(e) { |
| 590 | if _, found := unnestMap[id]; found { |
| 591 | delete(unnestMap, id) |
| 592 | } |
| 593 | } |
| 594 | } |
| 595 | |
| 596 | func comprehensionSubExprIDs(e ast.NavigableExpr) []int64 { |
| 597 | compre := e.AsComprehension() |
no test coverage detected