Open
Bug 2077148
Opened 1 month ago
Updated 1 month ago
Expose event `flows` metadata in `events_stream`
Categories
(Data Platform and Tools :: Glean: SDK, enhancement, P3)
Data Platform and Tools
Glean: SDK
Tracking
(Not tracked)
NEW
People
(Reporter: travis_, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
Carry the new flows field into events_stream and add scalar columns for the common single-flow case.
- Keep
flowsas an array column. Don't unnest it. An event in two flows would become two rows and changeCOUNT(*)for every existing query. - Add
flow_nameandflow_seqcolumns, populated when the event has exactly oneflowsentry and null otherwise, so most queries need noUNNEST. - Document that a repeated field is never null. An event with no flow has
ARRAY_LENGTH(flows) = 0, notflows IS NULL. A nullflow_namedoesn't by itself mean the event has no flow.
You need to log in
before you can comment on or make changes to this bug.
Description
•