MaterializedViewUtils

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total172 of 80378%28 of 8868%216244193318
getRelatedTableInfos(String, String, Plan, CascadesContext)1230%140%88303011
checkPartitionRefExpression(Collection)340%60%448811
removeMaterializedViewHooks(StatementContext)43389%1375%131901
getRelatedTableInfo(String, String, Plan, CascadesContext)310497%11191%1712701
MaterializedViewUtils()30%n/a111111
rewriteByRules(CascadesContext, Function, Plan, Plan, boolean)219598%21890%21115001
normalizeExpressions(Plan, Plan)24095%1375%131601
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
lambda$getRelatedTableInfo$0(RelatedTableInfo.RelatedTableColumnInfo)10100%4100%030101
collectTableUsedPartitions(Plan, CascadesContext)8100%n/a010201
containTableQueryOperator(Plan)7100%n/a010101
lambda$rewriteByRules$1(AtomicReference, Function, CascadesContext)7100%n/a010201