DataBrewery / cubes

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

Cube query flow redesign #408

Open Stiivi opened 7 years ago

Stiivi commented 7 years ago

Problem

Current query flow and generation is not very transparent and there is no clear separation of concerns – which part is doing what.

Details

Proposed design:

query context

Impact on Existing Code

New recommended flow of query creation will be created. Breaking changes: any construction of cells with model objects will fail For backward compatibility the Browser will wrap functionality of the new components.

Should NOT break server API v2.

References

Depends on:

Has impact on:

Dependents:

Stiivi commented 7 years ago

Copy from #407: places where Cell is using Dimension object or places affected by it: