[td-225] update script

This commit is contained in:
Haojun Liao 2020-06-02 19:15:49 +08:00
parent 52b8bd52d5
commit c90b556f9d
1 changed files with 1 additions and 0 deletions

View File

@ -133,6 +133,7 @@ $limit = $rowNum
$offset = $limit / 2
sql select max(c1), min(c2), sum(c3), avg(c4), stddev(c5), spread(c6), first(c7), last(c8), first(c9) from $tb where ts >= $ts0 and ts <= $tsu interval(5m) fill(value, -1, -2) limit $limit offset $offset
if $rows != $limit then
print expect $limit, actual $rows
return -1
endi
if $data01 != 0 then