[TD-2607] add test case

This commit is contained in:
liuyq-617 2021-01-04 19:20:19 +08:00
parent ca3888c190
commit 6c9b2bf696
1 changed files with 3 additions and 0 deletions

View File

@ -110,6 +110,9 @@ class TDTestCase:
tdSql.query("select first(col9) from test1") tdSql.query("select first(col9) from test1")
tdSql.checkRows(1) tdSql.checkRows(1)
tdSql.checkData(0, 0, '涛思数据1') tdSql.checkData(0, 0, '涛思数据1')
# TD-2607 first,last + where none exist condition + interval
tdSql.query("select first(*),last(*) from test1 where ts < 23 interval(1s)")
tdSql.checkRows(0)
def stop(self): def stop(self):
tdSql.close() tdSql.close()