This commit is contained in:
wuaho 2021-08-24 18:07:15 +08:00
parent 35e479c0fe
commit 0964a0bae4

View File

@ -234,6 +234,7 @@ class BehaviorAnalysis:
who_visit = getattr(self.event_tbl.c, visit_name)
filters, _ = self.handler_filts(*self.events[0].get('filts'), g_f=False)
filters = filters or [1]
selectd = [func.toStartOfDay(func.addHours(event_time_col, self.zone_time)).label('date'),
*self.groupby,
func.arrayDistinct(