Data missing from clients_daily from 2017-01-01 through 2018-10-29
Categories
(Data Platform and Tools :: General, defect, P1)
Tracking
(Not tracked)
People
(Reporter: klukas, Assigned: klukas)
References
Details
Attachments
(2 files)
As part of https://bugzilla.mozilla.org/show_bug.cgi?id=1716074 I ran a backfill of clients_daily_v6 from main_v4 for all dates starting at 2017-01-01. This ran during the Wellness week (last week of June).
I had forgotten, however, that main_v4 only reaches back to 2018-10-30, so all the earlier dates ended up empty. I did not do sufficient validation to notice this, and :benwu just alerted me to the problem.
We are BigQuery's built-in 7-day retention period, so we cannot simply roll back those partitions to their previous state. I see two options for recovery:
- Rerun the empty partitions, using a previous version of the
clients_daily_v6query which targetedmain_summary, or - Backfill by querying
clients_last_seen; that table contains a superset of the clients_daily fields, so we should be able to craft a SELECT statement that recreatesclients_daily.
Option (2) is likely cheaper in terms of compute time and data scanned, and also is likely easier to implement. I will pursue that route.
| Assignee | ||
Comment 1•5 years ago
•
|
||
| Assignee | ||
Comment 2•5 years ago
•
|
||
| Assignee | ||
Comment 3•5 years ago
|
||
I've started this backfill from 2018-10-29 backwards, using the moz-fx-data-backfill-slots project.
| Assignee | ||
Comment 4•5 years ago
|
||
I've completed a backfill for 2017-01-01 to 2018-10-29. clients_daily now looks continuous over those boundaries.
Updated•4 years ago
|
Description
•