提交 2d9ff1b7 编写于 作者: wmmhello's avatar wmmhello

add test case

上级 441691c9
......@@ -325,6 +325,13 @@ class TDTestCase:
tdSql.query('select unique(unique.voltage) from unique, unique2 where unique.ts=unique2.ts and unique.groupid=unique2.groupid')
tdSql.checkRows(1)
ts = 1642592221000
sql = "insert into D004 values"
for i in range(3000):
sql += " (%d,%d,%d)"%(ts + i*1000, i, i)
tdSql.execute(sql)
tdSql.query("select unique(num) from (select * from unique)")
def stop(self):
tdSql.close()
tdLog.success("%s successfully executed" % __file__)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册