diff --git a/tests/system-test/2-query/explain.py b/tests/system-test/2-query/explain.py index 4f98b4685d91488c969d82522cb3451017729fbe..61954f8a38b37145a77d61516b2cb450cdc8b730 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=""):