fix: tweak delete max value

This commit is contained in:
Alex Duan 2024-01-20 14:26:41 +08:00
parent e1b0d4a555
commit 684bc22130
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ class TDTestCase(TBase):
sql = f"select ts from d0 where ui={expectMax}" sql = f"select ts from d0 where ui={expectMax}"
tdSql.query(sql) tdSql.query(sql)
tss = tdSql.getColData(0) tss = tdSql.getColData(0)
strts = ",".join(tss) strts = ",".join(map(str,tss))
# delete # delete
sql = f"delete from d0 where ts in ({strts})" sql = f"delete from d0 where ts in ({strts})"
tdSql.execute(sql) tdSql.execute(sql)