mirror of
https://github.com/grafana/grafana.git
synced 2025-09-22 17:23:14 +08:00
dont order for aggregate
This commit is contained in:
@ -151,11 +151,7 @@ export default class PostgresQuery {
|
||||
if (func === 'first' || func === 'last') {
|
||||
query = func + '(' + query + ',' + this.target.timeColumn + ')';
|
||||
} else {
|
||||
if (windows) {
|
||||
query = func + '(' + query + ' ORDER BY ' + this.target.timeColumn + ')';
|
||||
} else {
|
||||
query = func + '(' + query + ')';
|
||||
}
|
||||
query = func + '(' + query + ')';
|
||||
}
|
||||
break;
|
||||
case 'percentile':
|
||||
|
Reference in New Issue
Block a user