复制步骤很简单:
create table ap1 (ts timestamp, pav float);
insert into ap1 values ('2021-07-25 02:19:56.569', 1.76472);
...
然后
tdSql.query("select interp(pav) from ap1 where ts> '2021-07-25 02:19:54' and ts<'2021-07-25 02:20:00' INTERVAL(1000a) FILL (NEXT)");
print(tdSql.getData(2,1))
结果将1.7647199630737305
代替1.76472