sql_error select count(join_mt0.c1), sum(join_mt1.c2), first(join_mt0.c5), last(join_mt1.c7), first(join_mt1.c7) from join_mt0, join_mt1 where join_mt0.t1=join_mt1.t1 and join_mt0.ts=join_mt1.ts interval(10a) group by join_mt0.t1 order by join_mt0.ts desc limit 20 offset 19;
sql_error select count(join_mt0.c1), sum(join_mt1.c2), first(join_mt0.c5), last(join_mt1.c7), first(join_mt1.c7) from join_mt0, join_mt1 where join_mt0.t1=join_mt1.t1 and join_mt0.ts=join_mt1.ts interval(10a) group by join_mt0.t1 order by join_mt0.ts desc limit 20 offset 19;
sql select count(join_mt0.c1), sum(join_mt0.c2)/count(*), avg(c2), first(join_mt0.c5), last(c7) from join_mt0 interval(10a) group by join_mt0.t1 order by join_mt0.ts desc;
sql select count(join_mt0.c1), sum(join_mt0.c2)/count(*), avg(c2), first(join_mt0.c5), last(c7) from join_mt0 interval(10a) group by join_mt0.t1 order by join_mt0.ts desc;
if $rows != 100 then
if $rows != 300 then
return -1
return -1
endi
endi
...
@@ -147,7 +146,7 @@ if $data00 != @70-01-01 08:01:40.990@ then
...
@@ -147,7 +146,7 @@ if $data00 != @70-01-01 08:01:40.990@ then
return -1
return -1
endi
endi
if $data01 != 30 then
if $data01 != 10 then
return -1
return -1
endi
endi
...
@@ -168,7 +167,7 @@ if $data05 != 1 then
...
@@ -168,7 +167,7 @@ if $data05 != 1 then
return -1
return -1
endi
endi
if $data06 != 2 then
if $data06 != 0 then
return -1
return -1
endi
endi
...
@@ -177,7 +176,7 @@ if $data10 != @70-01-01 08:01:40.980@ then
...
@@ -177,7 +176,7 @@ if $data10 != @70-01-01 08:01:40.980@ then