MTMVPlanUtil

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total370 of 2,33384%83 of 28871%6719179542347
analyzeIvmKeys(List, List, MTMVPartitionInfo, DistributionDescriptor, IvmRewriteResult, Map)8314263%231336%1319165301
checkColumnIfChange(MTMV, List)543438%2466%2451101
isVisibleIdentityKey(List, Map, String)330%80%556611
analyzeKeys(List, Map, Map, List, boolean, MTMVPartitionInfo, DistributionDescriptor, IvmRewriteResult)267875%101458%81373001
checkMTMVPartitionInfoLike(MTMVPartitionInfo, MTMVPartitionInfo)262043%4450%35111601
setCatalogAndDb(ConnectContext, MTMV)201542%3350%2461201
analyzeQueryWithSql(MTMV, ConnectContext, Map, Optional)198381%1150%1242501
validateIvmKeyColumn(Map, String)121352%2250%232601
generateColumns(Plan, ConnectContext, String, Set, List, Map)1121595%32990%31725401
analyzeQueryInternal(ConnectContext, Map, MTMVPartitionDefinition, DistributionDescriptor, List, Map, List, LogicalPlan, Optional)1120294%31583%21034901
validateColumns(List, Set, boolean)94483%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
executeCommand(ConnectContext, Command, StatementContext, String, Consumer)76189%4450%4511801
addIvmHashDistributionKeysIfNeeded(Set, Map, DistributionDescriptor)65690%11191%1711401
createMTMVContext(MTMV, List)61773%1150%121601
buildVisibleOutputSlotByColumn(List, Plan)54189%1375%131901
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
analyzeExpressions(Plan, Map)3397%1375%131901
assertIvmPhysicalKeyPrefix(List, List)3096%1375%130401
generateMTMVRelation(Set, Set)91100%10100%0602101
validateIvmAggregateKeys(Set, List, IvmRewriteResult)88100%11191%1702101
getDataType(Slot, int, ConnectContext, String, Set)76100%11593%1901501
createBasicMvContext(ConnectContext, List, Map)72100%2100%0202001
validateIvmVisibleKeyPrefix(List, List, boolean)44100%1990%160801
ensureMTMVQueryUsable(MTMV, ConnectContext)30100%2100%020801
checkMTMVPartitionInfo(MTMV, MTMVPartitionInfo)25100%2100%020501
buildExpectedPhysicalSchema(MTMV, List)24100%2100%020801
lambda$validateAlterExcludedTriggerTables$1(Set, Set, BaseTableInfo)22100%4100%030401
addIvmPartitionKeyIfNeeded(Set, Map, MTMVPartitionInfo)21100%1375%130501
static {...}19100%n/a010301
validateIvmPartition(MTMVPartitionInfo)17100%1583%140501
executeCommand(MTMV, Command, StatementContext, String, Consumer)14100%n/a010401
analyzeQuery(ConnectContext, Map, MTMVPartitionDefinition, DistributionDescriptor, List, Map, List, LogicalPlan, Optional)11100%n/a010101
addIvmFinalKey(LinkedHashSet, String)9100%1150%120301
lambda$buildVisibleOutputSlotByColumn$6(Slot)8100%2100%020101
analyzeQueryWithSql(MTMV, ConnectContext, Optional)7100%n/a010101
lambda$validateIvmAggregateKeys$5(String)7100%2100%020101
lambda$analyzeIvmKeys$4()5100%n/a010101
lambda$analyzeQueryInternal$0(Map, IvmRewriteContext)5100%n/a010201
lambda$analyzeIvmKeys$2(ColumnDefinition)2100%n/a010101