[td-225] update script

This commit is contained in:
Haojun Liao 2020-06-02 19:17:43 +08:00
parent c90b556f9d
commit b91c70485b
1 changed files with 1 additions and 0 deletions

View File

@ -148,6 +148,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(linear) limit $limit offset $offset
if $rows != $limit then
print expect $limit, actual $rows
return -1
endi
if $data01 != 0 then