This commit is contained in:
cpwu 2022-04-24 17:52:35 +08:00
parent 7f59a2d937
commit 70607c03a6
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ class TDTestCase:
return sum_condition
def __where_condition(self, col):
return f" where {col} < 1000000 "
return f" where abs( {col} ) < 1000000 "
def __group_condition(self, col, having = ""):
return f" group by {col} having {having}" if having else f" group by {col} "