MTMVPartitionUtil

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total759 of 1,46848%91 of 17247%681201833551334
generatePartitionSnapshot(MTMVRefreshContext, MTMVRefreshContext.PreparedPartitionSnapshots, Set, Map)1160%180%1010272711
generateRelatedBasePartitionIds(MTMV)1001513%13527%710192401
getPartitionUnSyncTables(MTMVRefreshContext, MTMVRefreshContext.PreparedPartitionSnapshots, String)820%140%88212111
getTableVersions(MTMV)71911%1118%67162001
getMTMVNeedRefreshPartitions(MTMVRefreshContext, Set)560%40%33181811
getPartitionDescsByRelatedTable(Map, MTMVPartitionInfo, Map, List)410%20%22121211
getPartitionsUnSyncTables(MTMV)410%20%22101011
addPartition(MTMV, PartitionKeyDesc)360%n/a117711
isSyncWithPartitions(MTMVRefreshContext, MTMVRefreshContext.PreparedPartitionSnapshots, String, Set, MTMVRelatedTableIf)325764%3975%3752101
generatePartitionSnapshots(MTMVRefreshContext, Set, Set)320%20%227711
alignMvPartitionWithSnapshots(MTMV, Map)294359%6225%4561501
dropPartition(MTMV, String)220%20%226611
generatePartitionName(PartitionKeyDesc)152764%1375%132701
isSyncWithBaseTable(MTMVRefreshContext, String, BaseTableInfo)123272%2250%2351501
getPartitionVersions(MTMV, Map)1013292%21487%2933001
isMTMVPartitionSync(MTMVRefreshContext, MTMVRefreshContext.PreparedPartitionSnapshots, String, Set, Set)106286%2675%2541801
isSyncWithAllBaseTables(MTMVRefreshContext, String, Set, Set)83982%6100%0431501
generateRelatedPartitionDescs(MTMVPartitionInfo, Map, List, Map, Map)83179%1375%132901
isPartitionSyncLimitActive(Map)80%20%222211
getPartitionColumnType(MTMVRelatedTableIf, String, Optional)72275%2250%232601
generateRelatedPartitionDescs(MTMVPartitionInfo, Map, List, Map)70%n/a111111
getTableSnapshotFromContext(MTMVRelatedTableIf, MTMVRefreshContext)52683%1150%121801
alignMvPartition(MTMV)40%n/a111111
MTMVPartitionUtil()30%n/a111111
isMTMVSync(MTMV)22090%1150%121801
lambda$generateRelatedBasePartitionIds$0(BaseTableInfo)20%n/a111111
isTableNamelike(TableNameInfo, TableNameInfo)64100%10100%0601501
hasNullPartitionValue(PartitionKeyDesc)35100%8100%050901
isMTMVSync(MTMVRefreshContext, Set, Set)32100%4100%030901
static {...}24100%n/a010401
isTableExcluded(Set, TableNameInfo)19100%4100%030501
alignMvPartition(MTMV, Map)9100%n/a010201
getBaseVersions(MTMV, Map)9100%n/a010101
lambda$getPartitionVersions$1(MTMVRelatedTableIf)2100%n/a010101