[TD-225] update the test sim.
This commit is contained in:
parent
8661380eff
commit
9493b19440
|
@ -111,7 +111,7 @@ if $rows != 2 then
|
||||||
return -1
|
return -1
|
||||||
endi
|
endi
|
||||||
|
|
||||||
if $data00 != @15-08-18 00:06:00.00@ then
|
if $data00 != @15-08-18 00:06:00.000@ then
|
||||||
return -1
|
return -1
|
||||||
endi
|
endi
|
||||||
|
|
||||||
|
@ -219,10 +219,15 @@ if $data02 != 6 then
|
||||||
return -1
|
return -1
|
||||||
endi
|
endi
|
||||||
|
|
||||||
|
sql select twa(k) from t1 where ts>'2015-8-18 00:00:00' and ts<'2015-8-18 00:00:1'
|
||||||
|
if $rows != 0 then
|
||||||
|
return -1
|
||||||
|
endi
|
||||||
|
|
||||||
sql select twa(k),avg(k),count(1) from t1 where ts>='2015-8-18 00:00:00' and ts<='2015-8-18 00:30:00' interval(10m) order by ts asc
|
sql select twa(k),avg(k),count(1) from t1 where ts>='2015-8-18 00:00:00' and ts<='2015-8-18 00:30:00' interval(10m) order by ts asc
|
||||||
sql select twa(k),avg(k),count(1) from t1 where ts>='2015-8-18 00:00:00' and ts<='2015-8-18 00:30:00' interval(10m) order by ts desc
|
sql select twa(k),avg(k),count(1) from t1 where ts>='2015-8-18 00:00:00' and ts<='2015-8-18 00:30:00' interval(10m) order by ts desc
|
||||||
|
|
||||||
|
|
||||||
#todo add test case while column filte exists.
|
#todo add test case while column filter exists.
|
||||||
|
|
||||||
select count(*),TWA(k) from tm0 where ts>='1970-1-1 13:43:00' and ts<='1970-1-1 13:44:10' interval(9s)
|
#sql select count(*),TWA(k) from tm0 where ts>='1970-1-1 13:43:00' and ts<='1970-1-1 13:44:10' interval(9s)
|
||||||
|
|
|
@ -103,6 +103,8 @@ sleep 500
|
||||||
run general/parser/timestamp.sim
|
run general/parser/timestamp.sim
|
||||||
sleep 500
|
sleep 500
|
||||||
run general/parser/sliding.sim
|
run general/parser/sliding.sim
|
||||||
|
sleep 500
|
||||||
|
run general/parser/function.sim
|
||||||
|
|
||||||
#sleep 500
|
#sleep 500
|
||||||
#run general/parser/repeatStream.sim
|
#run general/parser/repeatStream.sim
|
||||||
|
|
Loading…
Reference in New Issue