DataBrewery / cubes

[NOT MAINTAINED] Light-weight Python OLAP framework for multi-dimensional data analysis
http://cubes.databrewery.org
Other
1.49k stars 314 forks source link

Cube and Dimension Representations #399

Open Stiivi opened 7 years ago

Stiivi commented 7 years ago

Master issue wrapping multiple tasks with similar topic.

Synopsis: Cube and Dimension representations are logical-to-physical mapping objects. One dimension can have multiple dimension representations and one cube can have multiple cube representations.

Related issues: #118, #24, #264, #372

Problem

Cube mostly a logical concept. It's physical representation might be in a form of a star, snowflake, denormalized table, pre-aggregated rollup. All of the representations are just materializations of the cube.

Similar with a dimension where a dimension can be fully normalized in 3rd normal form or might have some levels grouped in a denormalized tables.

Reasons for such normalization and aggregation might be, performance, easier query-ability, join reduction (applies to both previously mentioned), etc.

Changes