This commit is contained in:
cpwu 2022-05-30 14:19:16 +08:00
parent c33d785b6e
commit fe491e3e9e
1 changed files with 4 additions and 4 deletions

View File

@ -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(