Skip to content

Commit b3ce178

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

File tree

5 files changed

+216
-17
lines changed

5 files changed

+216
-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: 196 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,196 @@
1+
fields:
2+
- name: flag
3+
type: STRING
4+
mode: NULLABLE
5+
description: Indicates which website the session is from, e.g. ? or ?.
6+
- name: ga_client_id
7+
type: STRING
8+
mode: NULLABLE
9+
description: Google Analytics Client ID
10+
- name: ga_session_id
11+
type: STRING
12+
mode: NULLABLE
13+
description: Google Analytics Session ID
14+
- name: session_date
15+
type: DATE
16+
mode: NULLABLE
17+
description: Google Analytics Session Date
18+
- name: session_start_timestamp
19+
type: DATETIME
20+
mode: NULLABLE
21+
description: Google Analytics Session Start Timestamp
22+
- name: is_first_session
23+
type: BOOLEAN
24+
mode: NULLABLE
25+
description: Boolean flag indicating if this session is the first session for this client on this website.
26+
- name: session_number
27+
type: INTEGER
28+
mode: NULLABLE
29+
- name: time_on_site
30+
type: INTEGER
31+
mode: NULLABLE
32+
- name: pageviews
33+
type: INTEGER
34+
mode: NULLABLE
35+
- name: country
36+
type: STRING
37+
mode: NULLABLE
38+
- name: region
39+
type: STRING
40+
mode: NULLABLE
41+
- name: city
42+
type: STRING
43+
mode: NULLABLE
44+
- name: device_category
45+
type: STRING
46+
mode: NULLABLE
47+
- name: mobile_device_model
48+
type: STRING
49+
mode: NULLABLE
50+
- name: mobile_device_string
51+
type: STRING
52+
mode: NULLABLE
53+
- name: os
54+
type: STRING
55+
mode: NULLABLE
56+
- name: os_version
57+
type: STRING
58+
mode: NULLABLE
59+
- name: language
60+
type: STRING
61+
mode: NULLABLE
62+
- name: browser
63+
type: STRING
64+
mode: NULLABLE
65+
- name: browser_version
66+
type: STRING
67+
mode: NULLABLE
68+
- name: first_campaign_from_event_params
69+
type: STRING
70+
mode: NULLABLE
71+
- name: distinct_campaigns_from_event_params
72+
type: STRING
73+
mode: REPEATED
74+
- name: first_source_from_event_params
75+
type: STRING
76+
mode: NULLABLE
77+
- name: distinct_sources_from_event_params
78+
type: STRING
79+
mode: REPEATED
80+
- name: first_medium_from_event_params
81+
type: STRING
82+
mode: NULLABLE
83+
- name: distinct_mediums_from_event_params
84+
type: STRING
85+
mode: REPEATED
86+
- name: first_content_from_event_params
87+
type: STRING
88+
mode: NULLABLE
89+
- name: distinct_contents_from_event_params
90+
type: STRING
91+
mode: REPEATED
92+
- name: first_term_from_event_params
93+
type: STRING
94+
mode: NULLABLE
95+
- name: distinct_terms_from_event_params
96+
type: STRING
97+
mode: REPEATED
98+
- name: first_experiment_id_from_event_params
99+
type: STRING
100+
mode: NULLABLE
101+
- name: distinct_experiment_ids_from_event_params
102+
type: STRING
103+
mode: REPEATED
104+
- name: first_experiment_branch_from_event_params
105+
type: STRING
106+
mode: NULLABLE
107+
- name: distinct_experiment_branches_from_event_params
108+
type: STRING
109+
mode: REPEATED
110+
- name: first_gad_campaignid_from_event_params
111+
type: STRING
112+
mode: NULLABLE
113+
- name: distinct_gad_campaignid_from_event_params
114+
type: STRING
115+
mode: REPEATED
116+
- name: manual_campaign_id
117+
type: STRING
118+
mode: NULLABLE
119+
- name: manual_campaign_name
120+
type: STRING
121+
mode: NULLABLE
122+
- name: manual_source
123+
type: STRING
124+
mode: NULLABLE
125+
- name: manual_medium
126+
type: STRING
127+
mode: NULLABLE
128+
- name: manual_term
129+
type: STRING
130+
mode: NULLABLE
131+
- name: manual_content
132+
type: STRING
133+
mode: NULLABLE
134+
- name: gclid
135+
type: STRING
136+
mode: NULLABLE
137+
- name: gclid_array
138+
type: STRING
139+
mode: REPEATED
140+
- name: had_download_event
141+
type: BOOLEAN
142+
mode: NULLABLE
143+
- name: firefox_desktop_downloads
144+
type: INTEGER
145+
mode: NULLABLE
146+
- name: last_reported_install_target
147+
type: STRING
148+
mode: NULLABLE
149+
- name: all_reported_install_targets
150+
type: STRING
151+
mode: REPEATED
152+
- name: last_reported_stub_session_id
153+
type: STRING
154+
mode: NULLABLE
155+
- name: all_reported_stub_session_ids
156+
type: STRING
157+
mode: REPEATED
158+
- name: landing_screen
159+
type: STRING
160+
mode: NULLABLE
161+
- name: ad_google_campaign
162+
type: STRING
163+
mode: NULLABLE
164+
- name: ad_google_campaign_id
165+
type: STRING
166+
mode: NULLABLE
167+
- name: ad_Group
168+
type: STRING
169+
mode: NULLABLE
170+
- name: ad_Group_id
171+
type: STRING
172+
mode: NULLABLE
173+
- name: ad_google_account
174+
type: STRING
175+
mode: NULLABLE
176+
- name: ad_crosschannel_source
177+
type: STRING
178+
mode: NULLABLE
179+
- name: ad_crosschannel_medium
180+
type: STRING
181+
mode: NULLABLE
182+
- name: ad_crosschannel_campaign
183+
type: STRING
184+
mode: NULLABLE
185+
- name: ad_crosschannel_campaign_id
186+
type: STRING
187+
mode: NULLABLE
188+
- name: ad_crosschannel_source_platform
189+
type: STRING
190+
mode: NULLABLE
191+
- name: ad_crosschannel_primary_channel_group
192+
type: STRING
193+
mode: NULLABLE
194+
- name: ad_crosschannel_default_channel_group
195+
type: STRING
196+
mode: NULLABLE

0 commit comments

Comments
 (0)