Skip to content

Commit

Permalink
change sessions logic
Browse files Browse the repository at this point in the history
  • Loading branch information
agregori97 committed Jul 12, 2024
1 parent aa95e7e commit 151e06c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions views/sessions.view.lkml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,7 @@ select se.session_date as session_date
, d.geo__metro
, d.geo__sub_continent
, d.geo__region) geo_data
, (SELECT ARRAY_AGG(se.event_data) FROM ${session_event_packing.SQL_TABLE_NAME} sr
GROUP BY sr.session_date
, sr.ga_session_id
, sr.ga_session_number
, sr.user_pseudo_id
, sr.sl_key) event_data
, (SELECT ARRAY_AGG(se.event_data) FROM ${session_event_packing.SQL_TABLE_NAME} sr) event_data
from ${session_event_packing.SQL_TABLE_NAME} as se
left join ${session_tags.SQL_TABLE_NAME} as sa
on se.sl_key = sa.sl_key
Expand Down

0 comments on commit 151e06c

Please sign in to comment.