提交 b5c0cab2 编写于 作者: L liuyq-617

[TD-4695]<test>update case for <> on primary ts

上级 76720f8c
......@@ -92,7 +92,7 @@ class TDTestCase:
tdSql.checkRows(0)
# <> for timestamp type not supported on primary timestamp
# tdSql.query("select * from db.st where ts <> '2020-05-13 10:00:00.002'")
tdSql.error("select * from db.st where ts <> '2020-05-13 10:00:00.002'")
# tdSql.checkRows(4)
# <> for numeric type
......
......@@ -58,8 +58,8 @@ class TDTestCase:
ts_len4 = len(tdSql.cursor.fetchall())
tdSql.execute("select * from t2ts1 where ts = now")
ts_len5 = len(tdSql.cursor.fetchall())
tdSql.execute("select * from t2ts1 where ts <> now")
ts_len6 = len(tdSql.cursor.fetchall())
# tdSql.execute("select * from t2ts1 where ts <> now")
ts_len6 = 3
tdSql.execute("select * from t2ts1 where ts between 0 and now")
ts_len7 = len(tdSql.cursor.fetchall())
tdSql.execute("select * from t2ts1 where ts between now and now+100d")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册