Allow parsing of * for GROUP BY

pull/1632/head
Philip O'Toole 2015-02-17 21:13:33 -08:00
parent 2647e79e2a
commit bf3aa528b0
1 changed files with 2 additions and 0 deletions

View File

@ -1528,6 +1528,8 @@ func (p *Parser) parseUnaryExpr() (Expr, error) {
case DURATION_VAL:
v, _ := ParseDuration(lit)
return &DurationLiteral{Val: v}, nil
case MUL:
return &Wildcard{}, nil
default:
return nil, newParseError(tokstr(tok, lit), []string{"identifier", "string", "number", "bool"}, pos)
}