Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MONDRIAN: Partial fix for bug MONDRIAN-751, "Drill SQL does not inclu…
…de slicer members in WHERE clause". If there are calculated members, Cell.canDrillThrough returns false, but if you choose to drill through, Cell.drillThrough will generate a query that ignores those members. Most of this has been the behavior since MONDRIAN-180, but new in this change, we check for calculated members in hierarchies other than measures, and we recognise 'Aggregate({m})' as a trivial calculated member equivalent to 'm'. Also remove 'throws Exception' from a few test cases. Checked exceptions are ugly. Also, don't be so eager to wrap the argument to the 'Aggregate' function in a call to the 'Cache' function. If the argument is simple, it is faster to evaluate without caching. [git-p4: depot-paths = "//open/mondrian-release/3.2/": change = 13660]
- Loading branch information
1 parent
e159421
commit 93d2c57
Showing
7 changed files
with
233 additions
and
48 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
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.