Skip to content

Commit 99d9bc5

Browse files
authored
Version 3.0.1 (#20)
1 parent 76bcdf8 commit 99d9bc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

views/sessions/session_tags.view.lkml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ view: session_tags{
1212
, CASE WHEN key = 'campaign' THEN value.string_value END AS campaign
1313
, CASE WHEN key = 'page_referrer' THEN value.string_value END AS page_referrer
1414
FROM (
15-
SELECT sl_key, session_date, key, value,event_timestamp
15+
SELECT sl_key, sl3.session_date, key, value,event_timestamp
1616
FROM ${session_list_with_event_history.SQL_TABLE_NAME} sl3
1717
CROSS JOIN UNNEST(sl3.event_params) AS sl1
1818
WHERE event_name in ('page_view')
@@ -25,7 +25,7 @@ JOIN (
2525
GROUP BY sl2.sl_key, sl2.session_date
2626
) AS min_events ON sl.sl_key = min_events.sl_key AND sl.session_date = min_events.session_date
2727
WHERE sl.event_timestamp = min_events.min_event_timestamp
28-
and {% incrementcondition %} session_date {% endincrementcondition %};;
28+
and {% incrementcondition %} sl.session_date {% endincrementcondition %};;
2929
}
3030
dimension: session_date {
3131
type: date

0 commit comments

Comments
 (0)