From f6d3f059493d5855cb04d5328ed8c84a72fb2a9e Mon Sep 17 00:00:00 2001 From: cpwu Date: Sun, 24 Apr 2022 15:07:44 +0800 Subject: [PATCH] fix case --- tests/system-test/2-query/sum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/system-test/2-query/sum.py b/tests/system-test/2-query/sum.py index eaa94af3e6..f816aac0a2 100644 --- a/tests/system-test/2-query/sum.py +++ b/tests/system-test/2-query/sum.py @@ -56,7 +56,7 @@ class TDTestCase: where_condition = self.__where_condition(condition) group_condition = self.__group_condition(condition, having=f"{condition} is not null " ) - tdSql.query(f"select {condition} from {tbname} {where_condition} {group_condition} ") + tdSql.query(f"select {condition} from {tbname} {where_condition} ") datas = [tdSql.getData(i,0) for i in range(tdSql.queryRows)] sum_data = sum(datas) tdSql.query(f"select sum( {condition} ) from {tbname} {where_condition} ")