AggregateStrategies

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total797 of 5,02084%127 of 49474%1234091771,13326162
twoPhaseAggregateWithDistinct(LogicalAggregate, ConnectContext)1720%20%22515111
twoPhaseAggregateWithCountDistinctMulti(LogicalAggregate, CascadesContext)1600%20%22414111
lambda$twoPhaseAggregateWithDistinct$103(Map, AggregateParam, Expression)630%80%55121211
lambda$buildRules$5(LogicalAggregate)450%100%66101011
lambda$buildRules$14(LogicalFilter)350%40%337711
lambda$twoPhaseAggregateWithCountDistinctMulti$88(Map, AggregateParam, AggregateParam, Expression)290%40%338811
assignNullType(If, CascadesContext)231336%3125%233701
lambda$buildRules$19(MatchingContext)210%n/a114411
lambda$buildRules$6(MatchingContext)210%n/a114411
lambda$buildRules$2(AggregateFunction)190%80%552211
checkIsNullExpr(Expression, Set)172256%4450%3551001
storageLayerAggregate(LogicalAggregate, LogicalProject, LogicalRelation, CascadesContext)1631495%126484%123959301
lambda$buildRules$18(LogicalAggregate)150%40%333311
pushdownMinMaxOnUniqueTable(LogicalAggregate, LogicalProject, LogicalFilter, LogicalOlapScan, CascadesContext)144074%2250%2331401
lambda$buildRules$4(Set, Expression)140%40%331111
lambda$twoPhaseAggregateWithDistinct$102(AggregateParam, AggregateFunction)110%n/a112211
lambda$twoPhaseAggregateWithCountDistinctMulti$86(AggregateParam, AggregateFunction)110%n/a112211
lambda$buildRules$17(AggregateFunction)100%40%331111
pushdownCountOnIndex(LogicalAggregate, LogicalProject, LogicalFilter, LogicalOlapScan, CascadesContext)84183%1375%1311201
lambda$twoPhaseAggregateWithDistinct$100(AggregateFunction)70%20%221111
lambda$twoPhaseAggregateWithCountDistinctMulti$87(Expression)70%20%221111
lambda$twoPhaseAggregateWithCountDistinctMulti$84(AggregateFunction)70%20%221111
checkWhetherPushDownMinMax(Set, LogicalProject, List)68293%6857%6833001
threePhaseAggregateWithCountDistinctMulti(LogicalAggregate, CascadesContext)424398%2466%2406501
lambda$checkWhetherPushDownMinMax$76(Expression)4555%1150%120101
lambda$twoPhaseAggregateWithDistinct$99(AggregateFunction)40%n/a111111
lambda$buildRules$16(LogicalAggregate)40%n/a111111
lambda$buildRules$3(AggregateFunction)40%n/a111111
lambda$buildRules$1(LogicalAggregate)40%n/a111111
isInvertedIndexEnabledOnTable(LogicalOlapScan)4393%2675%2521201
checkSlotInOrExpression(Expression, Set)3692%2675%2521001
lambda$storageLayerAggregate$82(Expression)2689%4660%461701
lambda$buildRules$15(LogicalAggregate)0%n/a111111
lambda$buildRules$0(LogicalAggregate)0%n/a111111
pushDownCountWithoutSlotRef(LogicalProject, LogicalOlapScan, CascadesContext)5896%2880%2611601
getShuffleExpr(AggregateFunction, CascadesContext)5496%1150%120701
lambda$buildRules$12(LogicalAggregate)4595%2880%2611001
lambda$twoPhaseAggregateWithoutDistinct$98(Map, AggregateParam, Expression)2392%1375%131701
isDupOrMowKeyTable(LogicalOlapScan)2090%1787%151501
isUniqueKeyTable(LogicalOlapScan)1386%1375%131401
lambda$storageLayerAggregate$78(AggregateFunction)675%1150%120101
lambda$fourPhaseAggregateWithDistinct$120(Alias, Alias)0%n/a111111
lambda$twoPhaseAggregateWithDistinct$101(AggregateFunction)0%n/a111111
lambda$twoPhaseAggregateWithCountDistinctMulti$85(AggregateFunction)0%n/a111111
lambda$fourPhaseAggregateWithDistinct$123(boolean, LogicalAggregate, NamedExpression, List, AggregateParam, Map, Expression)8998%1990%1602001
lambda$fourPhaseAggregateWithDistinct$122(boolean, AggregateParam, List, Map, Expression)8498%1990%1601901
lambda$threePhaseAggregateWithDistinct$109(AggregateParam, Map, Expression)6798%1787%1501301
enablePushDownNoGroupAgg()1191%2250%230201
lambda$buildRules$33(LogicalAggregate)990%2250%230101
lambda$buildRules$31(LogicalAggregate)990%2250%230101
lambda$threePhaseAggregateWithCountDistinctMulti$93(AggregateFunction)787%1150%120101
aggSkewRewrite(LogicalAggregate, CascadesContext)377100%21285%2807901
fourPhaseAggregateWithDistinct(LogicalAggregate, ConnectContext, Function, Function)332100%16100%0907601
buildRules()310100%n/a01010901
threePhaseAggregateWithDistinct(LogicalAggregate, ConnectContext)275100%10100%0607301
twoPhaseAggregateWithoutDistinct(LogicalAggregate, ConnectContext)124100%2100%0203301
twoPhaseAggregateWithMultiDistinct(LogicalAggregate, ConnectContext)120100%2100%0203201
onePhaseAggregateWithoutDistinct(LogicalAggregate, ConnectContext)95100%8100%0502601
lambda$countDistinctMultiExprToCountIf$114(CascadesContext, ImmutableList.Builder, Expression)67100%8100%0501301
onePhaseAggregateWithMultiDistinct(LogicalAggregate, ConnectContext)65100%2100%0201801
couldConvertToMulti(LogicalAggregate)60100%20100%01101301
lambda$buildRules$20(LogicalFilter)35100%4100%030801
lambda$threePhaseAggregateWithCountDistinctMulti$95(Map, AggregateParam, AggregateParam, Expression)29100%4100%030801
lambda$storageLayerAggregate$79(Expression)29100%1990%160701
lambda$buildRules$25(MatchingContext)25100%n/a010501
lambda$buildRules$13(MatchingContext)25100%n/a010501
normalizeArguments(Set, LogicalProject)23100%1150%120901
lambda$twoPhaseAggregateWithMultiDistinct$113(Map, AggregateParam, Expression)23100%2100%020601
lambda$fourPhaseAggregateWithDistinct$121(AggregateParam, Map.Entry)21100%n/a010501
lambda$threePhaseAggregateWithDistinct$108(AggregateParam, Map.Entry)21100%n/a010501
lambda$threePhaseAggregateWithCountDistinctMulti$94(AggregateParam, Map.Entry)21100%n/a010501
lambda$buildRules$34(MatchingContext)20100%n/a010401
lambda$buildRules$30(MatchingContext)20100%n/a010401
lambda$buildRules$9(AggregateFunction)19100%1787%150201
countDistinctMultiExprToCountIf(LogicalAggregate, CascadesContext)17100%n/a010401
lambda$buildRules$64(LogicalAggregate)17100%2100%020401
lambda$buildRules$49(LogicalAggregate)17100%1583%140301
lambda$onePhaseAggregateWithMultiDistinct$110(AggregateParam, Expression)16100%2100%020401
lambda$containsCountDistinctMultiExpr$115(TreeNode)15100%6100%040101
lambda$twoPhaseAggregateWithMultiDistinct$112(AggregateParam, AggregateFunction)15100%n/a010301
lambda$buildRules$62(MatchingContext)15100%n/a010301
lambda$buildRules$28(MatchingContext)15100%n/a010301
lambda$buildRules$24(LogicalAggregate)15100%1375%130301
lambda$buildRules$69(MatchingContext)14100%n/a010301
lambda$buildRules$32(MatchingContext)14100%n/a010101
lambda$buildRules$27(MatchingContext)14100%n/a010101
lambda$buildRules$11(Set, Expression)14100%1375%130101
lambda$buildRules$60(MatchingContext, List)13100%n/a010301
lambda$buildRules$46(LogicalAggregate)13100%4100%030101
lambda$buildRules$43(LogicalAggregate)13100%4100%030101
enablePushDownMinMaxOnUnique()12100%1375%130201
enablePushDownCountOnIndex()12100%1375%130201
enablePushDownStringMinMax()12100%1375%130201
maybeUsingStreamAgg(ConnectContext, LogicalAggregate)12100%4100%030201
tryConvertToMultiDistinct(AggregateFunction)12100%4100%030301
getAggregateFunction(AggregateFunction)12100%2100%020301
lambda$onePhaseAggregateWithoutDistinct$83(AggregateParam, Expression)12100%2100%020301
maybeUsingStreamAgg(ConnectContext, List)11100%4100%030201
getHashAggregatePartitionExpressions(LogicalAggregate)11100%2100%020301
lambda$fourPhaseAggregateWithDistinct$119(AggregateParam, AggregateFunction)11100%n/a010201
lambda$threePhaseAggregateWithDistinct$107(AggregateParam, AggregateFunction)11100%n/a010201
lambda$twoPhaseAggregateWithoutDistinct$97(AggregateParam, AggregateFunction)11100%n/a010201
lambda$threePhaseAggregateWithCountDistinctMulti$91(AggregateParam, AggregateFunction)11100%n/a010201
lambda$buildRules$68(LogicalAggregate)11100%n/a010301
lambda$buildRules$65(LogicalAggregate)11100%2100%020301
lambda$buildRules$63(LogicalAggregate)11100%4100%030101
lambda$onlyContainsSlotOrLiteral$73(Expression)10100%4100%030301
lambda$buildRules$67(List)10100%n/a010201
lambda$buildRules$29(LogicalAggregate)10100%1375%130101
lambda$buildRules$26(LogicalAggregate)10100%1375%130101
lambda$buildRules$23(AggregateFunction)10100%4100%030101
lambda$storageLayerAggregate$81(Expression)9100%2100%020101
lambda$normalizeArguments$72(Expression)9100%2100%020101
lambda$buildRules$56(LogicalAggregate)9100%2100%020101
lambda$buildRules$52(LogicalAggregate)9100%2100%020101
lambda$buildRules$70(MatchingContext)8100%n/a010101
lambda$buildRules$61(LogicalAggregate)8100%n/a010101
lambda$buildRules$55(MatchingContext)8100%n/a010101
lambda$buildRules$51(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$117(AggregateFunction)7100%2100%020101
lambda$threePhaseAggregateWithDistinct$105(AggregateFunction)7100%2100%020101
lambda$threePhaseAggregateWithCountDistinctMulti$92(Expression)7100%2100%020101
lambda$threePhaseAggregateWithCountDistinctMulti$89(AggregateFunction)7100%2100%020101
onlyContainsSlotOrLiteral(List)5100%n/a010101
containsCountDistinctMultiExpr(LogicalAggregate)5100%n/a010101
lambda$fourPhaseAggregateWithDistinct$116(AggregateFunction)4100%n/a010101
lambda$threePhaseAggregateWithDistinct$104(AggregateFunction)4100%n/a010101
lambda$storageLayerAggregate$80(AggregateFunction)4100%n/a010101
lambda$checkWhetherPushDownMinMax$75(AggregateFunction)4100%n/a010101
lambda$normalizeArguments$71(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$50(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
lambda$buildRules$22(LogicalAggregate)4100%n/a010101
lambda$buildRules$10(AggregateFunction)4100%n/a010101
lambda$buildRules$8(LogicalAggregate)4100%n/a010101
AggregateStrategies()100%n/a010101
lambda$checkWhetherPushDownMinMax$77(Expression)100%n/a010101
lambda$checkWhetherPushDownMinMax$74(Expression)100%n/a010101
lambda$buildRules$58(LogicalAggregate)100%n/a010101
lambda$buildRules$53(LogicalAggregate)100%n/a010101
lambda$buildRules$21(LogicalAggregate)100%n/a010101
lambda$buildRules$7(LogicalAggregate)100%n/a010101
lambda$fourPhaseAggregateWithDistinct$118(AggregateFunction)100%n/a010101
lambda$twoPhaseAggregateWithMultiDistinct$111(AggregateFunction)100%n/a010101
lambda$threePhaseAggregateWithDistinct$106(AggregateFunction)100%n/a010101
lambda$twoPhaseAggregateWithoutDistinct$96(AggregateFunction)100%n/a010101
lambda$threePhaseAggregateWithCountDistinctMulti$90(AggregateFunction)100%n/a010101