Pre-aggregations give incorrect result for rolling_window measure #8745
Labels
backend:server
Issues relating to Cube Core's Server
bug
Something isn't working
cube store
Issues relating to Cube Store
Describe the bug
The same query yields different results when executed with and without pre-aggregations. Looks like incorrect SQL is generated for Cube Store.
To Reproduce
NULL
as a result:Expected behavior
4. Comment out the pre-aggregation in the data model
6. Run the same query
7. Get
4
as the result8. See that different SQL is generated (no wrappings around
base
):Screenshots
If applicable, add screenshots to help explain your problem.
Minimally reproducible Cube Schema
Version:
v0.36.2
Additional context
Found while investigating #6951
The text was updated successfully, but these errors were encountered: