Class FastBatchingCellReaderTest


  • public class FastBatchingCellReaderTest
    extends BatchTestCase
    Test for FastBatchingCellReader.
    Since:
    24-May-2007
    Author:
    Thiyagu
    • Constructor Detail

      • FastBatchingCellReaderTest

        public FastBatchingCellReaderTest()
    • Method Detail

      • testMissingSubtotalBugMetricFilter

        public void testMissingSubtotalBugMetricFilter()
      • testMissingSubtotalBugMultiLevelMetricFilter

        public void testMissingSubtotalBugMultiLevelMetricFilter()
      • testShouldUseGroupingFunctionOnPropertyTrueAndOnSupportedDB

        public void testShouldUseGroupingFunctionOnPropertyTrueAndOnSupportedDB()
      • testShouldUseGroupingFunctionOnPropertyTrueAndOnNonSupportedDB

        public void testShouldUseGroupingFunctionOnPropertyTrueAndOnNonSupportedDB()
      • testShouldUseGroupingFunctionOnPropertyFalseOnSupportedDB

        public void testShouldUseGroupingFunctionOnPropertyFalseOnSupportedDB()
      • testShouldUseGroupingFunctionOnPropertyFalseOnNonSupportedDB

        public void testShouldUseGroupingFunctionOnPropertyFalseOnNonSupportedDB()
      • testDoesDBSupportGroupingSets

        public void testDoesDBSupportGroupingSets()
      • testGroupBatchesForNonGroupableBatchesWithSorting

        public void testGroupBatchesForNonGroupableBatchesWithSorting()
      • testGroupBatchesForNonGroupableBatchesWithConstraints

        public void testGroupBatchesForNonGroupableBatchesWithConstraints()
      • testGroupBatchesForGroupableBatches

        public void testGroupBatchesForGroupableBatches()
      • testGroupBatchesForGroupableBatchesAndNonGroupableBatches

        public void testGroupBatchesForGroupableBatchesAndNonGroupableBatches()
      • testGroupBatchesForTwoSetOfGroupableBatches

        public void testGroupBatchesForTwoSetOfGroupableBatches()
      • testAddToCompositeBatchForBothBatchesNotPartOfCompositeBatch

        public void testAddToCompositeBatchForBothBatchesNotPartOfCompositeBatch()
      • testAddToCompositeBatchForDetailedBatchAlreadyPartOfACompositeBatch

        public void testAddToCompositeBatchForDetailedBatchAlreadyPartOfACompositeBatch()
      • testAddToCompositeBatchForAggregationBatchAlreadyPartOfACompositeBatch

        public void testAddToCompositeBatchForAggregationBatchAlreadyPartOfACompositeBatch()
      • testAddToCompositeBatchForBothBatchAlreadyPartOfACompositeBatch

        public void testAddToCompositeBatchForBothBatchAlreadyPartOfACompositeBatch()
      • testCanBatchForSuperSet

        public void testCanBatchForSuperSet()
        Tests that can batch for batch with super set of contraint column bit key and all values for additional condition.
      • testCanBatchForBatchWithConstraint

        public void testCanBatchForBatchWithConstraint()
      • testCanBatchForBatchWithConstraint2

        public void testCanBatchForBatchWithConstraint2()
      • testCanBatchForBatchWithDistinctCountInDetailedBatch

        public void testCanBatchForBatchWithDistinctCountInDetailedBatch()
      • testCanBatchForBatchWithDistinctCountInAggregateBatch

        public void testCanBatchForBatchWithDistinctCountInAggregateBatch()
      • testCanBatchSummaryBatchWithDetailedBatchWithDistinctCount

        public void testCanBatchSummaryBatchWithDetailedBatchWithDistinctCount()
      • testNonSuperSet

        public void testNonSuperSet()
        Test that can batch for batch with non superset of constraint column bit key and all values for additional condition.
      • testSuperSetAndNotAllValues

        public void testSuperSetAndNotAllValues()
        Tests that can batch for batch with super set of constraint column bit key and NOT all values for additional condition.
      • testCanBatchForBatchesFromSameAggregationButDifferentRollupOption

        public void testCanBatchForBatchesFromSameAggregationButDifferentRollupOption()
      • testSuperSetDifferentValues

        public void testSuperSetDifferentValues()
        Tests that Can Batch For Batch With Super Set Of Constraint Column Bit Key And Different Values For Overlapping Columns.
      • testCanBatchForBatchWithDifferentAggregationTable

        public void testCanBatchForBatchWithDifferentAggregationTable()
      • testCannotBatchTwoBatchesAtTheSameLevel

        public void testCannotBatchTwoBatchesAtTheSameLevel()
      • testCompositeBatchLoadAggregation

        public void testCompositeBatchLoadAggregation()
                                               throws Exception
        Throws:
        Exception
      • testLoadDistinctSqlMeasure

        public void testLoadDistinctSqlMeasure()
        Checks that in dialects that request it (e.g. LucidDB), distinct aggregates based on SQL expressions, e.g. count(distinct "col1" + "col2"), count(distinct query), are loaded individually, and separately from the other aggregates.
      • testAggregateDistinctCount

        public void testAggregateDistinctCount()
      • testAggregateDistinctCount2

        public void testAggregateDistinctCount2()
        As testAggregateDistinctCount(), but (a) calc member includes members from different levels and (b) also display [unit sales].
      • testAggregateDistinctCount3

        public void testAggregateDistinctCount3()
        As testAggregateDistinctCount2(), but with two calc members simultaneously.
      • testAggregateDistinctCount4

        public void testAggregateDistinctCount4()
        Distinct count over aggregate member which contains overlapping members. Need to count them twice for rollable measures such as [Unit Sales], but not for distinct-count measures such as [Customer Count].
      • testAggregateDistinctCount5

        public void testAggregateDistinctCount5()
        Fix a problem when genergating predicates for distinct count aggregate loading and using the aggregate function in the slicer.
      • testAggregateDistinctCount6

        public void testAggregateDistinctCount6()
      • testDistinctCountBug1785406

        public void testDistinctCountBug1785406()
        Test case for bug 1785406 to fix "query already contains alias" exception.

        Note: 1785406 is a regression from checkin 9710. Code changes made in 9710 is no longer in use (and removed). So this bug will not occur; however, keeping the test case here to get some coverage for a query with a slicer.

      • testDistinctCountBug1785406_2

        public void testDistinctCountBug1785406_2()
      • testAggregateDistinctCount2ndParameter

        public void testAggregateDistinctCount2ndParameter()
      • testCountDistinctAggWithOtherCountDistinctInContext

        public void testCountDistinctAggWithOtherCountDistinctInContext()
      • testContextSetCorrectlyWith2ParamAggregate

        public void testContextSetCorrectlyWith2ParamAggregate()
      • testAggregateDistinctCountInDimensionFilter

        public void testAggregateDistinctCountInDimensionFilter()
      • testInMemoryAggSum

        public void testInMemoryAggSum()
                                throws Exception
        Throws:
        Exception
      • testInMemoryAggMin

        public void testInMemoryAggMin()
                                throws Exception
        Throws:
        Exception
      • testInMemoryAggMax

        public void testInMemoryAggMax()
                                throws Exception
        Throws:
        Exception
      • testCellBatchSizeWithUdf

        public void testCellBatchSizeWithUdf()
        Tests if UdfResolver processes CellRequestQuantumExceededException. It should be catch in . No exceptions should be throw outside
        See Also:
        Jira issue