(timezoneColumnString string)
| 1980 | } |
| 1981 | |
| 1982 | func parseTimezoneColumnString(timezoneColumnString string) (column, joinKey string, success bool) { |
| 1983 | exp, err := expr.ParseExpr(timezoneColumnString) |
| 1984 | if err != nil { |
| 1985 | return |
| 1986 | } |
| 1987 | if c, ok := exp.(*expr.Call); ok { |
| 1988 | if len(c.Args) == 1 { |
| 1989 | return c.Name, c.Args[0].String(), true |
| 1990 | } |
| 1991 | } |
| 1992 | return |
| 1993 | } |
| 1994 | |
| 1995 | func (qc *AQLQueryContext) expandINop(e *expr.BinaryExpr) (expandedExpr expr.Expr) { |
| 1996 | lhs, ok := e.LHS.(*expr.VarRef) |
no test coverage detected