SemiTransactionalHiveMetastore

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total3,685 of 3,6850%294 of 2940%289289764764125125
commitShared()3260%180%1313848411
doGetPartitionNames(MetastoreContext, HiveTableHandle, Map)2260%270%1616444411
rollbackShared()2010%170%1010474711
doRecursiveDeleteFiles(FileSystem, Path, Set, boolean)1710%240%1313383811
finishInsertIntoExistingPartition(ConnectorSession, String, String, String, List, Path, List, PartitionStatistics)1380%70%55303011
finishInsertIntoExistingTable(ConnectorSession, String, String, Path, List, PartitionStatistics)1220%70%55292911
addPartition(ConnectorSession, String, String, String, boolean, Partition, Path, PartitionStatistics, boolean)1210%70%55202011
getPartitionStatistics(MetastoreContext, String, String, Set)1070%110%77252511
truncateUnpartitionedTable(ConnectorSession, String, String)1040%80%55222211
getPartitionsByNames(MetastoreContext, String, String, List)970%70%55212111
listTablePrivileges(MetastoreContext, String, String, PrestoPrincipal)970%100%77181811
dropPartition(ConnectorSession, String, String, String, List)820%50%44121211
renameDirectory(HdfsContext, HdfsEnvironment, Path, Path, Runnable)810%60%44121211
createTable(ConnectorSession, Table, PrincipalPrivileges, Optional, boolean, PartitionStatistics, List)790%50%44121211
generatePageSinkMetadata(MetastoreContext, SchemaTableName)640%60%44131311
SemiTransactionalHiveMetastore(HdfsEnvironment, ExtendedHiveMetastore, ListeningExecutorService, boolean, boolean, boolean, ColumnConverterProvider)590%n/a11141411
dropTable(HdfsContext, String, String)570%70%55111111
recursiveDeleteFilesAndLog(HdfsContext, Path, Set, boolean, String)520%60%449911
getPartition(MetastoreContext, String, String, List)480%50%44101011
cacheLastDataCommitTimes(Map, String, String)480%20%22101011
commit()480%50%558811
getTableSource(String, String)470%70%66111111
setPartitionLeases(MetastoreContext, String, String, Map, Duration)450%100%667711
recursiveDeleteFiles(HdfsEnvironment, HdfsContext, Path, Set, boolean)440%20%229911
declareIntentionToWrite(HdfsContext, MetastoreContext, LocationHandle.WriteMode, Path, Optional, SchemaTableName, boolean)420%60%447711
getTable(MetastoreContext, HiveTableHandle)400%50%448811
getTableStatistics(MetastoreContext, String, String)390%50%448811
asyncRename(HdfsEnvironment, ListeningExecutorService, AtomicBoolean, List, HdfsContext, Path, Path, List)390%20%227711
partitionValuesMatch(List, List)370%80%557711
lambda$truncateUnpartitionedTable$17(HdfsContext, Path, SchemaTableName, ExtendedHiveMetastore, HdfsEnvironment)320%20%225511
deleteTempPathRootDirectory(List, HdfsEnvironment)250%40%335511
isSameOrParent(Path, Path)250%40%337711
rollback()240%40%448811
checkNoPartitionAction(String, String)240%40%335511
getTableConstraints(MetastoreContext, String, String)230%20%225511
lambda$doRecursiveDeleteFiles$41(String, String)230%60%441111
deleteTemporaryTableDirectories(List, HdfsEnvironment)220%40%335511
checkReadable()210%40%446611
deleteIfExists(FileSystem, Path, boolean)210%40%337711
getPartitionFromPartitionAction(SemiTransactionalHiveMetastore.Action)190%30%334411
setExclusive(SemiTransactionalHiveMetastore.ExclusiveOperation)190%20%226611
checkHoldsLock()180%20%223311
lambda$addColumn$13(MetastoreContext, String, String, String, HiveType, String, ExtendedHiveMetastore, HdfsEnvironment)180%n/a112211
getAllTables(MetastoreContext, String)170%20%224411
getAllViews(MetastoreContext, String)170%20%224411
logCleanupFailure(Throwable, String, Object[])170%20%224411
lambda$renameColumn$14(MetastoreContext, String, String, String, String, ExtendedHiveMetastore, HdfsEnvironment)170%n/a112211
lambda$renameTable$12(MetastoreContext, String, String, String, String, ExtendedHiveMetastore, HdfsEnvironment)170%n/a112211
lambda$replaceView$11(MetastoreContext, String, String, Table, PrincipalPrivileges, ExtendedHiveMetastore, HdfsEnvironment)170%n/a112211
getPartitionName(MetastoreContext, String, String, List)160%n/a113311
lambda$addConstraint$36(MetastoreContext, String, String, TableConstraint, ExtendedHiveMetastore, HdfsEnvironment)160%n/a112211
lambda$dropConstraint$35(MetastoreContext, String, String, String, ExtendedHiveMetastore, HdfsEnvironment)160%n/a112211
lambda$dropColumn$15(MetastoreContext, String, String, String, ExtendedHiveMetastore, HdfsEnvironment)160%n/a112211
logCleanupFailure(String, Object[])150%20%224411
deleteRecursivelyIfExists(HdfsContext, HdfsEnvironment, Path)140%n/a115511
lambda$null$9(ExtendedHiveMetastore, MetastoreContext, Table, List, PartitionStatistics)140%n/a114411
getPartitionName(Table, List)130%n/a114411
addPartition(ConnectorSession, String, String, String, boolean, Partition, Path, PartitionStatistics)120%n/a112211
getTable(MetastoreContext, String, String)110%n/a112211
addColumn(MetastoreContext, String, String, String, HiveType, String)110%n/a112211
buildCommitHandle(SchemaTableName, MetastoreOperationResult)110%n/a112211
getPartitionNames(MetastoreContext, String, String)110%n/a112211
lambda$setTableStatistics$7(MetastoreContext, Table, PartitionStatistics, ExtendedHiveMetastore, HdfsEnvironment)110%n/a114411
replaceView(MetastoreContext, String, String, Table, PrincipalPrivileges)100%n/a112211
renameTable(MetastoreContext, String, String, String, String)100%n/a112211
renameColumn(MetastoreContext, String, String, String, String)100%n/a112211
testOnlyCheckIsReadOnly()100%20%223311
dropColumn(MetastoreContext, String, String, String)90%n/a112211
grantRoles(MetastoreContext, Set, Set, boolean, PrestoPrincipal)90%n/a112211
revokeRoles(MetastoreContext, Set, Set, boolean, PrestoPrincipal)90%n/a112211
grantTablePrivileges(MetastoreContext, String, String, PrestoPrincipal, Set)90%n/a112211
revokeTablePrivileges(MetastoreContext, String, String, PrestoPrincipal, Set)90%n/a112211
dropConstraint(MetastoreContext, String, String, String)90%n/a112211
addConstraint(MetastoreContext, String, String, TableConstraint)90%n/a112211
lambda$asyncRename$40(AtomicBoolean, FileSystem, Path, Path)90%20%224411
lambda$revokeTablePrivileges$34(MetastoreContext, String, String, PrestoPrincipal, Set, ExtendedHiveMetastore, HdfsEnvironment)90%n/a112211
lambda$grantTablePrivileges$33(MetastoreContext, String, String, PrestoPrincipal, Set, ExtendedHiveMetastore, HdfsEnvironment)90%n/a112211
lambda$revokeRoles$32(MetastoreContext, Set, Set, boolean, PrestoPrincipal, ExtendedHiveMetastore, HdfsEnvironment)90%n/a112211
lambda$grantRoles$31(MetastoreContext, Set, Set, boolean, PrestoPrincipal, ExtendedHiveMetastore, HdfsEnvironment)90%n/a112211
lambda$getPartitionName$28(String, String)90%n/a111111
lambda$setPartitionLeases$23(String, String)90%n/a111111
lambda$getPartitionsByNames$21(MetastoreContext, String, String, ImmutableList.Builder)90%n/a111111
lambda$setPartitionStatistics$10(Map, MetastoreContext, Table, ExtendedHiveMetastore, HdfsEnvironment)90%n/a112211
getDatabase(MetastoreContext, String)80%n/a112211
setPartitionStatistics(MetastoreContext, Table, Map)80%n/a112211
listRoleGrants(MetastoreContext, PrestoPrincipal)80%n/a112211
setShared()80%n/a114411
lambda$rollbackShared$39(Path, Path)80%20%221111
getAllDatabases(MetastoreContext)70%n/a112211
renameDatabase(MetastoreContext, String, String)70%n/a112211
setTableStatistics(MetastoreContext, Table, PartitionStatistics)70%n/a112211
createRole(MetastoreContext, String, String)70%n/a112211
listRoles(MetastoreContext)70%n/a112211
lambda$createRole$29(MetastoreContext, String, String, ExtendedHiveMetastore, HdfsEnvironment)70%n/a112211
lambda$renameDatabase$5(MetastoreContext, String, String, ExtendedHiveMetastore, HdfsEnvironment)70%n/a112211
getSupportedColumnStatistics(MetastoreContext, Type)60%n/a111111
createDatabase(MetastoreContext, Database)60%n/a112211
dropDatabase(MetastoreContext, String)60%n/a112211
getPartitionNames(MetastoreContext, HiveTableHandle)60%n/a111111
getPartitionNamesByFilter(MetastoreContext, HiveTableHandle, Map)60%n/a111111
dropRole(MetastoreContext, String)60%n/a112211
getPrestoQueryId(Table)60%n/a111111
getPrestoQueryId(Partition)60%n/a111111
lambda$dropRole$30(MetastoreContext, String, ExtendedHiveMetastore, HdfsEnvironment)60%n/a112211
lambda$finishInsertIntoExistingPartition$27(SchemaTableName, List)60%n/a111111
lambda$cacheLastDataCommitTimes$22(Optional)60%n/a111111
lambda$dropDatabase$4(MetastoreContext, String, ExtendedHiveMetastore, HdfsEnvironment)60%n/a112211
lambda$createDatabase$3(MetastoreContext, Database, ExtendedHiveMetastore, HdfsEnvironment)60%n/a112211
lambda$getPartitionStatistics$2(ImmutableMap.Builder, String)60%n/a111111
lambda$getTable$0(MetastoreContext, HiveTableHandle)60%n/a111111
lambda$finishInsertIntoExistingTable$16(SchemaTableName)50%n/a111111
testOnlyThrowOnCleanupFailures()40%n/a112211
lambda$rollbackShared$38(Partition)40%n/a111111
lambda$finishInsertIntoExistingPartition$26(SchemaTableName)40%n/a111111
lambda$dropPartition$25(SchemaTableName)40%n/a111111
lambda$addPartition$24(SchemaTableName)40%n/a111111
lambda$getPartitionsByNames$20(SchemaTableName)40%n/a111111
lambda$getPartition$19(SchemaTableName)40%n/a111111
lambda$doGetPartitionNames$18(SchemaTableName)40%n/a111111
lambda$null$8(PartitionStatistics, PartitionStatistics)40%n/a111111
lambda$null$6(PartitionStatistics, PartitionStatistics)40%n/a111111
lambda$getPartitionStatistics$1(SchemaTableName)40%n/a111111
static {...}40%n/a111111
getColumnConverterProvider()30%n/a111111
lambda$commitShared$37()0%n/a111111