Skip to content

Commit

Permalink
MONDRIAN: Added group by groupings sets support
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//open/mondrian/": change = 9470]
  • Loading branch information
thiyagu committed Jun 18, 2007
1 parent 37fab02 commit 8ed0aaa
Show file tree
Hide file tree
Showing 25 changed files with 3,778 additions and 707 deletions.
5 changes: 5 additions & 0 deletions mondrian.properties
Expand Up @@ -331,4 +331,9 @@ mondrian.rolap.iterationLimit=0
# evaluates to Infinity. If false, the same division results in Null.
# mondrian.olap.NullDenominatorProducesInfinity=true

################################################################################
# If true and if the database supports group by grouping sets query, then roll-up
# data will be fetched using group by grouping sets query
#mondrian.rolap.groupingsets.enable=false

# End mondrian.properties
10 changes: 10 additions & 0 deletions src/main/mondrian/olap/MondrianProperties.java
Expand Up @@ -965,6 +965,16 @@ public Property getPropertyDefinition(String path) {
public transient final BooleanProperty NullDenominatorProducesInfinity =
new BooleanProperty(
this, "mondrian.olap.NullDenominatorProducesInfinity", true);

/**
* Whether the <code>GroupingSets</code> should be used in sql query for
* rollup. By default it is not enabled. Even if this property is set to
* true, grouping sets will be used only on supported Databases.
* {@link mondrian.rolap.sql.SqlQuery.Dialect#isGroupingSetSupported}
*/
public transient final BooleanProperty useGroupingSets = new BooleanProperty(
this, "mondrian.rolap.groupingsets.enable", false);

}

// End MondrianProperties.java

0 comments on commit 8ed0aaa

Please sign in to comment.