MaterializedViewUtils

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total145 of 80381%26 of 8870%216237193318
getRelatedTableInfo(String, String, Plan, CascadesContext)1070%120%77272711
getRelatedTableInfos(String, String, Plan, CascadesContext)1410988%21285%2833001
lambda$getRelatedTableInfo$0(RelatedTableInfo.RelatedTableColumnInfo)100%40%331111
removeMaterializedViewHooks(StatementContext)43389%1375%131901
MaterializedViewUtils()30%n/a111111
rewriteByRules(CascadesContext, Function, Plan, Plan, boolean)219598%21890%21115001
normalizeExpressions(Plan, Plan)24095%1375%131601
checkPartitionRefExpression(Collection)23294%1583%141801
containMaterializedViewHook(StatementContext)1894%1375%131501
extractStructInfo(Plan, Plan, CascadesContext, BitSet)91100%21083%2702301
transformToCommonTableId(BitSet, Map)31100%4100%030601
normalizeExpression(NamedExpression, NamedExpression)29100%4100%030501
generateMvScanPlan(OlapTable, long, List, PreAggStatus, CascadesContext)26100%n/a0101001
getChosenMaterializationAndUsedTable(Plan, Map)21100%n/a010401
extractNondeterministicFunction(Plan)11100%n/a010301
collectTableUsedPartitions(Plan, CascadesContext)8100%n/a010201
containTableQueryOperator(Plan)7100%n/a010101
lambda$rewriteByRules$1(AtomicReference, Function, CascadesContext)7100%n/a010201