From 151e06c4d1eecf5ba111c9220e50c9285c013b90 Mon Sep 17 00:00:00 2001 From: Andres Gregori Altamirano Date: Fri, 12 Jul 2024 16:22:37 +0000 Subject: [PATCH] change sessions logic --- views/sessions.view.lkml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/views/sessions.view.lkml b/views/sessions.view.lkml index 3b6e71c..8ea651e 100644 --- a/views/sessions.view.lkml +++ b/views/sessions.view.lkml @@ -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