forked from mozilla/bigquery-etl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bqetl_project.yaml
305 lines (294 loc) · 17.8 KB
/
bqetl_project.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
default:
project: moz-fx-data-shared-prod
sql_dir: sql/
sql_generators_dir: sql_generators/
test_project: bigquery-etl-integration-test
non_user_facing_dataset_suffixes: # suffixes of datasets with non-user-facing views
- _derived
- _external
- _bi
- _restricted
- glam_etl
user_facing_project: mozdata
backfill_project: moz-fx-data-backfill
additional_projects: # additional valid projects managed outside of bigquery-etl
- moz-fx-data-pioneer-nonprod
- moz-fx-data-pioneer-prod
- moz-fx-data-glam-prod-fca7
public_project: mozilla-public-data
dry_run:
function: https://us-central1-moz-fx-data-shared-prod.cloudfunctions.net/bigquery-etl-dryrun
skip:
## skip all data-observability-dev queries due to CI lacking permissions in that project.
# TODO: once data observability platform assessment concludes this should be removed.
- sql/data-observability-dev/**/**/*.sql
# Access Denied
- sql/moz-fx-data-shared-prod/firefox_desktop_derived/desktop_installs_v1/query.sql
- sql/moz-fx-data-experiments/monitoring/query_cost_v1/query.sql
- sql/moz-fx-data-shared-prod/app_store/**/*.sql
- sql/moz-fx-data-shared-prod/monitoring_derived/bigquery_usage_v2/query.sql
- sql/moz-fx-data-shared-prod/pocket/pocket_reach_mau/view.sql
- sql/moz-fx-data-shared-prod/telemetry/buildhub2/view.sql
- sql/moz-fx-data-shared-prod/accounts_backend_external/nonprod_accounts_v1/query.sql
- sql/moz-fx-data-shared-prod/accounts_backend_external/nonprod_emails_v1/query.sql
- sql/moz-fx-data-shared-prod/accounts_backend_external/accounts_v1/query.sql
- sql/moz-fx-data-shared-prod/accounts_backend_external/emails_v1/query.sql
- sql/moz-fx-data-shared-prod/accounts_db_external/**/*.sql
- sql/moz-fx-data-shared-prod/accounts_db_nonprod_external/**/*.sql
- sql/moz-fx-data-shared-prod/ads/ppa_measurements/*.sql
- sql/moz-fx-data-shared-prod/firefox_accounts_derived/fxa_content_events_v1/query.sql
- sql/moz-fx-data-shared-prod/firefox_accounts_derived/fxa_auth_bounce_events_v1/query.sql
- sql/moz-fx-data-shared-prod/firefox_accounts_derived/fxa_auth_events_v1/query.sql
- sql/moz-fx-data-shared-prod/firefox_accounts_derived/fxa_delete_events_v1/query.sql
- sql/moz-fx-data-shared-prod/firefox_accounts_derived/fxa_delete_events_v2/query.sql
- sql/moz-fx-data-shared-prod/firefox_accounts_derived/fxa_oauth_events_v1/query.sql
- sql/moz-fx-data-shared-prod/firefox_accounts_derived/fxa_log_auth_events_v1/query.sql
- sql/moz-fx-data-shared-prod/firefox_accounts_derived/fxa_log_content_events_v1/query.sql
- sql/moz-fx-data-shared-prod/firefox_accounts_derived/fxa_log_device_command_events_v1/query.sql
- sql/moz-fx-data-shared-prod/firefox_accounts_derived/fxa_log_device_command_events_v2/query.sql
- sql/moz-fx-data-shared-prod/firefox_accounts_derived/fxa_users_services_first_seen_v1/query.sql
- sql/moz-fx-data-shared-prod/firefox_accounts_derived/fxa_users_services_last_seen_v1/query.sql
- sql/moz-fx-data-shared-prod/firefox_accounts_derived/fxa_amplitude_export_v1/query.sql
- sql/moz-fx-data-shared-prod/firefox_accounts_derived/fxa_amplitude_user_ids_v1/query.sql
- sql/moz-fx-data-shared-prod/firefox_accounts_derived/fxa_stdout_events_v1/query.sql
- sql/moz-fx-data-shared-prod/firefox_accounts_derived/fxa_gcp_stderr_events_v1/query.sql
- sql/moz-fx-data-shared-prod/firefox_accounts_derived/fxa_gcp_stdout_events_v1/query.sql
- sql/moz-fx-data-shared-prod/firefox_accounts_derived/nonprod_fxa_auth_events_v1/query.sql
- sql/moz-fx-data-shared-prod/firefox_accounts_derived/nonprod_fxa_content_events_v1/query.sql
- sql/moz-fx-data-shared-prod/firefox_accounts_derived/nonprod_fxa_stdout_events_v1/query.sql
- sql/moz-fx-data-shared-prod/firefox_accounts_derived/nonprod_fxa_gcp_stdout_events_v1/query.sql
- sql/moz-fx-data-shared-prod/firefox_accounts_derived/nonprod_fxa_gcp_stderr_events_v1/query.sql
- sql/moz-fx-data-shared-prod/firefox_accounts_derived/docker_fxa_admin_server_sanitized_v1/query.sql
- sql/moz-fx-data-shared-prod/firefox_accounts_derived/docker_fxa_admin_server_sanitized_v2/query.sql
- sql/moz-fx-data-shared-prod/firefox_accounts_derived/docker_fxa_customs_sanitized_v1/query.sql
- sql/moz-fx-data-shared-prod/firefox_accounts_derived/docker_fxa_customs_sanitized_v2/query.sql
- sql/moz-fx-data-shared-prod/fivetran_costs_derived/destinations_v1/query.sql
- sql/moz-fx-data-shared-prod/fivetran_costs_derived/incremental_mar_v1/query.sql
- sql/moz-fx-data-shared-prod/fivetran_costs_derived/monthly_costs_v1/query.sql
- sql/moz-fx-data-shared-prod/fakespot/**/*.sql
- sql/**/apple_ads_external*/**/query.sql
- sql/moz-fx-data-shared-prod/monitoring_derived/shredder_progress/view.sql
- sql/moz-fx-data-shared-prod/monitoring/shredder_progress/view.sql
- sql/moz-fx-data-shared-prod/stripe_derived/**/*.sql
- sql/moz-fx-data-shared-prod/stripe_external/**/*.sql
- sql/moz-fx-cjms-nonprod-9a36/cjms_bigquery/flows_live/view.sql
- sql/moz-fx-cjms-nonprod-9a36/cjms_bigquery/flows_v1/query.sql
- sql/moz-fx-cjms-nonprod-9a36/cjms_bigquery/refunds_v1/query.sql
- sql/moz-fx-cjms-nonprod-9a36/cjms_bigquery/subscriptions_v1/query.sql
- sql/moz-fx-cjms-prod-f3c7/cjms_bigquery/flows_v1/query.sql
- sql/moz-fx-cjms-prod-f3c7/cjms_bigquery/refunds_v1/query.sql
- sql/moz-fx-cjms-prod-f3c7/cjms_bigquery/subscriptions_v1/query.sql
- sql/moz-fx-data-shared-prod/subscription_platform_derived/apple_subscriptions_v1/query.sql
- sql/moz-fx-data-shared-prod/subscription_platform_derived/google_subscriptions_v1/query.sql
- sql/moz-fx-data-shared-prod/subscription_platform_derived/nonprod_apple_subscriptions_v1/query.sql
- sql/moz-fx-data-shared-prod/subscription_platform_derived/nonprod_google_subscriptions_v1/query.sql
- sql/moz-fx-data-shared-prod/subscription_platform_derived/nonprod_stripe_subscriptions_history_v1/query.sql
- sql/moz-fx-data-shared-prod/subscription_platform_derived/stripe_customers_revised_changelog_v1/query.sql
- sql/moz-fx-data-shared-prod/subscription_platform_derived/stripe_logical_subscriptions_history_v1/query.sql
- sql/moz-fx-data-shared-prod/subscription_platform_derived/stripe_plans_v1/query.sql
- sql/moz-fx-data-shared-prod/subscription_platform_derived/stripe_products_v1/query.sql
- sql/moz-fx-data-shared-prod/subscription_platform_derived/stripe_subscriptions_revised_changelog_v1/query.sql
- sql/moz-fx-data-shared-prod/subscription_platform_derived/stripe_subscriptions_history_v1/query.sql
- sql/moz-fx-data-shared-prod/mozilla_vpn_derived/add_device_events_v1/query.sql
- sql/moz-fx-data-shared-prod/mozilla_vpn_derived/devices_v1/query.sql
- sql/moz-fx-data-shared-prod/mozilla_vpn_derived/fxa_attribution_v1/query.sql
- sql/moz-fx-data-shared-prod/mozilla_vpn_derived/funnel_product_page_to_subscribed_v1/query.sql
- sql/moz-fx-data-shared-prod/mozilla_vpn_derived/guardian_apple_events_v1/query.sql
- sql/moz-fx-data-shared-prod/mozilla_vpn_derived/login_flows_v1/query.sql
- sql/moz-fx-data-shared-prod/mozilla_vpn_derived/protected_v1/query.sql
- sql/moz-fx-data-shared-prod/mozilla_vpn_derived/site_metrics_empty_check_v1/query.sql
- sql/moz-fx-data-shared-prod/mozilla_vpn_derived/site_metrics_summary_v1/query.sql
- sql/moz-fx-data-shared-prod/mozilla_vpn_derived/subscriptions_v1/query.sql
- sql/moz-fx-data-shared-prod/mozilla_vpn_derived/users_attribution_v1/query.sql
- sql/moz-fx-data-shared-prod/mozilla_vpn_derived/users_v1/query.sql
- sql/moz-fx-data-shared-prod/mozilla_vpn_external/devices_v1/query.sql
- sql/moz-fx-data-shared-prod/mozilla_vpn_external/subscriptions_v1/query.sql
- sql/moz-fx-data-shared-prod/mozilla_vpn_external/users_v1/query.sql
- sql/moz-fx-data-shared-prod/monitoring_derived/telemetry_missing_columns_v3/query.sql
- sql/moz-fx-data-shared-prod/fenix_derived/google_ads_campaign_cost_breakdowns_v1/query.sql
- sql/moz-fx-data-shared-prod/search_terms*/**/*.sql
- sql/moz-fx-data-bq-performance/release_criteria/dashboard_health_v1/query.sql
- sql/moz-fx-data-bq-performance/release_criteria/rc_flattened_test_data_v1/query.sql
- sql/moz-fx-data-bq-performance/release_criteria/release_criteria_summary_v1/query.sql
- sql/moz-fx-data-bq-performance/release_criteria/stale_tests_v1/query.sql
- sql/moz-fx-data-bq-performance/release_criteria/release_criteria_v1/query.sql
- sql/moz-fx-data-shared-prod/contextual_services/**/*.sql
- sql/moz-fx-data-shared-prod/contextual_services_derived/**/*.sql
- sql/moz-fx-data-shared-prod/contextual_services_derived/event_aggregates_v1/query.sql
- sql/moz-fx-data-shared-prod/contextual_services_derived/adm_forecasting_v1/query.sql
- sql/moz-fx-data-shared-prod/contextual_services_derived/request_payload_suggest_v2/query.sql
- sql/moz-fx-data-shared-prod/contextual_services_derived/request_payload_tiles_v2/query.sql
- sql/moz-fx-data-shared-prod/contextual_services_derived/suggest_revenue_levers_daily_v1/query.sql
- sql/moz-fx-data-shared-prod/acoustic_external/**/query.sql
- sql/moz-fx-data-marketing-prod/adjust_derived/**/*.sql
- sql/moz-fx-data-shared-prod/monitoring_derived/airflow_*/*.sql
- sql/moz-fx-data-shared-prod/google_ads_derived/**/*.sql
- sql/moz-fx-data-shared-prod/**/client_deduplication*/*.sql
- sql/moz-fx-data-shared-prod/mozilla_org_derived/downloads_with_attribution_v1/query.sql
- sql/moz-fx-data-shared-prod/mozilla_org_derived/downloads_with_attribution_v2/query.sql
- sql/moz-fx-data-marketing-prod/ga_derived/downloads_with_attribution_v1/query.sql
- sql/moz-fx-data-marketing-prod/ga_derived/downloads_with_attribution_v2/query.sql
- sql/moz-fx-data-shared-prod/google_search_console_derived/search_impressions_by_page_v1/query.sql
- sql/moz-fx-data-shared-prod/google_search_console_derived/search_impressions_by_page_v2/query.sql
- sql/moz-fx-data-shared-prod/google_search_console_derived/search_impressions_by_site_v1/query.sql
- sql/moz-fx-data-shared-prod/google_search_console_derived/search_impressions_by_site_v2/query.sql
- sql/moz-fx-data-shared-prod/mozilla_org_derived/gclid_conversions_v1/query.sql
- sql/moz-fx-data-shared-prod/fenix_derived/ltv_state_values_v1/query.sql
- sql/moz-fx-data-shared-prod/fenix_derived/ltv_state_values_v2/query.sql
- sql/moz-fx-data-shared-prod/monitoring_derived/glean_server_knob_experiments_v1/query.sql
- sql/moz-fx-data-shared-prod/stub_attribution_service_derived/dl_token_ga_attribution_lookup_v1/query.sql
- sql/moz-fx-data-shared-prod/mozilla_org_derived/gclid_conversions_v2/query.sql
- sql/moz-fx-data-shared-prod/search_derived/search_clients_daily_v8/query.sql
- sql/moz-fx-data-shared-prod/search_derived/mobile_search_aggregates_v1/query.sql
- sql/moz-fx-data-shared-prod/monitoring_derived/telemetry_missing_columns_v1/view.sql
# No matching signature for function IF
- sql/moz-fx-data-shared-prod/static/fxa_amplitude_export_users_last_seen/query.sql
# Duplicate UDF
- sql/moz-fx-data-shared-prod/static/fxa_amplitude_export_users_daily/query.sql
# HTTP Error 408: Request Time-out
- sql/moz-fx-data-shared-prod/telemetry_derived/clients_first_seen_v1/query.sql
- sql/moz-fx-data-shared-prod/telemetry_derived/clients_first_seen_v2/query.sql
- sql/moz-fx-data-shared-prod/telemetry_derived/clients_last_seen_v1/query.sql
- sql/moz-fx-data-shared-prod/telemetry_derived/clients_last_seen_v2/query.sql
- sql/moz-fx-data-shared-prod/telemetry_derived/latest_versions/query.sql
- sql/moz-fx-data-shared-prod/telemetry_derived/italy_covid19_outage_v1/query.sql
- sql/moz-fx-data-shared-prod/telemetry_derived/main_nightly_v1/query.sql
- sql/moz-fx-data-shared-prod/telemetry_derived/main_1pct_v1/query.sql
- sql/moz-fx-data-shared-prod/fenix_derived/android_onboarding_v1/query.sql
# Query parameter not found
- sql/moz-fx-data-shared-prod/telemetry_derived/experiments_v1/query.sql
- sql/moz-fx-data-shared-prod/telemetry_derived/clients_daily_scalar_aggregates_v1/query.sql
- sql/moz-fx-data-shared-prod/telemetry_derived/clients_daily_keyed_scalar_aggregates_v1/query.sql
- sql/moz-fx-data-shared-prod/telemetry_derived/clients_daily_keyed_boolean_aggregates_v1/query.sql
- sql/moz-fx-data-shared-prod/telemetry_derived/clients_daily_histogram_aggregates_content_v1/query.sql
- sql/moz-fx-data-shared-prod/telemetry_derived/clients_daily_histogram_aggregates_gpu_v1/query.sql
- sql/moz-fx-data-shared-prod/telemetry_derived/clients_daily_histogram_aggregates_parent_v1/query.sql
- sql/moz-fx-data-shared-prod/telemetry_derived/clients_daily_keyed_histogram_aggregates_v1/query.sql
- sql/moz-fx-data-shared-prod/telemetry_derived/clients_histogram_aggregates_v1/query.sql
- sql/moz-fx-data-shared-prod/telemetry_derived/clients_histogram_aggregates_v2/query.sql
- sql/moz-fx-data-shared-prod/telemetry_derived/clients_histogram_probe_counts_v1/query.sql
- sql/moz-fx-data-shared-prod/telemetry_derived/clients_histogram_bucket_counts_v1/query.sql
- sql/moz-fx-data-shared-prod/telemetry_derived/glam_client_probe_counts_extract_v1/query.sql
- sql/moz-fx-data-shared-prod/telemetry_derived/client_probe_counts/view.sql
- sql/moz-fx-data-shared-prod/telemetry_derived/glam_sample_counts_v1/query.sql
- sql/moz-fx-data-shared-prod/telemetry_derived/glam_user_counts_v1/query.sql
- sql/moz-fx-data-shared-prod/telemetry_derived/clients_scalar_probe_counts_v1/query.sql
- sql/moz-fx-data-shared-prod/telemetry/client_probe_counts/view.sql
- sql/moz-fx-data-shared-prod/monitoring_derived/bigquery_etl_sql_run_check_v1/query.sql
- sql/moz-fx-data-shared-prod/telemetry_derived/clients_daily_scalar_aggregates_v1/query.sql
# Dataset sql/glam-fenix-dev:glam_etl was not found
- sql/glam-fenix-dev/glam_etl/**/*.sql
- sql/moz-fx-data-glam-prod-fca7/glam_etl/**/*.sql
# Source table does not have a verifiable schema
- sql/moz-fx-data-shared-prod/monitoring_derived/outerbounds_cost_per_flow_run_v1/view.sql
- sql/moz-fx-data-shared-prod/monitoring_derived/outerbounds_cost_per_flow_v1/view.sql
# Query templates
- sql/moz-fx-data-shared-prod/search_derived/mobile_search_clients_daily_v1/fenix_metrics.template.sql
- sql/moz-fx-data-shared-prod/search_derived/mobile_search_clients_daily_v1/mobile_search_clients_daily.template.sql
# Query too complex
- sql/moz-fx-data-shared-prod/firefox_accounts_derived/event_types_history_v1/query.sql
# Tests
- sql/moz-fx-data-test-project/test/simple_view/view.sql
format:
skip:
- bigquery_etl/glam/templates/*.sql
- sql_generators/**/*.sql
- tests/**/*.sql
- sql/moz-fx-data-shared-prod/udf_js/jackknife_percentile_ci/udf.sql
- sql/moz-fx-data-shared-prod/udf_js/bootstrap_percentile_ci/udf.sql
- sql/moz-fx-data-shared-prod/udf_legacy/contains.sql
- sql/moz-fx-data-shared-prod/udf_legacy/date_format.sql
- sql/moz-fx-data-shared-prod/udf_legacy/date_trunc.sql
- sql/moz-fx-data-shared-prod/udf_legacy/to_iso8601.sql
- stored_procedures/safe_crc32_uuid.sql
skip_qualifying_references:
- sql/mozfun/**/examples/*.sql
routine:
dependency_dir: udf_js_lib/
publish:
gcs_bucket: moz-fx-data-prod-bigquery-etl
gcs_path: ""
skip:
- sql/moz-fx-data-shared-prod/udf/main_summary_scalars/udf.sql
example_dir: examples
project: mozfun
view:
validation:
skip:
# tests
- sql/moz-fx-data-test-project/test/simple_view/view.sql
publish:
skip:
- sql/moz-fx-data-shared-prod/activity_stream/tile_id_types/view.sql
- sql/moz-fx-data-shared-prod/pocket/pocket_reach_mau/view.sql
- sql/moz-fx-data-shared-prod/telemetry/buildhub2/view.sql
# Dataset glam-fenix-dev:glam_etl was not found
# TODO: this should be removed if views are to be automatically deployed
- sql/glam-fenix-dev/glam_etl/**/view.sql
# tests
- sql/moz-fx-data-test-project/test/simple_view/view.sql
schema:
mozilla_pipeline_schemas_uri: https://github.com/mozilla-services/mozilla-pipeline-schemas
skip_prefixes:
- pioneer
- rally
docs:
docs_dir: docs
default_projects:
- mozfun
- moz-fx-data-shared-prod
source_url: https://github.com/mozilla/bigquery-etl/blob/generated-sql
edit_url: https://github.com/mozilla/bigquery-etl/edit/generated-sql
public_data:
bucket: mozilla-public-data-http
api_version: v1
endpoint: https://public-data.telemetry.mozilla.org/
review_link: https://bugzilla.mozilla.org/show_bug.cgi?id=
render:
skip:
# uses {%s} which results in unknown tag exception
- sql/mozfun/hist/string_to_json/udf.sql
generate:
glean_usage:
skip_existing: # Skip automatically updating the following artifacts
- sql/moz-fx-data-shared-prod/fenix/client_deduplication/**
- sql/moz-fx-data-shared-prod/org_mozilla_tv_firefox_derived/baseline_clients_last_seen_v1/checks.sql
- sql/moz-fx-data-shared-prod/org_mozilla_reference_browser_derived/baseline_clients_last_seen_v1/checks.sql
skip_apps:
- mlhackweek_search
- moso_mastodon_android
- moso_mastodon_web
- moso_mastodon_backend
- regrets_reporter
- regrets_reporter_ucs
- tiktokreporter_android
- tiktokreporter_ios
- org_mozilla_ios_tiktok_reporter
- org_mozilla_ios_tiktok_reporter_tiktok_reportershare
- org_mozilla_tiktokreporter
- relay_backend # see https://mozilla-hub.atlassian.net/browse/DENG-3720
- ads_backend
- monitor_backend # see https://bugzilla.mozilla.org/show_bug.cgi?id=1905444
events_stream:
skip_apps:
- bergamot
- firefox_echo_show
- firefox_fire_tv
- firefox_reality
- firefox_reality_pc
- lockwise_android
- lockwise_ios
- org_mozilla_ios_tiktok_reporter
- org_mozilla_ios_tiktok_reporter_tiktok_reportershare
- org_mozilla_tiktokreporter
metrics_as_struct:
- accounts_frontend
- accounts_backend
events_monitoring:
skip_pings:
- topsites-impression # access denied
- serp-categorization # access denied
- background-update # table doesn't exist
events_tables: # overwrite event tables
pine: # Probe info returns pings that don't have tables, only use events_v1
- events_v1