事件分析标签分组项1
This commit is contained in:
parent
650a12a430
commit
f2be717f3e
@ -873,7 +873,7 @@ ORDER BY level
|
||||
if analysis in ['number_of_days', 'number_of_hours']:
|
||||
values_col = func.count(func.distinct(e_account_id_col)).label('values')
|
||||
|
||||
if analysis in ['times', 'number_of_days', 'number_of_hours']:
|
||||
if analysis in ['times', 'number_of_days', 'number_of_hours', 'sum', 'avg', 'median', 'max', 'min', 'distinct_count']:
|
||||
if self.time_particle == 'total':
|
||||
qry = sa.select(*self.groupby, values_col) \
|
||||
.where(and_(*where)) \
|
||||
|
Loading…
Reference in New Issue
Block a user