提交 181e7326 编写于 作者: S shenglian zhou

fix: add test case

上级 51a24022
...@@ -430,6 +430,20 @@ if $data69 != 6 then ...@@ -430,6 +430,20 @@ if $data69 != 6 then
return -1 return -1
endi endi
## TD-2679
print ============== td2679
sql create database td2679
sql use td2679
sql create table st(ts timestamp, f int) tags (t int)
$ts = 1676768465000
sql insert into ct1 using st tags(1) values($ts , null)($ts + 1s, 1)($ts + 2s, null)
sql insert into ct2 using st tags(2) values($ts + 3s, null)($ts + 4s, 4)($ts + 5s, null)
sql select max(f) from st where ts>='2023-02-19 09:01:04.000' and ts <= '2023-02-19 09:01:10.000' interval(1s) fill(linear) group by tbname;
print $rows , $data60 , $data61 , $data70 , $data71
if $data71 != NULL then
return -1
endi
sql drop database td2679
print =============== clear print =============== clear
sql drop database $db sql drop database $db
sql show databases sql show databases
...@@ -437,4 +451,4 @@ if $rows != 0 then ...@@ -437,4 +451,4 @@ if $rows != 0 then
return -1 return -1
endi endi
system sh/exec.sh -n dnode1 -s stop -x SIGINT system sh/exec.sh -n dnode1 -s stop -x SIGINT
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册