mondrian.util
Class Bug
java.lang.Object
mondrian.util.Bug
public class Bug
- extends Object
Holder for constants which indicate whether particular issues have been
fixed. Reference one of those constants in your code, and it is clear which
code can be enabled when the bug is fixed. Generally a constant is removed
when its bug is fixed.
- Since:
- Oct 11, 2006
- Version:
- $Id: //open/mondrian/src/main/mondrian/util/Bug.java#34 $
- Author:
- jhyde
Field Summary |
static boolean |
BugMondrian207Fixed
Whether
MONDRIAN-207,
"IS EMPTY and IS NULL" is fixed. |
static boolean |
BugMondrian229Fixed
Whether
MONDRIAN-229,
"NON EMPTY when hierarchy's default member is not 'all'"
is fixed. |
static boolean |
BugMondrian313Fixed
Whether
bug MONDRIAN-313,
"Predicate references RolapStar.Column when used in AggStar"
is fixed. |
static boolean |
BugMondrian314Fixed
Whether
bug MONDRIAN-314,
"Predicate sometimes has null RolapStar.Column"
is fixed. |
static boolean |
BugMondrian328Fixed
Whether
bug MONDRIAN-328,
"CrossJoin no empty optimizer eliminates calculated member"
is fixed. |
static boolean |
BugMondrian361Fixed
Whether
bug MONDRIAN-361,
"Aggregate Tables not working with Shared Dimensions"
is fixed. |
static boolean |
BugMondrian446Fixed
Whether
bug MONDRIAN-446,
"Make Native NonEmpty consistant with MSAS"
is fixed. |
static boolean |
BugMondrian486Fixed
Whether
bug MONDRIAN-486,
"HighCardinalityTest test cases disabled"
is fixed. |
static boolean |
BugMondrian495Fixed
Whether bug
MONDRIAN-495, "Table filter concept does not support dialects."
is fixed. |
static boolean |
BugMondrian503Fixed
Whether
bug MONDRIAN-503,
"RolapResultTest disabled"
is fixed. |
static boolean |
BugMondrian555Fixed
Whether
bug MONDRIAN-555,
"Compound slicer counts cells twice in certain cases" is fixed. |
static boolean |
BugMondrian584Fixed
Whether
bug MONDRIAN-584,
"Native evaluation returns enumerated members in the wrong order"
is fixed. |
static boolean |
BugMondrian641Fixed
Whether
bug MONDRIAN-641,
"Large NON EMPTY result performs poorly with ResultStyle.ITERABLE" |
static boolean |
BugMondrian648Fixed
Whether
bug MONDRIAN-648,
"AS operator has lower precedence than required by MDX specification"
is fixed. |
static boolean |
Checkin7641UseOptimizer
|
static boolean |
Ssas2005Compatible
Whether Mondrian is 100% compatible with Microsoft Analysis Services
2005. |
Constructor Summary |
Bug()
|
Method Summary |
static boolean |
avoidMemoryOverflow(Dialect dialect)
Returns whether to avoid a test because the memory monitor may cause it
to fail. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Ssas2005Compatible
public static final boolean Ssas2005Compatible
- Whether Mondrian is 100% compatible with Microsoft Analysis Services
2005. We know that it is not, so this constant is
false
.
Use this
field to flag test cases whose behavior is intentionally different from
SSAS. If the behavior is unintentionally different and something
we want to fix, log a bug, add a new BugMondrianXxxFixed
constant
to this class, and make the test case conditional on that constant
instead.
See also the property
MondrianProperties.SsasCompatibleNaming
,
which allows the user to choose certain behaviors which are compatible
with SSAS 2005 but incompatible with Mondrian's previous behavior.
- See Also:
- Constant Field Values
BugMondrian229Fixed
public static final boolean BugMondrian229Fixed
- Whether
MONDRIAN-229,
"NON EMPTY when hierarchy's default member is not 'all'"
is fixed.
- See Also:
- Constant Field Values
Checkin7641UseOptimizer
public static final boolean Checkin7641UseOptimizer
- See Also:
- Constant Field Values
BugMondrian207Fixed
public static final boolean BugMondrian207Fixed
- Whether
MONDRIAN-207,
"IS EMPTY and IS NULL" is fixed.
- See Also:
- Constant Field Values
BugMondrian446Fixed
public static final boolean BugMondrian446Fixed
- Whether
bug MONDRIAN-446,
"Make Native NonEmpty consistant with MSAS"
is fixed.
- See Also:
- Constant Field Values
BugMondrian313Fixed
public static final boolean BugMondrian313Fixed
- Whether
bug MONDRIAN-313,
"Predicate references RolapStar.Column when used in AggStar"
is fixed.
- See Also:
- Constant Field Values
BugMondrian314Fixed
public static final boolean BugMondrian314Fixed
- Whether
bug MONDRIAN-314,
"Predicate sometimes has null RolapStar.Column"
is fixed.
- See Also:
- Constant Field Values
BugMondrian328Fixed
public static final boolean BugMondrian328Fixed
- Whether
bug MONDRIAN-328,
"CrossJoin no empty optimizer eliminates calculated member"
is fixed.
- See Also:
- Constant Field Values
BugMondrian361Fixed
public static final boolean BugMondrian361Fixed
- Whether
bug MONDRIAN-361,
"Aggregate Tables not working with Shared Dimensions"
is fixed.
- See Also:
- Constant Field Values
BugMondrian486Fixed
public static final boolean BugMondrian486Fixed
- Whether
bug MONDRIAN-486,
"HighCardinalityTest test cases disabled"
is fixed.
- See Also:
- Constant Field Values
BugMondrian495Fixed
public static final boolean BugMondrian495Fixed
- Whether bug
MONDRIAN-495, "Table filter concept does not support dialects."
is fixed.
- See Also:
- Constant Field Values
BugMondrian503Fixed
public static final boolean BugMondrian503Fixed
- Whether
bug MONDRIAN-503,
"RolapResultTest disabled"
is fixed.
- See Also:
- Constant Field Values
BugMondrian555Fixed
public static final boolean BugMondrian555Fixed
- Whether
bug MONDRIAN-555,
"Compound slicer counts cells twice in certain cases" is fixed.
If a set in the slicer contains the same member more than once, or more
generally, if the regions overlap, then mondrian counts the overlaps
twice, whereas SSAS 2005 does not.
- See Also:
- Constant Field Values
BugMondrian584Fixed
public static final boolean BugMondrian584Fixed
- Whether
bug MONDRIAN-584,
"Native evaluation returns enumerated members in the wrong order"
is fixed. A query that includes { Gender.M, Gender.F } should return
results where the Gender.M values are returned before the Gender.F
values.
- See Also:
- Constant Field Values
BugMondrian641Fixed
public static final boolean BugMondrian641Fixed
- Whether
bug MONDRIAN-641,
"Large NON EMPTY result performs poorly with ResultStyle.ITERABLE"
- See Also:
- Constant Field Values
BugMondrian648Fixed
public static final boolean BugMondrian648Fixed
- Whether
bug MONDRIAN-648,
"AS operator has lower precedence than required by MDX specification"
is fixed.
- See Also:
- Constant Field Values
Bug
public Bug()
avoidMemoryOverflow
public static boolean avoidMemoryOverflow(Dialect dialect)
- Returns whether to avoid a test because the memory monitor may cause it
to fail.
Some tests fail if memory monitor is switched on, and Access and
Derby tend to use a lot of memory because they are embedded.
- Parameters:
dialect
- Dialect
- Returns:
- Whether to avoid a test