Skip to content

Commit

Permalink
DENG7386-Set retention on search, urlbar, serp tables
Browse files Browse the repository at this point in the history
  • Loading branch information
alekhyamoz committed Jan 15, 2025
1 parent b81a7a0 commit bf7fdcb
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 1 deletion.
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 @@ -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 @@ -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

0 comments on commit bf7fdcb

Please sign in to comment.