Closed Bug 1836271 Opened 1 year ago Closed 1 year ago

Backfill desktop.active_users_aggregates 2018, 2019 and 2020

Categories

(Data Platform and Tools :: General, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: lucia-vargas-a, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/115.0

Steps to reproduce:

Data in desktop.active_users_aggregates is available from 2021-01-01.

Actual results:

There is a request to make data available from 2018 for Desktop:
https://mozilla-hub.atlassian.net/browse/DENG-971

Expected results:

Data should be available from 2018-01-01 for Firefox Desktop in the telemetry.active_users_aggregates.

Step 1. Generate full snapshot of firefox_desktop_derived.active_users_aggregates_v1 with expiration in 30 days.

Step 2. Backfill moz-fx-data-shared-prod.firefox_desktop_derived.active_users_aggregates_v1 per year. Use --dry-run first.

  • Dry-run commands
    bqetl query backfill —dry-run firefox_desktop_derived.active_users_aggregates_v1 --project_id=moz-fx-data-shared-prod -s 2018-01-01 -e 2018-12-31 -n 0
    bqetl query backfill —dry-run firefox_desktop_derived.active_users_aggregates_v1 --project_id=moz-fx-data-shared-prod -s 2019-01-01 -e 2019-12-31 -n 0
    bqetl query backfill —dry-run firefox_desktop_derived.active_users_aggregates_v1 --project_id=moz-fx-data-shared-prod -s 2020-01-01 -e 2020-12-31 -n 0

  • Backfill commands
    bqetl query backfill firefox_desktop_derived.active_users_aggregates_v1 --project_id=moz-fx-data-shared-prod -s 2018-01-01 -e 2018-12-31 -n 0
    bqetl query backfill firefox_desktop_derived.active_users_aggregates_v1 --project_id=moz-fx-data-shared-prod -s 2019-01-01 -e 2019-12-31 -n 0
    bqetl query backfill firefox_desktop_derived.active_users_aggregates_v1 --project_id=moz-fx-data-shared-prod -s 2020-01-01 -e 2020-12-31 -n 0

Locally, generate the query before running the dry-run and backfill commands:
./script/bqetl generate active_users

Backfill completed.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.