Class AbstractTestAggregations

java.lang.Object
io.trino.testing.AbstractTestQueryFramework
io.trino.testing.AbstractTestAggregations
Direct Known Subclasses:
AbstractTestFaultTolerantExecutionAggregations

public abstract class AbstractTestAggregations extends AbstractTestQueryFramework
  • Field Details

    • REQUIRED_TPCH_TABLES

      protected static final Set<io.trino.tpch.TpchTable<?>> REQUIRED_TPCH_TABLES
  • Constructor Details

    • AbstractTestAggregations

      public AbstractTestAggregations()
  • Method Details

    • testCountBoolean

      @Test public void testCountBoolean()
    • testCountAllWithComparison

      @Test public void testCountAllWithComparison()
    • testCountWithNotPredicate

      @Test public void testCountWithNotPredicate()
    • testCountWithNullPredicate

      @Test public void testCountWithNullPredicate()
    • testCountWithIsNullPredicate

      @Test public void testCountWithIsNullPredicate()
    • testCountWithIsNotNullPredicate

      @Test public void testCountWithIsNotNullPredicate()
    • testCountWithNullIfPredicate

      @Test public void testCountWithNullIfPredicate()
    • testAggregationPushdownThroughOuterJoinNotFiringInCorrelatedAggregatesLeftSide

      @Test public void testAggregationPushdownThroughOuterJoinNotFiringInCorrelatedAggregatesLeftSide()
    • testAggregationPushdownThroughOuterJoinNotFiringInCorrelatedAggregatesRightSide

      @Test public void testAggregationPushdownThroughOuterJoinNotFiringInCorrelatedAggregatesRightSide()
    • testAggregationUsingOuterTableSymbols

      @Test public void testAggregationUsingOuterTableSymbols()
      This case tests that Aggregation isn't incorrectly pushed down into the inner source of JoinNode in the case when it uses symbols from the outer source of JoinNode.
    • testCountAllOverJoin

      @Test public void testCountAllOverJoin()
      In this case, Aggregation count(*) can be pushed down into the inner source of JoinNode.
    • testCountWithCoalescePredicate

      @Test public void testCountWithCoalescePredicate()
    • testCountWithAndPredicate

      @Test public void testCountWithAndPredicate()
    • testCountWithOrPredicate

      @Test public void testCountWithOrPredicate()
    • testCountWithInlineView

      @Test public void testCountWithInlineView()
    • testNestedCount

      @Test public void testNestedCount()
    • testGroupByOnSupersetOfPartitioning

      @Test public void testGroupByOnSupersetOfPartitioning()
    • testSumOfNulls

      @Test public void testSumOfNulls()
    • testCountAllWithPredicate

      @Test public void testCountAllWithPredicate()
    • testGroupByArray

      @Test public void testGroupByArray()
    • testGroupByMap

      @Test public void testGroupByMap()
    • testGroupByComplexMap

      @Test public void testGroupByComplexMap()
    • testGroupByRow

      @Test public void testGroupByRow()
    • testGroupByWithoutAggregation

      @Test public void testGroupByWithoutAggregation()
    • testNestedGroupByWithSameKey

      @Test public void testNestedGroupByWithSameKey()
    • testGroupByWithNulls

      @Test public void testGroupByWithNulls()
    • testHistogram

      @Test public void testHistogram()
    • testCountDistinct

      @Test public void testCountDistinct()
    • testMixedDistinctAndZeroOnEmptyInputAggregations

      @Test public void testMixedDistinctAndZeroOnEmptyInputAggregations()
    • testDistinctGroupBy

      @Test public void testDistinctGroupBy()
    • testSingleDistinctOptimizer

      @Test public void testSingleDistinctOptimizer()
    • testExtractDistinctAggregationOptimizer

      @Test public void testExtractDistinctAggregationOptimizer()
    • testDistinctWhere

      @Test public void testDistinctWhere()
    • testMultipleDifferentDistinct

      @Test public void testMultipleDifferentDistinct()
    • testMultipleDistinct

      @Test public void testMultipleDistinct()
    • testComplexDistinct

      @Test public void testComplexDistinct()
    • testAggregationFilter

      @Test public void testAggregationFilter()
    • testAggregationFilterWithSubquery

      @Test public void testAggregationFilterWithSubquery()
    • testAggregationWithProjection

      @Test public void testAggregationWithProjection()
    • testSameInputToAggregates

      @Test public void testSameInputToAggregates()
    • testAggregationImplicitCoercion

      @Test public void testAggregationImplicitCoercion()
    • testAggregationOverRightJoinOverSingleStreamProbe

      @Test public void testAggregationOverRightJoinOverSingleStreamProbe()
    • testAggregationPushedBelowOuterJoin

      @Test public void testAggregationPushedBelowOuterJoin()
    • testAggregationWithSomeArgumentCasts

      @Test public void testAggregationWithSomeArgumentCasts()
    • testAggregationWithHaving

      @Test public void testAggregationWithHaving()
    • testGroupByRepeatedField

      @Test public void testGroupByRepeatedField()
    • testGroupByMultipleFieldsWithPredicateOnAggregationArgument

      @Test public void testGroupByMultipleFieldsWithPredicateOnAggregationArgument()
    • testReorderOutputsOfGroupByAggregation

      @Test public void testReorderOutputsOfGroupByAggregation()
    • testGroupAggregationOverNestedGroupByAggregation

      @Test public void testGroupAggregationOverNestedGroupByAggregation()
    • testGroupByBetween

      @Test public void testGroupByBetween()
    • testGroupByOrdinal

      @Test public void testGroupByOrdinal()
    • testGroupBySearchedCase

      @Test public void testGroupBySearchedCase()
    • testGroupBySearchedCaseNoElse

      @Test public void testGroupBySearchedCaseNoElse()
    • testGroupByIf

      @Test public void testGroupByIf()
    • testGroupByCase

      @Test public void testGroupByCase()
    • testGroupByCaseNoElse

      @Test public void testGroupByCaseNoElse()
    • testGroupByCast

      @Test public void testGroupByCast()
    • testGroupByCoalesce

      @Test public void testGroupByCoalesce()
    • testGroupByNullIf

      @Test public void testGroupByNullIf()
    • testGroupByExtract

      @Test public void testGroupByExtract()
    • testGroupByNullConstant

      @Test public void testGroupByNullConstant()
    • test15WayGroupBy

      @Test public void test15WayGroupBy()
    • testApproximateCountDistinct

      @Test public void testApproximateCountDistinct()
    • testSumDataSizeForStats

      @Test public void testSumDataSizeForStats()
    • testMaxDataSizeForStats

      @Test public void testMaxDataSizeForStats()
    • testApproximateCountDistinctGroupBy

      @Test public void testApproximateCountDistinctGroupBy()
    • testApproximateCountDistinctGroupByWithStandardError

      @Test public void testApproximateCountDistinctGroupByWithStandardError()
    • testDistinctNan

      @Test public void testDistinctNan()
    • testGroupByNan

      @Test public void testGroupByNan()
    • testGroupByNanRow

      @Test public void testGroupByNanRow()
    • testGroupByNanArray

      @Test public void testGroupByNanArray()
    • testGroupByNanMap

      @Test public void testGroupByNanMap()
    • testGroupByNoAggregations

      @Test public void testGroupByNoAggregations()
    • testGroupByCount

      @Test public void testGroupByCount()
    • testGroupByMultipleFields

      @Test public void testGroupByMultipleFields()
    • testGroupByWithAlias

      @Test public void testGroupByWithAlias()
    • testGroupBySum

      @Test public void testGroupBySum()
    • testGroupByRequireIntegerCoercion

      @Test public void testGroupByRequireIntegerCoercion()
    • testGroupByEmptyGroupingSet

      @Test public void testGroupByEmptyGroupingSet()
    • testGroupByWithWildcard

      @Test public void testGroupByWithWildcard()
    • testSingleGroupingSet

      @Test public void testSingleGroupingSet()
    • testGroupingSets

      @Test public void testGroupingSets()
    • testGroupingSetsNoInput

      @Test public void testGroupingSetsNoInput()
    • testGroupingSetsWithGlobalAggregationNoInput

      @Test public void testGroupingSetsWithGlobalAggregationNoInput()
    • testGroupingSetsWithSingleDistinct

      @Test public void testGroupingSetsWithSingleDistinct()
    • testGroupingSetsWithMultipleDistinct

      @Test public void testGroupingSetsWithMultipleDistinct()
    • testGroupingSetsWithMultipleDistinctNoInput

      @Test public void testGroupingSetsWithMultipleDistinctNoInput()
    • testGroupingSetsGrandTotalSet

      @Test public void testGroupingSetsGrandTotalSet()
    • testGroupingSetsRepeatedSetsAll

      @Test public void testGroupingSetsRepeatedSetsAll()
    • testGroupingSetsRepeatedSetsAllNoInput

      @Test public void testGroupingSetsRepeatedSetsAllNoInput()
    • testGroupingSetsRepeatedSetsDistinct

      @Test public void testGroupingSetsRepeatedSetsDistinct()
    • testGroupingSetsGrandTotalSetFirst

      @Test public void testGroupingSetsGrandTotalSetFirst()
    • testGroupingSetsOnlyGrandTotalSet

      @Test public void testGroupingSetsOnlyGrandTotalSet()
    • testGroupingSetsMultipleGrandTotalSets

      @Test public void testGroupingSetsMultipleGrandTotalSets()
    • testGroupingSetsMultipleGrandTotalSetsNoInput

      @Test public void testGroupingSetsMultipleGrandTotalSetsNoInput()
    • testGroupingSetsAliasedGroupingColumns

      @Test public void testGroupingSetsAliasedGroupingColumns()
    • testGroupingSetMixedExpressionAndColumn

      @Test public void testGroupingSetMixedExpressionAndColumn()
    • testGroupingSetMixedExpressionAndOrdinal

      @Test public void testGroupingSetMixedExpressionAndOrdinal()
    • testGroupingSetSubsetAndPartitioning

      @Test public void testGroupingSetSubsetAndPartitioning()
    • testGroupingSetPredicatePushdown

      @Test public void testGroupingSetPredicatePushdown()
    • testGroupingSetsAggregateOnGroupedColumn

      @Test public void testGroupingSetsAggregateOnGroupedColumn()
    • testGroupingSetsMultipleAggregatesOnGroupedColumn

      @Test public void testGroupingSetsMultipleAggregatesOnGroupedColumn()
    • testGroupingSetsMultipleAggregatesOnUngroupedColumn

      @Test public void testGroupingSetsMultipleAggregatesOnUngroupedColumn()
    • testGroupingSetsMultipleAggregatesWithGroupedColumns

      @Test public void testGroupingSetsMultipleAggregatesWithGroupedColumns()
    • testGroupingSetsWithSingleDistinctAndUnion

      @Test public void testGroupingSetsWithSingleDistinctAndUnion()
    • testGroupingSetsWithSingleDistinctAndUnionGroupedArguments

      @Test public void testGroupingSetsWithSingleDistinctAndUnionGroupedArguments()
    • testGroupingSetsWithMultipleDistinctAndUnion

      @Test public void testGroupingSetsWithMultipleDistinctAndUnion()
    • testRollup

      @Test public void testRollup()
    • testCube

      @Test public void testCube()
    • testCubeNoInput

      @Test public void testCubeNoInput()
    • testGroupingCombinationsAll

      @Test public void testGroupingCombinationsAll()
    • testGroupingCombinationsDistinct

      @Test public void testGroupingCombinationsDistinct()
    • testOrderedAggregations

      @Test public void testOrderedAggregations()
    • testAggregationWithConstantArgumentsOverScalar

      @Test public void testAggregationWithConstantArgumentsOverScalar()
    • testGroupingSetsWithDefaultValue

      @Test public void testGroupingSetsWithDefaultValue()
    • testApproxMostFrequentWithLong

      @Test public void testApproxMostFrequentWithLong()
    • testApproxMostFrequentWithVarchar

      @Test public void testApproxMostFrequentWithVarchar()
    • testApproxMostFrequentWithLongGroupBy

      @Test public void testApproxMostFrequentWithLongGroupBy()
    • testApproxMostFrequentWithStringGroupBy

      @Test public void testApproxMostFrequentWithStringGroupBy()
    • testLongDecimalAggregations

      @Test public void testLongDecimalAggregations()