public class Bug extends Object
Id.Segment
IdentifierSegment
. Likewise
Id.Quoting
with Quoting
.
Should wait until after the mondrian 4 'big bang', because there are ~300
uses of Segment in the code.Constructor and Description |
---|
Bug() |
Modifier and Type | Method and Description |
---|---|
static boolean |
avoidMemoryOverflow(Dialect dialect)
Returns whether to avoid a test because the memory monitor may cause it
to fail.
|
static boolean |
avoidSlowTestOnLucidDB(Dialect dialect)
Returns true if we are running against
Dialect.DatabaseProduct.LUCIDDB and we wish to
avoid slow tests. |
static boolean |
olap4jUpgrade(String reason)
If you want to tag a piece of code in mondrian that needs to be changed
when we upgrade to a future version of olap4j, reference this function.
|
public static final boolean Ssas2005Compatible
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.
public static final boolean BugMondrian229Fixed
public static final boolean Checkin7641UseOptimizer
public static final boolean BugMondrian207Fixed
public static final boolean BugMondrian446Fixed
public static final boolean BugMondrian313Fixed
public static final boolean BugMondrian314Fixed
public static final boolean BugMondrian328Fixed
public static final boolean BugMondrian361Fixed
public static final boolean BugMondrian441Fixed
public static final boolean BugMondrian486Fixed
public static final boolean BugMondrian495Fixed
public static final boolean BugMondrian503Fixed
public static final boolean BugMondrian555Fixed
public static final boolean BugMondrian584Fixed
public static final boolean BugMondrian641Fixed
public static final boolean BugMondrian648Fixed
public static final boolean BugMondrian687Fixed
public static final boolean BugMondrian747Fixed
public static final boolean BugMondrian759Fixed
public static final boolean BugMondrian785Fixed
public static final boolean BugMondrian1001Fixed
public static final boolean BugMondrian2452Fixed
public static final boolean BugMondrian2440Fixed
public static final boolean BugSegregateRolapCubeMemberFixed
public static boolean olap4jUpgrade(String reason)
public static boolean avoidMemoryOverflow(Dialect dialect)
Some tests fail if memory monitor is switched on, and Access and Derby tend to use a lot of memory because they are embedded.
dialect
- Dialectpublic static boolean avoidSlowTestOnLucidDB(Dialect dialect)
Dialect.DatabaseProduct.LUCIDDB
and we wish to
avoid slow tests.
This is because some tests involving parent-child hierarchies are
very slow. If we are running performance tests (indicated by the
mondrian.test.PerforceTest
logger set at
Level.DEBUG
or higher), we expect the suite to
take a long time, so we enable the tests.
Fixing either MONDRIAN-759
or
FRG-400, "rewrite
statements containing literals to use internally-managed dynamic
parameters instead" would solve the problem.
Copyright © 2019 Hitachi Vantara. All rights reserved.