diff --git a/tests/system-test/2-query/explain.py b/tests/system-test/2-query/explain.py index 53f9e40170c7666d03ae22c5073df99e746de132..4f98b4685d91488c969d82522cb3451017729fbe 100644 --- a/tests/system-test/2-query/explain.py +++ b/tests/system-test/2-query/explain.py @@ -62,10 +62,10 @@ class TDTestCase: for char_col in CHAR_COL: query_condition.extend( ( - f"sum(cast({tbname}.{char_col}) as bigint)", - f"max(cast({tbname}.{char_col}) as bigint)", - f"min(cast({tbname}.{char_col}) as bigint)", - f"avg(cast({tbname}.{char_col}) as bigint)", + f"sum(cast({tbname}.{char_col} as bigint ))", + f"max(cast({tbname}.{char_col} as bigint ))", + f"min(cast({tbname}.{char_col} as bigint ))", + f"avg(cast({tbname}.{char_col} as bigint ))", ) ) query_condition.extend(