mirror of
https://github.com/grafana/grafana.git
synced 2025-09-21 22:33:43 +08:00
fix window function query without group by
This commit is contained in:
@ -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':
|
||||
|
Reference in New Issue
Block a user