forked from pentaho/mondrian
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MONDRIAN-2124] Cell queries are not aggregated when ignored/un-match…
…ed columns are present There's logic in AggregationManager.findAgg() which determines whether or not it's possible to omit the rollup when pulling data from an aggregate table. This is allowed, for example, if the granularity of the request matches the granularity of the agg table. Formerly we were determining whether the granularity is the same by looking at whether the bitkeys matched, and whether the agg table was fully collapsed. This left open the possibility that ignored or unused columns in the agg table could result in difft granularity. Now we take the conservative stance that presence of any ignored column means that we have to rollup. Similary, for distinct-count measures, if an ignored or unused column is present, we now make the assumption that the agg table cannot be safely used.
- Loading branch information
Showing
5 changed files
with
319 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.