MTMVPlanUtil

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total641 of 2,48574%114 of 31263%88204131570648
checkColumnIfChange(MTMV, List)928648%41275%49102701
analyzeIvmKeys(List, List, MTMVPartitionInfo, DistributionDescriptor, IvmRewriteResult, Map)8713861%241233%1419175301
validateIvmAggregateKeys(Set, List, IvmRewriteResult)8266%10216%67192101
buildVisibleOutputSlotByColumn(List, Plan)460%40%339911
generateColumns(Plan, ConnectContext, String, Set, List, Map)3519184%52784%41775401
isVisibleIdentityKey(List, Map, String)330%80%556611
addIvmHashDistributionKeysIfNeeded(Set, Map, DistributionDescriptor)303251%4866%3761401
checkMTMVPartitionInfoLike(MTMVPartitionInfo, MTMVPartitionInfo)262043%4450%35111601
analyzeKeys(List, Map, Map, List, boolean, MTMVPartitionInfo, DistributionDescriptor, IvmRewriteResult)258276%91765%71463001
validateIvmVisibleKeyPrefix(List, List, boolean)212352%6440%465801
setCatalogAndDb(ConnectContext, MTMV)201542%3350%2461201
analyzeQueryWithSql(MTMV, ConnectContext, Map, Optional)198381%1150%1242501
addIvmPartitionKeyIfNeeded(Set, Map, MTMVPartitionInfo)14733%2250%233501
validateIvmKeyColumn(Map, String)121352%2250%232601
analyzeQueryInternal(ConnectContext, Map, MTMVPartitionDefinition, DistributionDescriptor, List, Map, List, LogicalPlan, Optional)1122395%32187%21335001
validateIvmPartition(MTMVPartitionInfo)10741%4233%343501
validateColumns(List, Set, boolean)94583%1787%1511001
validateAlterExcludedTriggerTables(MTMV, Map, ConnectContext)93579%2466%2431301
getBaseTableFromQuery(String, ConnectContext)86689%n/a0121501
generateColumnsBySql(String, ConnectContext, String, Set, List, Map)85186%n/a0121301
lambda$buildVisibleOutputSlotByColumn$6(Slot)80%20%221111
executeCommand(ConnectContext, Command, StatementContext, String, Consumer)77090%4450%4512001
lambda$validateIvmAggregateKeys$5(String)70%20%221111
createMTMVContext(MTMV, List)61773%1150%121601
applyIvmPhysicalKeyLayout(List, Map, List, List)39897%3975%3702201
isTypeLike(Type, Type)3770%1150%121301
MTMVPlanUtil()30%n/a111111
containsIgnoreCase(Set, String)21789%1375%131501
getExcludedTriggerTables(Map)2880%1150%121401
lambda$analyzeIvmKeys$3(ColumnDefinition, ColumnDefinition)20%n/a111111
assertIvmPhysicalKeyPrefix(List, List)3096%1375%130401
generateMTMVRelation(Set, Set)91100%10100%0602101
createBasicMvContext(ConnectContext, List, Map)83100%4100%0302601
getDataType(Slot, int, ConnectContext, String, Set)76100%11593%1901501
analyzeExpressions(Plan, Map)34100%4100%030901
ensureMTMVQueryUsable(MTMV, ConnectContext)31100%2100%020801
checkMTMVPartitionInfo(MTMV, MTMVPartitionInfo)25100%2100%020501
buildExpectedPhysicalSchema(MTMV, List)24100%2100%020801
lambda$validateAlterExcludedTriggerTables$1(Set, Set, BaseTableInfo)22100%4100%030401
static {...}22100%n/a010301
executeCommand(MTMV, Command, StatementContext, String, Consumer)14100%n/a010401
analyzeQuery(ConnectContext, Map, MTMVPartitionDefinition, DistributionDescriptor, List, Map, List, LogicalPlan, Optional)11100%n/a010101
isAppendOnlyDup(IvmRewriteResult)9100%4100%030101
addIvmFinalKey(LinkedHashSet, String)9100%1150%120301
lambda$analyzeQueryInternal$0(Map, IvmRewriteContext)9100%n/a010301
analyzeQueryWithSql(MTMV, ConnectContext, Optional)7100%n/a010101
lambda$analyzeIvmKeys$4()5100%n/a010101
lambda$analyzeIvmKeys$2(ColumnDefinition)2100%n/a010101