This commit is contained in:
cpwu 2022-05-30 15:08:08 +08:00
parent b08f909425
commit 56054ebae8
1 changed files with 2 additions and 0 deletions

View File

@ -97,6 +97,8 @@ class TDTestCase:
query_conditon = query_conditon[4:-1]
elif query_conditon.startswith("min"):
query_conditon = query_conditon[4:-1]
elif query_conditon.startswith("avg"):
query_conditon = query_conditon[4:-1]
if query_conditon:
return f" where {query_conditon} is not null"