MaterializedViewUtils

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total164 of 90581%30 of 10471%247341215321
getRelatedTableInfo(String, String, Plan, CascadesContext)1260%140%88313111
getRelatedTableInfos(String, String, Plan, CascadesContext)1412890%21487%2933401
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)24195%1375%131701
checkPartitionRefExpression(Collection)23294%1583%141801
containMaterializedViewHook(StatementContext)1894%1375%131501
extractStructInfo(Plan, Plan, CascadesContext, BitSet)91100%21083%2702301
normalizeExpression(NamedExpression, NamedExpression, boolean)60100%21487%2901101
transformToCommonTableId(BitSet, Map)31100%4100%030601
generateMvScanPlan(OlapTable, long, List, PreAggStatus, CascadesContext)26100%n/a0101001
getChosenMaterializationAndUsedTable(Plan, Map)21100%n/a010401
collectProducerCtePlans(Plan)13100%n/a010301
extractNondeterministicFunction(Plan)11100%n/a010301
containsAll(BitSet, BitSet)10100%n/a010301
normalizeSinkExpressions(Plan, Plan)9100%n/a010101
collectTableUsedPartitions(Plan, CascadesContext)8100%n/a010201
containTableQueryOperator(Plan)7100%n/a010101
lambda$rewriteByRules$1(AtomicReference, Function, CascadesContext)7100%n/a010201