You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DATE(TIMESTAMP_MICROS(event_timestamp)) AS event_date,
22
22
COUNT(*) AS cnt,
23
-
-- use first project's id if available; otherwise literal 'fallback'
24
-
{{ (projects[0]['project_id'] if projects and (projects[0] is mapping) and projects[0].get('project_id') else 'fallback') | tojson }} AS project_id
25
-
FROM {{ source('firebase_analytics__fallback', 'events') }}
23
+
{{ (projects[0]['project_id'] if projects and (projects[0] is mapping) and projects[0].get('project_id') else 'single_project') | tojson }} AS project_id
24
+
FROM {{ source('firebase_analytics__single_project', 'events') }}
26
25
WHERE {{ ta_firebase.analyticsTestTableSuffixFilter(extend=3) }}
27
26
AND {{ ta_firebase.analyticsTestDateFilter('DATE(TIMESTAMP_MICROS(event_timestamp))', extend=2) }}
0 commit comments