Only add Fill when to InfluxQL when there's a group by time

pull/10616/head
Jared Scheib 2017-09-05 11:00:11 -04:00
parent 554615b90d
commit 5bd7690e84
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ export default function buildInfluxQLQuery(
const condition = _buildWhereClause({lower, upper, tags, areTagsAccepted})
const dimensions = _buildGroupBy(groupBy)
const fillClause = isKapacitorRule ? '' : _buildFill(fill)
const fillClause = isKapacitorRule || !groupBy.time ? '' : _buildFill(fill)
return `${select}${condition}${dimensions}${fillClause}`
}