test session on second timestamp fields

This commit is contained in:
liuyq-617 2021-06-10 07:13:00 +00:00
parent 4571590797
commit 9d6b8470e7
1 changed files with 3 additions and 1 deletions

View File

@ -118,7 +118,9 @@ class TDTestCase:
tdSql.checkRows(2)
tdSql.checkData(0, 1, 3)
tdSql.error("select count(*) from dev_001 session(i,1s)")
# test second timestamp fileds
tdSql.execute("create table secondts(ts timestamp,t2 timestamp,i int)")
tdSql.error("select count(*) from secondts session(t2,2s)")
def stop(self):
tdSql.close()