diff --git a/tests/system-test/2-query/NowandToday.py b/tests/system-test/2-query/NowandToday.py index 82652436467c7eba7a24d751cba76710ac8edfdd..bc12bb45c505d646d8329531cf075a685e24290b 100644 --- a/tests/system-test/2-query/NowandToday.py +++ b/tests/system-test/2-query/NowandToday.py @@ -3,7 +3,7 @@ from time import sleep from tkinter import E import taos import sys - +from util.dnodes import * from util.log import * from util.sql import * from util.cases import * @@ -548,6 +548,20 @@ class TDTestCase: tdSql.checkRows(0) tdSql.query("select * from stb_1 where ts>now()") tdSql.checkRows(0) + + tdSql.query("select * from stb_1 where ts=now") + tdSql.checkRows(0) + tdSql.query("select * from stb_1 where ts>now") + tdSql.checkRows(0) + tdSql.query("select now() from stb_1 where ts=today()") tdSql.checkRows(1)