From b08f9094253fb4b9b54ff05e0542493bb00b8e7d Mon Sep 17 00:00:00 2001 From: cpwu Date: Mon, 30 May 2022 14:20:36 +0800 Subject: [PATCH] fix case --- tests/system-test/2-query/explain.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/system-test/2-query/explain.py b/tests/system-test/2-query/explain.py index 4f98b4685d..61954f8a38 100644 --- a/tests/system-test/2-query/explain.py +++ b/tests/system-test/2-query/explain.py @@ -121,6 +121,8 @@ class TDTestCase: col = col[4:-1] elif col.startswith("min"): col = col[4:-1] + elif col.startswith("avg"): + col = col[4:-1] return f" group by {col} having {having}" if having else f" group by {col} " def __single_sql(self, select_clause, from_clause, where_condition="", group_condition=""): -- GitLab