|
|
|
|
|
by MechanicalTwerk
2085 days ago
|
|
Wish you the best of luck but isn't this just a fancier version of EAV? https://en.wikipedia.org/wiki/Entity%E2%80%93attribute%E2%80... IMO, it doesn't matter what kind of db technology, schema or query tool that you use. A company will always have analysis sprawl regardless of whether those analyses are represented as data lake files, sql tabes, materialized views, regular views, or (as is often the case with EAV and other such schemas) queries saved in some BI tool. There is no silver bullet and it will always take some work to maintain single source of truth, traceability, a coherent model that is understandable by average business users, etc. |
|
This was quite a challenge and I think what makes the traceability and source of truth problem a lot simpler.
In Narrator, the data team writes small SQL to create single customer centric business concepts that we call activities. These are around 25 lines and decided to be understood by anyone in the company (i.e. "viewed page", "called us",...).
Now, every question you or a stakeholder has will simply be a rearrangement of these activities. If you can describe what you want, then Narrator can assemble a table that represent it.
Source of truth - What ever is in the activity stream? Tracebility - always Dataset (activities and how they relate), then activities (~25 SQL). Coherent Model - Customers doing actions in time.
Does that make sense? Some of these things are easier to show in a demo then describe in text.