Closed Bug 1365737 Opened 9 years ago Closed 6 years ago

Generic Longitudinal should aggregate nested type elements as arrays

Categories

(Data Platform and Tools Graveyard :: Datasets: Longitudinal, enhancement, P4)

x86
macOS
enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: frank, Assigned: frank)

Details

Currently, the Generic Longitudinal aggregates Struct Types by returning an array of Struct Types. The desired output would actually be a single struct, where each element of that struct was an array (unless that element is also a struct, in which case it should recursively create a single struct). Optionally, Maps could be treated in a similar fashion. Instead of Array[Map[Any, Any]], the schema should contain a Map[Any, Array[Any]] with the values of all keys merged as an array. This is a more difficult scenario, however - if the key is not present in one of the pings, do we add a value of NULL, or simply not add a value at all? The former results in NULLs where keys were empty, the latter in confusion between a key being present with NULL value and no key at all. (I'm leaning towards not doing this.)
Assignee: nobody → fbertsch
Priority: P2 → P4
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Product: Data Platform and Tools → Data Platform and Tools Graveyard
You need to log in before you can comment on or make changes to this bug.