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

This commit is contained in:
liuyq-617 2021-06-15 14:08:28 +08:00
parent 76720f8cd0
commit b5c0cab285
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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")