by mulmen · 5y ago · 0 comments
e:
I believe (I could be wrong!) you edited the second query from
SELECT dimension, measure
FROM table
GROUP BY 1
To SELECT dimension, filter, measure
FROM table
GROUP BY 1, 2
This addresses the filtering but how is that any different from the original table? Presumably `table` could have been a finer grain than the filter and dimension but you’d do better to add the rest of the dimensions as well, at which point you’re most of the way to a star schema.This kind of pre-computed aggregate is typical in data warehousing. But is it really an “OLAP cube”?
In general I agree there is value in the methods of the past and we would be well served to adapt those concepts to our work today.
I wouldn’t call this an “OLAP Cube”. It’s just an aggregated fact table. A collection of those with their corresponding dimensions is a “data mart”.