public class NativeSetEvaluationTest extends BatchTestCase
BatchTestCase.TestCase
FoodMartTestCase.QueryAndResult
cubeNameSales, fieldGender, fieldProductDepartment, fieldProductFamily, fieldValueProductDepartment, fieldValuesGender, fieldValuesProductFamily, fieldValuesYear, fieldYear, measureUnitSales, tableCustomer, tableProductClass, tableTime
propSaver
Constructor and Description |
---|
NativeSetEvaluationTest() |
Modifier and Type | Method and Description |
---|---|
protected void |
assertQuerySql(String mdxQuery,
SqlPattern[] patterns)
Checks that a given MDX query results in a particular SQL statement
being generated.
|
void |
testAggTCNoExplicitMeasure()
Aggregate with default measure and TopCount without measure argument.
|
void |
testCJSameDimAsSlicerNamedSet()
Crossjoin that uses same dimension as slicer but is independent from it,
evaluated via a named set.
|
void |
testCompoundSlicerNativeEval() |
void |
testCompoundSlicerNonUniqueMemberNames1413() |
void |
testConstraintCacheIncludesMultiPositionSlicer() |
void |
testFilterWithDiffLevelCompoundSlicer() |
void |
testLoopDetection()
Test evaluation loop detection still works after changes to
make it more permissable.
|
void |
testMultipleAllWithInExpr()
Test case for
Mondrian-1291: NPE on native set with at least two elements and
two all members for same dimension in slicer
|
void |
testNativeFilterTupleCompoundSlicer1861() |
void |
testNativeFilterWithAggDescendants() |
void |
testNativeFilterWithCompoundSlicer() |
void |
testNativeFilterWithCompoundSlicer2049() |
void |
testNativeFilterWithCompoundSlicerCJ() |
void |
testNativeHonorsRoleRestrictions() |
void |
testNativeSetsCacheClearing()
tests if cache associated with Native Sets is flushed.
|
void |
testNativeTopCountWithAggFlatSet()
Simple enumerated aggregate.
|
void |
testNativeTopCountWithAggMemberNamedSet()
Same as above, but using a named set
|
void |
testNativeTopCountWithMemberOnlySlicer()
Test case for
Mondrian-1426: Native top count support for Member expressions
in Calculated member slicer
|
void |
testNativeTopCountWithMemberSumSlicer()
Test case for
Mondrian-1430: Native top count support for + and
tuple (Parentheses) expressions in Calculated member slicer
|
void |
testNativeTopCountWithParenthesesMemberSlicer()
Test case for
Mondrian-1430: Native top count support for + and
tuple (Parentheses) expressions in Calculated member slicer
|
void |
testNativeVirtualRestrictedSet()
This is a test for
MONDRIAN-1630
|
void |
testOverridingCompoundFilter()
This test demonstrates complex interaction between member calcs
and a compound slicer
|
void |
testSlicerTuplesFullCrossJoin()
Same as before but without combinations missing in the crossjoin
|
void |
testSlicerTuplesPartialCrossJoin()
Check if getSlicerMembers in native evaluation context
doesn't break the results as in MONDRIAN-1187
|
void |
testSnowflakeDimInSlicerBug1407() |
void |
testTopCountWithAggregatedMemberAggStar()
Now that some native evaluation is supporting aggregated members, we
need to push that logic down to the AggStar selection
|
assertNative, assertNoQuerySql, assertNotNative, assertQuerySql, assertQuerySql, assertQuerySqlOrNot, assertRequestSql, assertRequestSql, checkNative, checkNative, checkNative, checkNotNative, checkNotNative, checkNotNative, createBatch, createBatch, createRequest, createRequest, createRequest, createRequest, dialectize, executeQuery, getCube, getFoodMartConnection, getGroupingSet, getMeasure, mysqlPattern, sqlPattern
allMember, assertAxisReturns, assertAxisThrows, assertBooleanExprReturns, assertExprReturns, assertExprThrows, assertQueriesReturnSimilarResults, assertQueryReturns, assertQueryThrows, assertSize, cubeByName, execute, executeExpr, executeQuery, executeSingletonAxis, genderMembersIncludingAll, getConnection, getDimensionWithName, getTestContext, isDefaultNullMemberRepresentation, isGroupingSetsSupported, member, productMembersPotScrubbersPotsAndPans, storeMembersCAAndOR, storeMembersUsaAndCanada, tearDown, verifySameNativeAndNot, warehouseMembersCanadaMexicoUsa
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, toString
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
protected void assertQuerySql(String mdxQuery, SqlPattern[] patterns)
assertQuerySql
in class BatchTestCase
mdxQuery
- MDX querypatterns
- Set of patterns for expected SQL statementspublic void testNativeTopCountWithAggFlatSet()
public void testNativeTopCountWithAggMemberNamedSet()
public void testNativeFilterWithAggDescendants()
public void testNativeTopCountWithMemberOnlySlicer()
public void testNativeTopCountWithParenthesesMemberSlicer()
public void testNativeTopCountWithMemberSumSlicer()
public void testAggTCNoExplicitMeasure()
public void testCJSameDimAsSlicerNamedSet()
public void testLoopDetection()
public void testSlicerTuplesPartialCrossJoin()
public void testSlicerTuplesFullCrossJoin()
public void testTopCountWithAggregatedMemberAggStar()
public void testMultipleAllWithInExpr()
public void testCompoundSlicerNativeEval()
public void testSnowflakeDimInSlicerBug1407()
public void testCompoundSlicerNonUniqueMemberNames1413()
public void testConstraintCacheIncludesMultiPositionSlicer()
public void testNativeVirtualRestrictedSet() throws Exception
The baseCube was taken out of the evaluator instead of being passed by the caller, which caused the star column not to be found for the level to evaluate natively as part of the set.
Exception
public void testNativeHonorsRoleRestrictions()
public void testNativeFilterWithCompoundSlicer()
public void testOverridingCompoundFilter()
public void testNativeFilterWithCompoundSlicerCJ()
public void testFilterWithDiffLevelCompoundSlicer()
public void testNativeFilterWithCompoundSlicer2049()
public void testNativeFilterTupleCompoundSlicer1861()
public void testNativeSetsCacheClearing()