mirror of
https://github.com/grafana/grafana.git
synced 2025-09-21 18:02:59 +08:00
set explicit order for rate and increase
This commit is contained in:
@ -63,7 +63,7 @@ describe('PostgresQuery', function() {
|
||||
{ type: 'alias', params: ['a'] },
|
||||
{ type: 'special', params: ['increase'] },
|
||||
];
|
||||
expect(query.buildValueColumn(column)).toBe('v - lag(v) OVER () AS "a"');
|
||||
expect(query.buildValueColumn(column)).toBe('v - lag(v) OVER (ORDER BY time) AS "a"');
|
||||
});
|
||||
|
||||
describe('When generating WHERE clause', function() {
|
||||
|
Reference in New Issue
Block a user