Fail faster on not-yet-implemented wildcard query

Signed-off-by: Will Faurot <will@influxdb.com>
pull/1537/head
Andrew Watkins 2015-02-09 14:37:52 -07:00 committed by Will Faurot
parent 2aef4a794f
commit 6b68f53b10
1 changed files with 2 additions and 0 deletions

View File

@ -121,6 +121,8 @@ func (p *Planner) planExpr(e *Executor, expr Expr) (Processor, error) {
return newLiteralProcessor(expr.Val), nil return newLiteralProcessor(expr.Val), nil
case *DurationLiteral: case *DurationLiteral:
return newLiteralProcessor(expr.Val), nil return newLiteralProcessor(expr.Val), nil
case *Wildcard:
panic("Wildcard operator not yet implemented")
} }
panic("unreachable") panic("unreachable")
} }