diff --git a/tests/system-test/2-query/abs.py b/tests/system-test/2-query/abs.py index 2f767769af6576daada822b0d9608efbf4c249e1..c9fc025b9799863a5460fa077d20db88d92a803e 100644 --- a/tests/system-test/2-query/abs.py +++ b/tests/system-test/2-query/abs.py @@ -566,8 +566,8 @@ class TDTestCase: tdSql.query(f"select t1 from {dbname}.stb1 where abs(c1+t1)=1") tdSql.checkRows(1) tdSql.checkData(0,0,0) - - tdSql.query("select abs(c1) from (select ts , c1 ,t1 from stb1)") + + tdSql.query(f"select abs(c1) from (select ts , c1 ,t1 from {dbname}.stb1)") tdSql.checkRows(25) tdSql.query( diff --git a/tests/system-test/2-query/avg.py b/tests/system-test/2-query/avg.py index 470eb7b4ab8920e8247c319b644c8c81c7ac5e96..ea7c3329eaf0f3f888589d8b26d66eba522f0474 100644 --- a/tests/system-test/2-query/avg.py +++ b/tests/system-test/2-query/avg.py @@ -1,4 +1,3 @@ -from pyrsistent import v import taos import sys import datetime