[td-225] add some test case.

This commit is contained in:
Haojun Liao 2020-08-12 23:00:23 +08:00
parent d7d840cc97
commit 89a55172ea
1 changed files with 7 additions and 0 deletions

View File

@ -51,7 +51,14 @@ if $data09 != NCHAR then
return -1
endi
# regression test case 1
sql select count(*) from lr_tb1 where ts>'2018-09-18 08:45:00.1' and ts<'2018-09-18 08:45:00.2'
if $row != 0 then
return -1
endi
# regression test case 2
sql select count(*) from lr_db0.lr_stb0 where ts>'2018-9-18 8:00:00' and ts<'2018-9-18 14:00:00' interval(1s) fill(NULL);
if $row != 21600 then
return -1
endi