AggregateStrategies

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,734 of 4,49461%279 of 46640%2423933541,02668160
twoPhaseAggregateWithDistinct(LogicalAggregate, ConnectContext)1720%20%22515111
twoPhaseAggregateWithCountDistinctMulti(LogicalAggregate, CascadesContext)1600%20%22414111
checkWhetherPushDownMinMax(Set, LogicalProject, List)880%140%88303011
storageLayerAggregate(LogicalAggregate, LogicalProject, LogicalRelation, CascadesContext)8324774%314559%2439229301
lambda$twoPhaseAggregateWithDistinct$104(Map, AggregateParam, Expression)610%80%55121211
pushdownMinMaxOnUniqueTable(LogicalAggregate, LogicalProject, LogicalFilter, LogicalOlapScan, CascadesContext)540%40%33141411
pushdownCountOnIndex(LogicalAggregate, LogicalProject, LogicalFilter, LogicalOlapScan, CascadesContext)490%40%33121211
lambda$buildRules$12(LogicalAggregate)470%100%66101011
lambda$buildRules$5(LogicalAggregate)450%100%66101011
checkSlotInOrExpression(Expression, Set)390%80%55101011
checkIsNullExpr(Expression, Set)390%80%55101011
lambda$buildRules$14(LogicalFilter)350%40%337711
fourPhaseAggregateWithDistinct(LogicalAggregate, ConnectContext, Function, Function)3130190%61062%5937601
couldConvertToMulti(LogicalAggregate)303050%12840%71151301
threePhaseAggregateWithDistinct(LogicalAggregate, ConnectContext)2924689%5550%4637301
lambda$twoPhaseAggregateWithCountDistinctMulti$89(Map, AggregateParam, AggregateParam, Expression)290%40%338811
lambda$buildRules$20(LogicalFilter)28720%3125%236801
lambda$buildRules$25(MatchingContext)250%n/a115511
lambda$buildRules$13(MatchingContext)250%n/a115511
lambda$storageLayerAggregate$83(Expression)24517%9110%565701
lambda$threePhaseAggregateWithDistinct$110(AggregateParam, Map, Expression)234365%4450%3531301
assignNullType(If, CascadesContext)231336%3125%233701
normalizeArguments(Set, LogicalProject)230%20%229911
lambda$threePhaseAggregateWithDistinct$109(AggregateParam, Map.Entry)210%n/a115511
lambda$threePhaseAggregateWithCountDistinctMulti$95(AggregateParam, Map.Entry)210%n/a115511
lambda$buildRules$19(MatchingContext)210%n/a114411
lambda$buildRules$6(MatchingContext)210%n/a114411
lambda$buildRules$34(MatchingContext)200%n/a114411
lambda$storageLayerAggregate$80(Expression)191034%7330%463701
lambda$buildRules$9(AggregateFunction)190%80%552211
lambda$buildRules$2(AggregateFunction)190%80%552211
lambda$fourPhaseAggregateWithDistinct$124(boolean, LogicalAggregate, NamedExpression, List, AggregateParam, Map, Expression)157382%4660%3632001
lambda$fourPhaseAggregateWithDistinct$123(boolean, AggregateParam, List, Map, Expression)156881%4660%3631901
lambda$buildRules$24(LogicalAggregate)150%40%333311
lambda$buildRules$18(LogicalAggregate)150%40%333311
lambda$buildRules$32(MatchingContext)140%n/a111111
lambda$buildRules$11(Set, Expression)140%40%331111
lambda$buildRules$4(Set, Expression)140%40%331111
enablePushDownMinMaxOnUnique()120%40%332211
enablePushDownCountOnIndex()120%40%332211
enablePushDownStringMinMax()120%40%332211
lambda$isInvertedIndexEnabledOnTable$70(Index)120%40%332211
lambda$threePhaseAggregateWithDistinct$108(AggregateParam, AggregateFunction)110%n/a112211
lambda$twoPhaseAggregateWithDistinct$103(AggregateParam, AggregateFunction)110%n/a112211
lambda$threePhaseAggregateWithCountDistinctMulti$92(AggregateParam, AggregateFunction)110%n/a112211
lambda$twoPhaseAggregateWithCountDistinctMulti$87(AggregateParam, AggregateFunction)110%n/a112211
lambda$buildRules$33(LogicalAggregate)100%40%331111
lambda$buildRules$31(LogicalAggregate)100%40%331111
lambda$buildRules$23(AggregateFunction)100%40%331111
lambda$buildRules$17(AggregateFunction)100%40%331111
lambda$checkWhetherPushDownMinMax$77(Expression)90%20%221111
lambda$normalizeArguments$73(Expression)90%20%221111
lambda$threePhaseAggregateWithCountDistinctMulti$96(Map, AggregateParam, AggregateParam, Expression)82172%1375%132801
lambda$buildRules$51(MatchingContext)80%n/a111111
lambda$twoPhaseAggregateWithDistinct$101(AggregateFunction)70%20%221111
lambda$twoPhaseAggregateWithCountDistinctMulti$88(Expression)70%20%221111
lambda$twoPhaseAggregateWithCountDistinctMulti$85(AggregateFunction)70%20%221111
lambda$onlyContainsSlot$74(Expression)70%20%223311
lambda$buildRules$49(LogicalAggregate)61164%3350%240301
onlyContainsSlot(List)50%n/a111111
threePhaseAggregateWithCountDistinctMulti(LogicalAggregate, CascadesContext)424398%2466%2406501
lambda$buildRules$65(LogicalAggregate)4763%1150%121301
lambda$storageLayerAggregate$82(Expression)4555%1150%120101
lambda$twoPhaseAggregateWithDistinct$100(AggregateFunction)40%n/a111111
lambda$checkWhetherPushDownMinMax$76(AggregateFunction)40%n/a111111
lambda$normalizeArguments$72(AggregateFunction)40%n/a111111
lambda$buildRules$50(LogicalAggregate)40%n/a111111
lambda$buildRules$22(LogicalAggregate)40%n/a111111
lambda$buildRules$16(LogicalAggregate)40%n/a111111
lambda$buildRules$10(AggregateFunction)40%n/a111111
lambda$buildRules$8(LogicalAggregate)40%n/a111111
lambda$buildRules$3(AggregateFunction)40%n/a111111
lambda$buildRules$1(LogicalAggregate)40%n/a111111
isDupOrMowKeyTable(LogicalOlapScan)31986%3562%351501
lambda$checkWhetherPushDownMinMax$78(Expression)30%n/a111111
lambda$checkWhetherPushDownMinMax$75(Expression)30%n/a111111
lambda$buildRules$21(LogicalAggregate)30%n/a111111
lambda$buildRules$15(LogicalAggregate)30%n/a111111
lambda$buildRules$7(LogicalAggregate)30%n/a111111
lambda$buildRules$0(LogicalAggregate)30%n/a111111
pushDownCountWithoutSlotRef(LogicalProject, LogicalOlapScan, CascadesContext)5896%2880%2611601
lambda$twoPhaseAggregateWithoutDistinct$99(Map, AggregateParam, Expression)2392%1375%131701
isInvertedIndexEnabledOnTable(LogicalOlapScan)1487%1150%121601
isUniqueKeyTable(LogicalOlapScan)1386%1375%131401
tryConvertToMultiDistinct(AggregateFunction)1083%2250%231301
lambda$storageLayerAggregate$79(AggregateFunction)675%1150%120101
lambda$threePhaseAggregateWithDistinct$106(AggregateFunction)571%1150%120101
lambda$threePhaseAggregateWithCountDistinctMulti$90(AggregateFunction)571%1150%120101
lambda$fourPhaseAggregateWithDistinct$121(Alias, Alias)0%n/a111111
lambda$threePhaseAggregateWithDistinct$107(AggregateFunction)0%n/a111111
lambda$twoPhaseAggregateWithDistinct$102(AggregateFunction)0%n/a111111
lambda$threePhaseAggregateWithCountDistinctMulti$91(AggregateFunction)0%n/a111111
lambda$twoPhaseAggregateWithCountDistinctMulti$86(AggregateFunction)0%n/a111111
lambda$buildRules$64(LogicalAggregate)1694%1150%120401
enablePushDownNoGroupAgg()1191%2250%230201
maybeUsingStreamAgg(ConnectContext, List)1090%2250%230201
lambda$threePhaseAggregateWithCountDistinctMulti$94(AggregateFunction)787%1150%120101
lambda$threePhaseAggregateWithCountDistinctMulti$93(Expression)685%1150%120101
buildRules()293100%n/a01010301
twoPhaseAggregateWithoutDistinct(LogicalAggregate, ConnectContext)124100%2100%0203301
twoPhaseAggregateWithMultiDistinct(LogicalAggregate, ConnectContext)120100%2100%0203201
lambda$countDistinctMultiExprToCountIf$115(CascadesContext, ImmutableList.Builder, Expression)67100%2675%2501301
onePhaseAggregateWithMultiDistinct(LogicalAggregate, ConnectContext)65100%2100%0201801
onePhaseAggregateWithoutDistinct(LogicalAggregate, ConnectContext)62100%2100%0201801
lambda$twoPhaseAggregateWithMultiDistinct$114(Map, AggregateParam, Expression)23100%2100%020601
lambda$fourPhaseAggregateWithDistinct$122(AggregateParam, Map.Entry)21100%n/a010501
lambda$buildRules$30(MatchingContext)20100%n/a010401
countDistinctMultiExprToCountIf(LogicalAggregate, CascadesContext)17100%n/a010401
lambda$onePhaseAggregateWithMultiDistinct$111(AggregateParam, Expression)16100%2100%020401
lambda$containsCountDistinctMultiExpr$116(TreeNode)15100%6100%040101
lambda$twoPhaseAggregateWithMultiDistinct$113(AggregateParam, AggregateFunction)15100%n/a010301
lambda$buildRules$62(MatchingContext)15100%n/a010301
lambda$buildRules$28(MatchingContext)15100%n/a010301
lambda$buildRules$69(MatchingContext)14100%n/a010301
lambda$buildRules$27(MatchingContext)14100%n/a010101
lambda$buildRules$60(MatchingContext, List)13100%n/a010301
lambda$buildRules$46(LogicalAggregate)13100%1375%130101
lambda$buildRules$43(LogicalAggregate)13100%1375%130101
maybeUsingStreamAgg(ConnectContext, LogicalAggregate)12100%1375%130201
lambda$onePhaseAggregateWithoutDistinct$84(AggregateParam, Expression)12100%2100%020301
getHashAggregatePartitionExpressions(LogicalAggregate)11100%2100%020301
lambda$fourPhaseAggregateWithDistinct$120(AggregateParam, AggregateFunction)11100%n/a010201
lambda$twoPhaseAggregateWithoutDistinct$98(AggregateParam, AggregateFunction)11100%n/a010201
lambda$buildRules$68(LogicalAggregate)11100%n/a010301
lambda$buildRules$63(LogicalAggregate)11100%4100%030101
lambda$buildRules$67(List)10100%n/a010201
lambda$buildRules$29(LogicalAggregate)10100%1375%130101
lambda$buildRules$26(LogicalAggregate)10100%1375%130101
lambda$buildRules$56(LogicalAggregate)9100%2100%020101
lambda$buildRules$52(LogicalAggregate)9100%2100%020101
lambda$buildRules$61(LogicalAggregate)8100%n/a010101
lambda$buildRules$55(MatchingContext)8100%n/a010101
lambda$buildRules$48(MatchingContext)8100%n/a010101
lambda$buildRules$45(MatchingContext)8100%n/a010101
lambda$buildRules$42(MatchingContext)8100%n/a010101
lambda$buildRules$40(MatchingContext)8100%n/a010101
lambda$buildRules$37(MatchingContext)8100%n/a010101
lambda$fourPhaseAggregateWithDistinct$118(AggregateFunction)7100%2100%020101
lambda$isInvertedIndexEnabledOnTable$71(MaterializedIndexMeta)6100%n/a010201
containsCountDistinctMultiExpr(LogicalAggregate)5100%n/a010101
lambda$fourPhaseAggregateWithDistinct$117(AggregateFunction)4100%n/a010101
lambda$threePhaseAggregateWithDistinct$105(AggregateFunction)4100%n/a010101
lambda$storageLayerAggregate$81(AggregateFunction)4100%n/a010101
lambda$buildRules$66(LogicalAggregate)4100%n/a010101
lambda$buildRules$59(LogicalAggregate)4100%n/a010101
lambda$buildRules$57(LogicalAggregate)4100%n/a010101
lambda$buildRules$54(LogicalAggregate)4100%n/a010101
lambda$buildRules$47(LogicalAggregate)4100%n/a010101
lambda$buildRules$44(LogicalAggregate)4100%n/a010101
lambda$buildRules$41(LogicalAggregate)4100%n/a010101
lambda$buildRules$39(LogicalAggregate)4100%n/a010101
lambda$buildRules$38(LogicalAggregate)4100%n/a010101
lambda$buildRules$36(LogicalAggregate)4100%n/a010101
lambda$buildRules$35(LogicalAggregate)4100%n/a010101
AggregateStrategies()3100%n/a010101
lambda$buildRules$58(LogicalAggregate)3100%n/a010101
lambda$buildRules$53(LogicalAggregate)3100%n/a010101
lambda$fourPhaseAggregateWithDistinct$119(AggregateFunction)100%n/a010101
lambda$twoPhaseAggregateWithMultiDistinct$112(AggregateFunction)100%n/a010101
lambda$twoPhaseAggregateWithoutDistinct$97(AggregateFunction)100%n/a010101