fix: add order by desc coverage

This commit is contained in:
Alex Duan 2024-01-20 15:00:14 +08:00
parent 68b2a06a02
commit c2772994e4
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ class TBase:
tdSql.checkAgg(sql, self.childtable_count)
# check step
sql = f"select * from (select diff(ts) as dif from {self.stb} partition by tbname) where dif != {self.timestamp_step}"
sql = f"select * from (select diff(ts) as dif from {self.stb} partition by tbname order by ts desc) where dif != {self.timestamp_step}"
tdSql.query(sql)
tdSql.checkRows(0)