MCPcopy
hub / github.com/uber/aresdb / parseTimezoneColumnString

Function parseTimezoneColumnString

query/aql_compiler.go:1982–1993  ·  view source on GitHub ↗
(timezoneColumnString string)

Source from the content-addressed store, hash-verified

1980}
1981
1982func 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
1995func (qc *AQLQueryContext) expandINop(e *expr.BinaryExpr) (expandedExpr expr.Expr) {
1996 lhs, ok := e.LHS.(*expr.VarRef)

Callers 2

processTimezoneMethod · 0.85

Calls 2

ParseExprFunction · 0.92
StringMethod · 0.65

Tested by

no test coverage detected