Hi anicia,
I’m trying to implement this block, but I found some problems. On your explore,
isn’t it supposed to be like this? I don’t think people will have an unique_session_id on their events table.
- join: sessions
relationship: many_to_one
type: left_outer
#sql_on: ${events.unique_session_id} = ${sessions.unique_session_id}
sql_on: ${event_mapping.unique_session_id} = ${sessions.unique_session_id}
Aside from that, I’m facing a lot of other errors when generating the derived tables. event_mapping
was complaining that I couldn’t define created_at
as a sortkey if it wasn’t being selected. After adding that, I got "events_with_session_info.created_at" must appear in the GROUP BY clause or be used in an aggregate function;
If I try to aggregate anything else on session_facts
I get another error.
Is there an updated block for sessionalization?
Thank you