select arrayJoin(groupArray(date)) as dd,
       groupArray((date, login_account))
from (with groupArray(distinct binduid) as login_account,
          toDate(addHours(`#event_time`, 8)) as date
      select date, login_account
      from zhengba.event
      group by date)