(expr *exprpb.Expr)
| 524 | } |
| 525 | |
| 526 | func (con *converter) visitCallListIndex(expr *exprpb.Expr) error { |
| 527 | c := expr.GetCallExpr() |
| 528 | args := c.GetArgs() |
| 529 | l := args[0] |
| 530 | nested := isBinaryOrTernaryOperator(l) |
| 531 | if err := con.visitMaybeNested(l, nested); err != nil { |
| 532 | return err |
| 533 | } |
| 534 | con.str.WriteString("[OFFSET(") |
| 535 | index := args[1] |
| 536 | if err := con.visit(index); err != nil { |
| 537 | return err |
| 538 | } |
| 539 | con.str.WriteString(")]") |
| 540 | return nil |
| 541 | } |
| 542 | |
| 543 | var standardSQLUnaryOperators = map[string]string{ |
| 544 | operators.LogicalNot: "NOT ", |
no test coverage detected