From d8ce7a14676c07c69ad5c2b94c8f6396c110ad2c Mon Sep 17 00:00:00 2001 From: shenglian-zhou Date: Mon, 28 Aug 2023 16:46:05 +0800 Subject: [PATCH] Update interval.sim to now use now --- tests/script/tsim/query/interval.sim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/script/tsim/query/interval.sim b/tests/script/tsim/query/interval.sim index 5fc6a867d7..135fcc8591 100644 --- a/tests/script/tsim/query/interval.sim +++ b/tests/script/tsim/query/interval.sim @@ -213,7 +213,7 @@ sql use test0828 sql create stable st (ts timestamp, c2 int) tags(tg int) sql insert into ct1 using st tags(1) values('2021-08-01', 0) sql insert into ct2 using st tags(2) values('2022-08-01', 1) -sql select _wstart, _wend, count(*) from st where ts>='2021-01-01' and ts < now interval(1n) fill(value, 0) order by _wstart desc +sql select _wstart, _wend, count(*) from st where ts>='2021-01-01' and ts < '2023-08-28' interval(1n) fill(value, 0) order by _wstart desc print $rows if $rows != 32 then return -1