From 0c8c955268094e2345d0456fbac6c05c7ec5247d Mon Sep 17 00:00:00 2001 From: jiacy-jcy <714897623@qq.com> Date: Fri, 22 Apr 2022 09:19:22 +0800 Subject: [PATCH] update --- tests/system-test/2-query/NowandToday.py | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/tests/system-test/2-query/NowandToday.py b/tests/system-test/2-query/NowandToday.py index 8265243646..bc12bb45c5 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) -- GitLab