fix(tsm1): return boolean array iterator for booleans

booleans are still not strings.
pull/10236/head
Jeff Wendling 2018-08-27 11:32:13 -06:00
parent badc1d8ed3
commit 4e62c3f795
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ func (q *arrayCursorIterator) Next(ctx context.Context, r *tsdb.CursorRequest) (
case influxql.String:
return q.buildStringArrayCursor(ctx, r.Name, r.Tags, r.Field, opt), nil
case influxql.Boolean:
return q.buildStringArrayCursor(ctx, r.Name, r.Tags, r.Field, opt), nil
return q.buildBooleanArrayCursor(ctx, r.Name, r.Tags, r.Field, opt), nil
default:
panic(fmt.Sprintf("unreachable: %T", f.Type))
}