org.apache.doris.nereids.rules.rewrite

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
Total9,368 of 40,31876%1,374 of 4,20367%1,2133,5261,7047,9942411,4173193
VariantSubPathPruning.VariantSubPathReplacer1,5970%1500%9595297297202011
DeferMaterializeTopNResult52845846%561622%688980202355301
PushDownAggWithDistinctThroughJoinOneSide489275%600%43458596131501
OrExpansion39463061%303654%276053162102701
PushDownTopNDistinctThroughJoin370399%340%2628698081001
MergeAggregate34118735%471524%435468109142301
LimitAggToTopNAgg30828748%562430%40585912571801
PushDownAggThroughJoinOneSide26152366%525852%38724615151701
MultiJoin2364816%200%1925395091501
VariantSubPathPruning.Context1923214%175%151735456801
ReduceAggregateChildOutputRows1671910%293%161925311401
PushDownAggThroughJoin16556377%375559%36701812692401
SplitMultiDistinct15561679%115182%10432413211201
PruneFileScanPartition151159%80%91132365701
AdjustNullable1491,17188%3212880%261052625202501
PushDownAliasIntoUnionAll1450%140%20202929131311
LogicalResultSinkToShortCircuitPointQuery1396331%22621%192324416901
PushDownTopNDistinctThroughUnion1221913%80%81018244601
VariantSubPathPruning.VariantSubPathCollector11518962%112367%102522632801
EliminateEmptyRelation11045680%155578%13522512511701
PushDownTopNThroughUnion1061512%80%7917223501
PushDownFilterThroughPartitionTopN10310%120%7924271301
PullUpPredicates10287189%217578%25911917564201
SetPreAggStatus.SetOlapScanPreAgg9942581%235168%2044141050701
RewriteCteChildren9834377%102672%829158811101
EliminateMarkJoin980%60%101019197711
SetPreAggStatus.SetOlapScanPreAgg.OneValueSlotAggChecker957142%12840%1221143221101
InferPredicateByReplace.ReplaceAnalyzer912420%1016%6812180201
ExprIdRewriter.LogicalPartitionTopNExpressionRewrite891413%80%5717201301
PushDownTopNThroughJoin8821170%71568%52113510901
SimplifyWindowExpression8416466%151142%111916571601
PullUpProjectUnderTopN816946%5337%51012271601
EliminateFilter8015465%102066%62417511901
PullUpProjectUnderLimit792221%0%4710153601
AggScalarSubQueryToWindowFunction.ExpressionIdenticalChecker682627%10428%101510135801
ExprIdRewriter.LogicalTopNExpressionRewrite681417%60%4612151301
SetPreAggStatus.SetOlapScanPreAgg.KeyAndValueSlotsAggChecker6616170%113576%133383821001
PruneEmptyPartition625446%13527%91415291501
CheckMatchExpression612024%140%81112171401
PullUpJoinFromUnionAll601,10694%2610880%26832324201601
PushDownTopNThroughWindow6015271%121453%111916520601
PushDownLimit5833685%71770%823107131001
MergeSetOperationsExcept582429%0%359142401
EliminateAggregate5220%80%7910133501
UnequalPredicateInfer.InferenceGraph511,52596%1922792%181461526302301
EliminateSortUnderApply502735%n/a2410162401
ColumnPruning4972893%127285%12641117912201
ReorderJoin4868993%116385%11501015421301
VariantSubPathPruning462938%1016%6910180301
MergeGenerates4620%0%249121301
PushDownAggThroughJoinOnPkFk4551691%206075%1954911101401
EliminateAggCaseWhen456559%1285%2108240301
PushDownAggThroughJoinOnPkFk.InnerJoinCluster3927087%73784%6317630901
AddDefaultLimit388869%12840%10189281801
ExprIdRewriter.LogicalWindowRewrite331429%0%247101301
QueryPartitionCollector308273%5758%398280301
MaxMinFilterPushDown2822989%123675%10314480701
EliminateGroupByKeyByUniform2527391%33391%3235630501
NormalizeToSlot.NormalizeWithoutWindowFunction2510180%71161%6126300301
EliminateNullAwareLeftAntiJoin2528%0%357102401
PruneOlapScanPartition2415886%31583%3135470401
PushDownDistinctThroughJoin2413484%71568%7196310801
EliminateLimitUnderApply241436%0%247101301
EliminateLimit234164%433%382121501
CheckPrivileges2116388%41477%5164421701
PushProjectIntoUnion2114387%31178%3122300501
CheckMultiDistinct2111484%72376%7193270401
CheckDataTypes216174%583%193210601
ExtractAndNormalizeWindowExpression2029093%62076%72736911401
EliminateGroupByKey2023792%2596%1201490701
NormalizeToSlot.NormalizeToSlotContext2021191%51979%52455211201
UnCorrelatedApplyAggregateFilter1916989%3770%381400301
PushCountIntoUnionAll1845196%144074%144299601501
PullUpCorrelatedFilterUnderApplyAggregateProject1716290%1083%2100350401
EliminateSemiJoin165677%675%2102180501
PushDownFilterIntoSchemaScan1510587%71161%7137310401
CheckDataTypes.ExpressionChecker157382%787%1103190601
EliminateSortUnderSubqueryOrView153670%n/a14081401
InApplyToJoin1431295%82676%8213560401
TransposeSemiJoinLogicalJoinProject1424594%112367%112954501201
EliminateAssertNumRows1412389%82575%7224330501
PushDownFilterThroughWindow148185%787%173220301
MergePercentileToArray44997%3494%2261890801
EliminateGroupBy20494%43088%4221400501
ScalarApplyToJoin10588%4660%5122241701
SumLiteralRewrite49097%74586%63629701001
PullUpCteAnchor13291%3770%3112300601
InferPredicateByReplace28296%83480%83136711001
SetPreAggStatus.SetOlapScanPreAgg.OneKeySlotAggChecker3173%100%17181601
PullUpJoinFromUnionAll.LogicalPlanComparator21695%103276%10274370601
TransposeSemiJoinLogicalJoin16894%101661%10203290701
AggScalarSubQueryToWindowFunction80398%156581%1581414604101
EliminateOuterJoin31797%113173%93236401101
PushDownFilterThroughJoin23796%32990%3213560501
CreatePartitionTopNFromWindow8490%3975%391180301
InferPredicates36297%32990%32836801101
PushDownFilterThroughRepeat8291%3562%383220401
SumLiteralRewrite.SumInfo6288%5550%584160301
ForeignKeyContext37498%72779%74147102401
EliminateOrderByKey31197%3294%2232750601
UnequalPredicateInfer8592%675%373241301
ExprIdRewriter.ReplaceRule4285%375%151120301
PushDownLimitDistinctThroughJoin33498%72175%7213470601
InferPredicateByReplace.PredicatesCollector16496%51777%52332901201
InferInPredicateFromOr11495%880%2101270501
ColumnPruning.KeyColumnCollector8393%10100%191181401
PushDownFilterThroughGenerate7492%3350%382190501
MergeSetOperations12796%51168%4140260601
MergePercentileToArray.DistinctAndExpr5491%5550%592130401
VariantSubPathPruning.VariantSubPathCollector.ExtractSlotToSubPathPairFromTree1878%50%13160201
PushDownExpressionsInHashCondition36398%1487%22817802001
EliminateJoinByFK30998%2692%22426001001
PullUpProjectUnderApply9996%3975%2100170401
EliminateOrderByConstant5392%787%171160301
ExprIdRewriter.LogicalIcebergTableSinkRewrite1578%n/a13031301
ExprIdRewriter.LogicalOlapTableSinkRewrite1578%n/a13031301
ExprIdRewriter.LogicalJdbcTableSinkRewrite1578%n/a13031301
ExprIdRewriter.LogicalFileSinkRewrite1578%n/a13031301
ExprIdRewriter.LogicalDeferMaterializeResultSinkRewrite1578%n/a13031301
ExprIdRewriter.LogicalHiveTableSinkRewrite1578%n/a13031301
PushDownFilterThroughProject20499%1191%1131490701
CountLiteralRewrite20299%2996%1221430701
ProjectOtherJoinConditionForNestedLoopJoin15698%2090%2160350501
UnCorrelatedApplyProjectFilter13998%375%171290501
TransposeSemiJoinAggProject8797%50%181140701
ExprIdRewriter.LogicalSetOperationRewrite6396%375%151140301
MergeTopNs5896%50%141160301
PushDownAliasThroughJoin27699%32388%32905101601
PushDownLimitDistinctThroughUnion15799%787%1110270701
EliminateJoinCondition8898%3975%3120180601
ExtractSingleTableExpressionFromDisjunction263100%30100%0240640901
CTEInline197100%1593%1150390701
SetPreAggStatus190100%22100%02204301101
ExistsApplyToJoin179100%787%1110310701
ExprIdRewriter174100%10100%090370401
ConvertOuterJoinToAntiJoin172100%41881%4200330901
InferAggNotNull167100%2291%22403101201
PushProjectThroughUnion161100%12100%0130340701
EliminateNotNull155100%1688%2140400501
PushDownJoinOtherCondition153100%2195%1170300601
PruneOlapScanTablet147100%10100%0100310501
InferJoinNotNull142100%12100%0100300401
EliminateSort134100%16100%0150280701
PushDownFilterThroughAggregation132100%1392%1110290401
CountDistinctRewrite130100%32388%3190280601
MergeOneRowRelationIntoUnion122100%8100%080240401
SetPreAggStatus.PreAggInfoContext117100%100%080280701
NormalizeSort117100%8100%080320401
InferSetOperatorDistinct114100%1794%1180220901
SimplifyAggGroupBy105100%1995%1150220501
InferFilterNotNull99100%6100%070220401
ForeignKeyContext.new DefaultPlanVisitor() {...}97100%787%190210501
EliminateUnnecessaryProject88100%12100%0110190501
PushDownFilterThroughSetOperation88100%4100%060140401
AdjustConjunctsReturnType85100%n/a080180801
FindHashConditionForJoin84100%583%160240301
PushFilterInsideJoin82100%6100%080170501
MergeLimits81100%787%1100150601
TransposeSemiJoinAgg81100%4100%090160701
UnCorrelatedApplyFilter78100%100%040170301
LimitSortToTopN75100%n/a040200401
ProjectOtherJoinConditionForNestedLoopJoin.AliasReplacer71100%787%180130401
CheckAndStandardizeWindowFunctionAndFrame68100%n/a050160501
ConvertInnerOrCrossJoin65100%3975%3120120601
EliminateDedupJoinCondition62100%466%260150301
PushDownFilterThroughSort60100%100%06080501
CollectFilterAboveConsumer60100%4100%060140401
CheckRestorePartition53100%583%160100301
EliminateJoinByUnique51100%4100%060120401
NormalizeToSlot.NormalizeToSlotTriplet49100%4100%040120201
SemiJoinCommute48100%4100%08080601
SplitLimit43100%100%05080401
ExtractFilterFromCrossJoin42100%n/a030120301
PushDownProjectThroughLimit40100%n/a03060301
MergeProjects36100%n/a04070401
CollectCteConsumerOutput35100%n/a04070401
BuildAggForUnion33100%100%05050401
MergeFilters31100%n/a03070301
PullUpJoinFromUnionAll.ExpressionOrIndex30100%n/a02080201
UnequalPredicateInfer.InferenceGraph.Relation27100%n/a01050101
TransposeSemiJoinLogicalJoinProject.ContainsType27100%n/a01020101
PushProjectIntoOneRowRelation26100%n/a03070301
ClearContextStatus25100%n/a02060201
ProjectOtherJoinConditionForNestedLoopJoin.ReplacerContext24100%n/a01070101
AddProjectForJoin23100%n/a03040301
ExprIdRewriter.LogicalResultSinkRewrite19100%n/a03030301
OrExpansion.OrExpandsionContext17100%n/a01050101
SplitMultiDistinct.DistinctSplitContext14100%n/a01050101
ColumnPruning.PruneContext100%n/a01040101
InlineLogicalView100%n/a02020201
UnequalPredicateInfer.InferenceGraph.PairAndRelation100%n/a01040101
OneRewriteRuleFactory100%n/a01010101
RewriteRuleFactory100%n/a01010101