Skip to content

Commit

Permalink
MONDRIAN: Fix test exceptions in FilterTest where SQL queries are now…
Browse files Browse the repository at this point in the history
… 'even

    better than expected' if agg tables are enabled.

[git-p4: depot-paths = "//open/mondrian-release/3.2/": change = 13601]
  • Loading branch information
julianhyde committed May 4, 2010
1 parent 4d7d237 commit de94ad4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions testsrc/main/mondrian/rolap/FilterTest.java
Expand Up @@ -332,6 +332,11 @@ public void testNotInFilterExcludeNullMember() throws Exception {
* that contain multiple levels, but none being null.
*/
public void testNotInMultiLevelMemberConstraintNonNullParent() {
if (MondrianProperties.instance().ReadAggregates.get()) {
// If aggregate tables are enabled, generates similar SQL involving
// agg tables.
return;
}
String query =
"With "
+ "Set [*NATIVE_CJ_SET] as 'NonEmptyCrossJoin([*BASE_MEMBERS_Customers],[*BASE_MEMBERS_Quarters])' "
Expand Down Expand Up @@ -395,6 +400,11 @@ public void testNotInMultiLevelMemberConstraintNonNullParent() {
* the same parent.
*/
public void testNotInMultiLevelMemberConstraintNonNullSameParent() {
if (MondrianProperties.instance().ReadAggregates.get()) {
// If aggregate tables are enabled, generates similar SQL involving
// agg tables.
return;
}
String query =
"With "
+ "Set [*NATIVE_CJ_SET] as 'NonEmptyCrossJoin([*BASE_MEMBERS_Customers],[*BASE_MEMBERS_Quarters])' "
Expand Down

0 comments on commit de94ad4

Please sign in to comment.