Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT merge] - DENG 7386 - Set retention on client level tables related to search, serp, urlbar #6820

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ owners:
labels:
incremental: true
schedule: daily
table_type: client_level
scheduling:
dag_name: bqetl_review_checker
task_name: firefox_desktop_review_checker_clients__v1
Expand All @@ -14,6 +15,7 @@ bigquery:
type: day
field: submission_date
require_partition_filter: true
expiration_days: 775
clustering:
fields:
- normalized_channel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ owners:
labels:
incremental: true
schedule: daily
table_type: client_level
scheduling:
dag_name: bqetl_review_checker
task_name: firefox_desktop_review_checker_events__v1
Expand All @@ -16,6 +17,7 @@ bigquery:
type: day
field: submission_date
require_partition_filter: true
expiration_days: 775
clustering:
fields:
- normalized_channel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ owners:
labels:
incremental: true
schedule: daily
table_type: client_level
scheduling:
dag_name: bqetl_review_checker
task_name: firefox_desktop_review_checker_microsurvey__v1
Expand All @@ -14,6 +15,7 @@ bigquery:
type: day
field: submission_date
require_partition_filter: true
expiration_days: 775
clustering:
fields:
- normalized_channel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ owners:
labels:
incremental: true
schedule: daily
table_type: client_level
scheduling:
dag_name: bqetl_review_checker
task_name: org_mozilla_fenix_review_checker_clients__v1
Expand All @@ -14,6 +15,7 @@ bigquery:
type: day
field: submission_date
require_partition_filter: true
expiration_days: 775
clustering:
fields:
- normalized_channel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ owners:
labels:
incremental: true
schedule: daily
table_type: client_level
scheduling:
dag_name: bqetl_review_checker
task_name: org_mozilla_fenix_review_checker_events__v1
Expand All @@ -16,6 +17,7 @@ bigquery:
type: day
field: submission_date
require_partition_filter: true
expiration_days: 775
clustering:
fields:
- normalized_channel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ owners:
labels:
incremental: true
schedule: daily
table_type: client_level
scheduling:
dag_name: bqetl_review_checker
task_name: org_mozilla_ios_firefox_review_checker_clients__v1
Expand All @@ -14,6 +15,7 @@ bigquery:
type: day
field: submission_date
require_partition_filter: true
expiration_days: 775
clustering:
fields:
- normalized_channel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ owners:
labels:
incremental: true
schedule: daily
table_type: client_level
scheduling:
dag_name: bqetl_review_checker
task_name: org_mozilla_ios_firefox_review_checker_events__v1
Expand All @@ -16,6 +17,7 @@ bigquery:
type: day
field: submission_date
require_partition_filter: true
expiration_days: 775
clustering:
fields:
- normalized_channel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ owners:
labels:
incremental: true
schedule: monthly
table_type: client_level
scheduling:
dag_name: bqetl_desktop_mobile_search_monthly
date_partition_parameter: null
Expand All @@ -23,4 +24,5 @@ bigquery:
type: month
field: submission_month
require_partition_filter: true
expiration_days: 775
clustering: null
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ description: |-
pulls from metrics, and after 2024.07.31, pulls from baseline.

This table contains the historical data.
labels:
table_type: client_level
owners:
- [email protected]
- [email protected]
Expand All @@ -15,4 +17,4 @@ bigquery:
type: day
field: submission_date
require_partition_filter: true
expiration_days: null
expiration_days: 775
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ labels:
dag: bqetl_mobile_search
owner1: akommasani
owner2: cmorales
table_type: client_level
scheduling:
dag_name: bqetl_mobile_search
depends_on_past: true
Expand All @@ -21,7 +22,7 @@ bigquery:
type: day
field: submission_date
require_partition_filter: true
expiration_days: null
expiration_days: 775
clustering:
fields:
- sample_id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ owners:
- [email protected]
labels:
schedule: daily
table_type: client_level
scheduling:
dag_name: bqetl_search
external_downstream_tasks:
Expand All @@ -22,7 +23,7 @@ bigquery:
type: day
field: submission_date
require_partition_filter: true
expiration_days: null
expiration_days: 775
clustering:
fields:
- sample_id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ labels:
dag: bqetl_search
owner1: akommasani
owner2: cmorales
table_type: client_level
scheduling:
dag_name: bqetl_search
depends_on_past: true
Expand All @@ -25,7 +26,7 @@ bigquery:
type: day
field: submission_date
require_partition_filter: true
expiration_days: null
expiration_days: 775
clustering:
fields:
- sample_id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ owners:
- [email protected]
labels:
schedule: daily
table_type: client_level
scheduling:
dag_name: bqetl_search
depends_on_past: true
Expand All @@ -20,6 +21,7 @@ bigquery:
type: day
field: submission_date
require_partition_filter: true
expiration_days: 775
clustering:
fields:
- sample_id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ labels:
application: firefox
incremental: true
schedule: daily
table_type: client_level
scheduling:
dag_name: bqetl_urlbar
bigquery:
time_partitioning:
type: day
field: submission_date
require_partition_filter: true
expiration_days: 775
clustering:
fields:
- normalized_channel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@ owners:
- [email protected]
labels:
schedule: daily
table_type: client_level
scheduling:
dag_name: bqetl_mobile_search
bigquery:
time_partitioning:
type: day
field: submission_date
require_partition_filter: true
expiration_days: 775
clustering:
fields:
- sample_id
2 changes: 2 additions & 0 deletions sql_generators/serp_events_v2/templates/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ owners:
labels:
incremental: true
schedule: daily
table_type: client_level
scheduling:
dag_name: bqetl_serp
task_name: {{ app_name }}_serp_events__v2
Expand All @@ -31,6 +32,7 @@ bigquery:
type: day
field: submission_date
require_partition_filter: true
expiration_days: 775
clustering:
fields:
- normalized_channel
Expand Down
2 changes: 2 additions & 0 deletions sql_generators/urlbar_events/templates/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ owners:
labels:
incremental: true
schedule: daily
table_type: client_level
scheduling:
dag_name: bqetl_urlbar
task_name: {{ app_name }}_urlbar_events__v2
Expand All @@ -19,6 +20,7 @@ bigquery:
type: day
field: submission_date
require_partition_filter: true
expiration_days: 775
clustering:
fields:
- normalized_channel
Expand Down