Let’s say we have records of user milestones:
user_id | event_a | event_b | event_c | …
1 | time_a | time_b | time_c | …
We’d like users to be able to calculate differences between two arbitrary event times on the fly, as well as measures on them. For example, answering the question “What is the average time elapsed between event_x and event_y for a user?” for arbitrary x and y.
Short of hard-coding dimensions for all n^2 pairs of events, is there a way to enable this?