Query editor
with post0 as (selectcommunityId,contentId,profileId-- ,contentURI,null as referencedContentId,null as referencedProfileId,evt_tx_hash,evt_index,evt_block_number,evt_index,evt_block_time,"timestamp"from test123_base.OspRouterImmutable_evt_ActivityCreated),comment0 as (selectcommunityId,contentId,profileId-- ,contentURI,referencedContentId,referencedProfileId,evt_tx_hash,evt_index,evt_block_number,evt_index,evt_block_time,"timestamp"from test123_base.OspRouterImmutable_evt_CommentCreated),like0 as (selectcommunityId,null as contentId,profileId-- ,openReactionData as contentURI,referencedContentId,referencedProfileId,evt_tx_hash,evt_index,evt_block_number,evt_index,evt_block_time,"timestamp"from test123_base.OspRouterImmutable_evt_OpenReactionCreated)selectdate(from_unixtime("timestamp",8,0)) as activity_dd,activity_type,count(1) as activity_cntfrom(select *,'post' as activity_type from post0 unionselect *,'comment' as activity_type from comment0 unionselect *,'like' as activity_type from like0)group by date(from_unixtime("timestamp",8,0)),activity_typeunionselect