Skip to content

Commit fbd0227

Browse files
committed
chore(metadata-completeness): Add bronze label to ga4_sessions_firefoxcom_mozillaorg_combined & schema.yaml
1 parent 84fe352 commit fbd0227

File tree

5 files changed

+219
-17
lines changed

5 files changed

+219
-17
lines changed

bqetl_project.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ dry_run:
291291
- moz-fx-data-backfill-31
292292

293293
deprecation:
294-
retain_dataset_roles: # the following roles are retain permissions on datasets when a dataset table is deprecated
294+
retain_dataset_roles: # the following roles are retain permissions on datasets when a dataset table is deprecated
295295
- roles/bigquery.dataEditor # operational access
296296

297297
format:
@@ -375,7 +375,7 @@ render:
375375
metadata:
376376
validation:
377377
skip:
378-
- sql/moz-fx-data-shared-prod/addons_derived/search_detection_v1/metadata.yaml # backfill compatibility issue
378+
- sql/moz-fx-data-shared-prod/addons_derived/search_detection_v1/metadata.yaml # backfill compatibility issue
379379
deploy:
380380
skip:
381381
- sql/moz-fx-data-shared-prod/*_stable
@@ -386,7 +386,7 @@ generate:
386386
- firefox_fire_tv
387387
- firefox_reality
388388
- firefox_reality_pc
389-
skip_existing: # Skip automatically updating the following artifacts
389+
skip_existing: # Skip automatically updating the following artifacts
390390
- sql/moz-fx-data-shared-prod/fenix/client_deduplication/**
391391
- sql/moz-fx-data-shared-prod/org_mozilla_tv_firefox_derived/baseline_clients_last_seen_v1/checks.sql
392392
- sql/moz-fx-data-shared-prod/org_mozilla_reference_browser_derived/baseline_clients_last_seen_v1/checks.sql
@@ -433,11 +433,11 @@ generate:
433433
- org.mozilla.fenix.nightly
434434
- org.mozilla.fennec.aurora
435435
skip_pings:
436-
- topsites-impression # access denied
437-
- serp-categorization # access denied
438-
- background-update # table doesn't exist
439-
events_tables: # overwrite event tables
440-
pine: # Probe info returns pings that don't have tables, only use events_v1
436+
- topsites-impression # access denied
437+
- serp-categorization # access denied
438+
- background-update # table doesn't exist
439+
events_tables: # overwrite event tables
440+
pine: # Probe info returns pings that don't have tables, only use events_v1
441441
- events_v1
442442
manual_refresh_apps: # apps to use manual materialized view refreshes for on-demand billing
443443
- firefox_desktop
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
friendly_name: Firefox Accounts Active Daily Clients
2-
description: 'Table with 1 row per submission date and Glean client ID sending a Firefox
2+
description: Table with 1 row per submission date and Glean client ID sending a Firefox
33
Accounts ping that date
4-
54
Intentionally does not contain Firefox Account ID
6-
7-
Primary key is submission date & Glean client_info.client_id'
5+
Primary key is submission date & Glean client_info.client_id
86
owners:
97
Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
friendly_name: Firefox Accounts Linked Clients Ordered
2-
description: 'Table overwrites daily with latest information, orders clients by first
3-
seen date
4-
2+
description: Table overwrites daily with latest information,
3+
orders clients by first seen date
54
Client ID with the smaller first seen date is client ID
6-
7-
Client ID with the larger first seen date is linked client ID'
5+
Client ID with the larger first seen date is linked client ID
86
owners:
97
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
friendly_name: GA4 Sessions Combined - Firefox.com & Mozilla.org
2+
description: Contains 1 row per session.
3+
Primary key is a 3 part key, ga_session_id + ga_client_id + flag.
4+
The flag value indicates the website the session is from, i.e. mozilla.org or firefox.com
5+
owners:
6+
7+
level: bronze
Lines changed: 199 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,199 @@
1+
fields:
2+
- name: flag
3+
type: STRING
4+
mode: NULLABLE
5+
description: Indicates which website the session is from, e.g. FIREFOX.COM or MOZILLA.ORG
6+
- name: ga_client_id
7+
type: STRING
8+
mode: NULLABLE
9+
description: Google Analytics Client Identifier, using a cookie on mozilla.org.
10+
- name: ga_session_id
11+
type: STRING
12+
mode: NULLABLE
13+
description: Google Analytics Session Identifier
14+
- name: session_date
15+
type: DATE
16+
mode: NULLABLE
17+
description: The date the Google Analytics session started.
18+
- name: session_start_timestamp
19+
type: DATETIME
20+
mode: NULLABLE
21+
description: The timestamp of the session_start event. If no session_start event, the minimum event timestamp for that session.
22+
- name: is_first_session
23+
type: BOOLEAN
24+
mode: NULLABLE
25+
description: Whether this is the first session for the client.
26+
- name: session_number
27+
type: INTEGER
28+
mode: NULLABLE
29+
description: The session number for this client. Starts at 1, consecutively increasing.
30+
- name: time_on_site
31+
type: INTEGER
32+
mode: NULLABLE
33+
description: Time in seconds between the first and last event of the session.
34+
- name: pageviews
35+
type: INTEGER
36+
mode: NULLABLE
37+
description: Total page views for the session.
38+
- name: country
39+
type: STRING
40+
mode: NULLABLE
41+
- name: region
42+
type: STRING
43+
mode: NULLABLE
44+
- name: city
45+
type: STRING
46+
mode: NULLABLE
47+
- name: device_category
48+
type: STRING
49+
mode: NULLABLE
50+
- name: mobile_device_model
51+
type: STRING
52+
mode: NULLABLE
53+
- name: mobile_device_string
54+
type: STRING
55+
mode: NULLABLE
56+
- name: os
57+
type: STRING
58+
mode: NULLABLE
59+
- name: os_version
60+
type: STRING
61+
mode: NULLABLE
62+
- name: language
63+
type: STRING
64+
mode: NULLABLE
65+
- name: browser
66+
type: STRING
67+
mode: NULLABLE
68+
- name: browser_version
69+
type: STRING
70+
mode: NULLABLE
71+
- name: first_campaign_from_event_params
72+
type: STRING
73+
mode: NULLABLE
74+
- name: distinct_campaigns_from_event_params
75+
type: STRING
76+
mode: REPEATED
77+
- name: first_source_from_event_params
78+
type: STRING
79+
mode: NULLABLE
80+
- name: distinct_sources_from_event_params
81+
type: STRING
82+
mode: REPEATED
83+
- name: first_medium_from_event_params
84+
type: STRING
85+
mode: NULLABLE
86+
- name: distinct_mediums_from_event_params
87+
type: STRING
88+
mode: REPEATED
89+
- name: first_content_from_event_params
90+
type: STRING
91+
mode: NULLABLE
92+
- name: distinct_contents_from_event_params
93+
type: STRING
94+
mode: REPEATED
95+
- name: first_term_from_event_params
96+
type: STRING
97+
mode: NULLABLE
98+
- name: distinct_terms_from_event_params
99+
type: STRING
100+
mode: REPEATED
101+
- name: first_experiment_id_from_event_params
102+
type: STRING
103+
mode: NULLABLE
104+
- name: distinct_experiment_ids_from_event_params
105+
type: STRING
106+
mode: REPEATED
107+
- name: first_experiment_branch_from_event_params
108+
type: STRING
109+
mode: NULLABLE
110+
- name: distinct_experiment_branches_from_event_params
111+
type: STRING
112+
mode: REPEATED
113+
- name: first_gad_campaignid_from_event_params
114+
type: STRING
115+
mode: NULLABLE
116+
- name: distinct_gad_campaignid_from_event_params
117+
type: STRING
118+
mode: REPEATED
119+
- name: manual_campaign_id
120+
type: STRING
121+
mode: NULLABLE
122+
- name: manual_campaign_name
123+
type: STRING
124+
mode: NULLABLE
125+
- name: manual_source
126+
type: STRING
127+
mode: NULLABLE
128+
- name: manual_medium
129+
type: STRING
130+
mode: NULLABLE
131+
- name: manual_term
132+
type: STRING
133+
mode: NULLABLE
134+
- name: manual_content
135+
type: STRING
136+
mode: NULLABLE
137+
- name: gclid
138+
type: STRING
139+
mode: NULLABLE
140+
- name: gclid_array
141+
type: STRING
142+
mode: REPEATED
143+
- name: had_download_event
144+
type: BOOLEAN
145+
mode: NULLABLE
146+
- name: firefox_desktop_downloads
147+
type: INTEGER
148+
mode: NULLABLE
149+
- name: last_reported_install_target
150+
type: STRING
151+
mode: NULLABLE
152+
- name: all_reported_install_targets
153+
type: STRING
154+
mode: REPEATED
155+
- name: last_reported_stub_session_id
156+
type: STRING
157+
mode: NULLABLE
158+
- name: all_reported_stub_session_ids
159+
type: STRING
160+
mode: REPEATED
161+
- name: landing_screen
162+
type: STRING
163+
mode: NULLABLE
164+
- name: ad_google_campaign
165+
type: STRING
166+
mode: NULLABLE
167+
- name: ad_google_campaign_id
168+
type: STRING
169+
mode: NULLABLE
170+
- name: ad_Group
171+
type: STRING
172+
mode: NULLABLE
173+
- name: ad_Group_id
174+
type: STRING
175+
mode: NULLABLE
176+
- name: ad_google_account
177+
type: STRING
178+
mode: NULLABLE
179+
- name: ad_crosschannel_source
180+
type: STRING
181+
mode: NULLABLE
182+
- name: ad_crosschannel_medium
183+
type: STRING
184+
mode: NULLABLE
185+
- name: ad_crosschannel_campaign
186+
type: STRING
187+
mode: NULLABLE
188+
- name: ad_crosschannel_campaign_id
189+
type: STRING
190+
mode: NULLABLE
191+
- name: ad_crosschannel_source_platform
192+
type: STRING
193+
mode: NULLABLE
194+
- name: ad_crosschannel_primary_channel_group
195+
type: STRING
196+
mode: NULLABLE
197+
- name: ad_crosschannel_default_channel_group
198+
type: STRING
199+
mode: NULLABLE

0 commit comments

Comments
 (0)