Closed
Bug 1507238
Opened 7 years ago
Closed 6 years ago
Sample ID columns in event ping events are converted to string from float somewhere a long the way
Categories
(Data Platform and Tools :: General, enhancement, P1)
Data Platform and Tools
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bugzilla, Unassigned)
Details
Attachments
(1 external file)
The `sample_id` column in event ping events are all like, "42.0". It appears when reading the raw ping the sample_id is being read as a float, then converted to a string.
We need to
1. fix the bug in the telemetry-streaming job
2. backfill existing event ping events (estimated to take less than 100 machine hours -- 140 days, ~40 mins per day lately)
3. prevent something like this from happening in the future (something something type safety)
Comment 1•7 years ago
|
||
PR is merged in, and I've written a fixed version of the dataset to telemetry-backfill per https://dbc-caf9527b-e073.cloud.databricks.com/#notebook/48410
The thing now is to schedule a copy (which should be fairly quick -- I'd expect less than an hour). I could do it later tonight, but I think I'd like to have a script for delete/cp ready to go and reviewed, so I'm gonna target doing that tomorrow evening.
Re: preventing this in the future, unfortunately we can't change the sample_id representation to Long from Double (see PR above) but I did add a method for doing the conversion to string correctly to the class so hopefully that at least will serve as an in-code warning for future devs to watch out for this.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•4 years ago
|
Component: Datasets: Events → General
You need to log in
before you can comment on or make changes to this bug.
Description
•