MTMVPlanUtil

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total335 of 2,33385%59 of 28879%5919176542447
generateColumnsBySql(String, ConnectContext, String, Set, List, Map)590%n/a11131311
generateColumns(Plan, ConnectContext, String, Set, List, Map)2719988%42887%41765401
checkMTMVPartitionInfoLike(MTMVPartitionInfo, MTMVPartitionInfo)222452%3562%35101601
analyzeKeys(List, Map, Map, List, boolean, MTMVPartitionInfo, DistributionDescriptor, IvmRewriteResult)218379%51979%41343001
validateIvmVisibleKeyPrefix(List, List, boolean)212352%6440%465801
setCatalogAndDb(ConnectContext, MTMV)211440%4233%3471201
checkColumnIfChange(MTMV, List)206877%1583%1421101
analyzeQueryWithSql(MTMV, ConnectContext, Map, Optional)198381%1150%1242501
addIvmHashDistributionKeysIfNeeded(Set, Map, DistributionDescriptor)184470%21083%2721401
checkMTMVPartitionInfo(MTMV, MTMVPartitionInfo)17832%1150%122501
executeCommand(MTMV, Command, StatementContext, String, Consumer)140%n/a114411
validateIvmKeyColumn(Map, String)121352%2250%232601
validateColumns(List, Set, boolean)94483%8100%0511001
validateAlterExcludedTriggerTables(MTMV, Map, ConnectContext)93579%2466%2431301
getBaseTableFromQuery(String, ConnectContext)86689%n/a0121501
ensureMTMVQueryUsable(MTMV, ConnectContext)82273%2100%022801
analyzeIvmKeys(List, List, MTMVPartitionInfo, DistributionDescriptor, IvmRewriteResult, Map)621997%82877%81925301
analyzeQueryInternal(ConnectContext, Map, MTMVPartitionDefinition, DistributionDescriptor, List, Map, List, LogicalPlan, Optional)520897%11794%11014901
buildVisibleOutputSlotByColumn(List, Plan)54189%1375%131901
applyIvmPhysicalKeyLayout(List, Map, List, List)39897%3975%3702201
MTMVPlanUtil()30%n/a111111
containsIgnoreCase(Set, String)21789%1375%131501
getExcludedTriggerTables(Map)2880%1150%121401
lambda$analyzeIvmKeys$3(ColumnDefinition, ColumnDefinition)20%n/a111111
isVisibleIdentityKey(List, Map, String)3296%2675%250601
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%21487%2901501
createBasicMvContext(ConnectContext, List, Map)72100%2100%0202001
executeCommand(ConnectContext, Command, StatementContext, String, Consumer)68100%3562%3501801
analyzeExpressions(Plan, Map)34100%4100%030901
buildExpectedPhysicalSchema(MTMV, List)24100%2100%020801
createMTMVContext(MTMV, List)23100%2100%020601
lambda$validateAlterExcludedTriggerTables$1(Set, Set, BaseTableInfo)22100%1375%130401
addIvmPartitionKeyIfNeeded(Set, Map, MTMVPartitionInfo)21100%1375%130501
static {...}19100%n/a010301
validateIvmPartition(MTMVPartitionInfo)17100%1583%140501
analyzeQuery(ConnectContext, Map, MTMVPartitionDefinition, DistributionDescriptor, List, Map, List, LogicalPlan, Optional)11100%n/a010101
isTypeLike(Type, Type)10100%2100%020301
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