提交 a3df1e2f 编写于 作者: H Haojun Liao

[td-225] update test scripts

上级 0f5b7eff
...@@ -327,3 +327,7 @@ endi ...@@ -327,3 +327,7 @@ endi
if $data98 != 9 then if $data98 != 9 then
return -1 return -1
endi endi
#add one more test case
sql select max(c1), last(c8) from lm2_db0.lm2_tb0 where ts >= 1537146000000 and ts <= 1543145400000 interval(5m) fill(linear) limit 10 offset 4089;"
...@@ -636,6 +636,15 @@ if $data00 != $data01 then ...@@ -636,6 +636,15 @@ if $data00 != $data01 then
return -1 return -1
endi endi
sql select first(ts), ts from select_tags_tb1
if $row != 1 then
return -1
endi
if $data01 != @70-01-01 08:01:50.001@ then
return -1
endi
print ======= selectivity + tags + group by + tags + filter + interval ================ print ======= selectivity + tags + group by + tags + filter + interval ================
sql select first(c1), t2, t1, tbname from select_tags_mt0 where c1<=2 interval(1d) group by tbname; sql select first(c1), t2, t1, tbname from select_tags_mt0 where c1<=2 interval(1d) group by tbname;
if $row != 3 then if $row != 3 then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册