mirror of
https://github.com/grafana/grafana.git
synced 2025-02-16 18:34:52 -06:00
fix window function query without group by
This commit is contained in:
parent
e1a37cf275
commit
b3ebc86093
@ -152,7 +152,7 @@ export default class PostgresQuery {
|
||||
over = 'PARTITION BY ' + this.target.metricColumn;
|
||||
}
|
||||
if (!aggregate) {
|
||||
over += 'ORDER BY ' + this.target.timeColumn;
|
||||
over += ' ORDER BY ' + this.target.timeColumn;
|
||||
}
|
||||
switch (special.params[0]) {
|
||||
case 'increase':
|
||||
|
Loading…
Reference in New Issue
Block a user