select toDate(addHours(`#event_time`,8)), groupArray(`binduid`) as account,length(account) as num from zhengba.event where role_idx = 1 group by toDate(addHours(`#event_time`,8))