test: adjust case

This commit is contained in:
Shengliang Guan 2022-07-22 13:55:33 +08:00
parent ab2ad2cc54
commit 881c0e44a0
1 changed files with 23 additions and 23 deletions

View File

@ -66,32 +66,32 @@ if $row != 21600 then
endi endi
#regression test case 3 #regression test case 3
sql select t1,t1,count(*),t1,t1 from lr_stb0 where ts>'2018-09-24 00:00:00.000' and ts<'2018-09-25 00:00:00.000' partition by t1 interval(1h) fill(NULL) limit 1 sql select _wstart, t1,t1,count(*),t1,t1 from lr_stb0 where ts>'2018-09-24 00:00:00.000' and ts<'2018-09-25 00:00:00.000' partition by t1 interval(1h) fill(NULL) limit 1
if $row != 2 then if $row != 2 then
return -1 return -1
endi endi
#if $data01 != 7 then if $data01 != NULL then
# return -1 return -1
#endi endi
#if $data02 != 7 then if $data02 != NULL then
# return -1 return -1
#endi endi
#if $data03 != 59 then if $data03 != NULL then
# print expect 59, actual: $data03 return -1
# return -1 endi
#endi if $data11 != 7 then
#if $data04 != 7 then return -1
# return -1 endi
#endi if $data12 != 7 then
#if $data11 != 8 then return -1
# return -1 endi
#endi if $data13 != 59 then
#if $data12 != 8 then print expect 59, actual: $data03
# return -1 return -1
#endi endi
#if $data13 != NULL then if $data14 != 7 then
# return -1 return -1
#endi endi
sql select t1,t1,count(*),t1,t1 from lr_stb0 where ts>'2018-09-24 00:00:00.000' and ts<'2018-09-25 00:00:00.000' partition by t1 interval(1h) fill(NULL) limit 9 sql select t1,t1,count(*),t1,t1 from lr_stb0 where ts>'2018-09-24 00:00:00.000' and ts<'2018-09-25 00:00:00.000' partition by t1 interval(1h) fill(NULL) limit 9
if $rows != 18 then if $rows != 18 then