Merge pull request #6446 from taosdata/test/SessionWindow

test session on second timestamp fields
This commit is contained in:
huili 2021-06-11 10:41:58 +08:00 committed by GitHub
commit a18dabb127
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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()