MaterializedViewUtils

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total206 of 1,12981%42 of 14470%3510251269430
getRelatedTableInfo(String, String, Plan, CascadesContext)1260%140%88313111
transformToCommonTableId(BitSet, Map)310%40%336611
getRelatedTableInfos(String, String, Plan, CascadesContext)1412890%21487%2933401
lambda$getRelatedTableInfo$0(RelatedTableInfo.RelatedTableColumnInfo)100%40%331111
extractStructInfoFuzzy(Plan, Plan, CascadesContext, BitSet)68593%2880%2612201
isPrefixSameFromStart(List, List)62781%4660%463801
MaterializedViewUtils()30%n/a111111
rewriteByRules(CascadesContext, Function, Plan, Plan, boolean, boolean)219899%21890%21115101
normalizeExpressions(Plan, Plan)24195%1375%131701
checkPartitionRefExpression(Collection)23294%1583%141801
withImpliedPredicates(LogicalOlapScan, StructInfo, ExpressionMapping)21990%1150%121601
collectScanPredicates(StructInfo, Map)5998%2880%2611601
lambda$rewritePredicateToScan$2(Map, Map, Expression)4097%2675%2501001
normalizeExpression(NamedExpression, NamedExpression, boolean)60100%21487%2901101
canRepresentAsScanPredicate(Expression, Map)44100%11191%1701001
removeMaterializedViewHooks(StatementContext)37100%4100%030901
getChosenMaterializationAndUsedTable(Plan, Map)21100%n/a010401
generateMvOlapScanPlan(OlapTable, long, List, PreAggStatus, CascadesContext)19100%n/a010801
containMaterializedViewHook(StatementContext)19100%4100%030501
collectProducerCtePlans(Plan)13100%n/a010301
extractNondeterministicFunction(Plan)11100%n/a010301
withImpliedPredicates(LogicalOlapScan, StructInfo, List)10100%n/a010301
containsAll(BitSet, BitSet)10100%n/a010301
normalizeSinkExpressions(Plan, Plan)9100%n/a010101
rewriteByRules(CascadesContext, Function, Plan, Plan, boolean)8100%n/a010101
collectTableUsedPartitions(Plan, CascadesContext)8100%n/a010201
containTableQueryOperator(Plan)7100%n/a010101
rewritePredicateToScan(Expression, Map, Map)7100%n/a010101
lambda$rewriteByRules$3(AtomicReference, Function, CascadesContext)7100%n/a010201
lambda$rewritePredicateToScan$1(SlotReference, MaterializedViewUtils.HiddenSlotKey)4100%n/a010101