IcebergUtils

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,986 of 5,12261%331 of 68551%2805044381,16239131
parseIcebergLiteral(String, Type)1630%130%1212282811
getQuerySpecSnapshot(Table, Optional, Optional)11612050%151753%1217124001
getPartitionInfoMap(PartitionData, PartitionSpec, String)1060%140%88272711
convertToIcebergExpr(Expr, Schema)9822469%303956%2339288901
solveIcebergPartitionSpec(PartitionDesc, Schema)796745%7853%711203601
extractDorisLiteral(Type, Expr)779755%202050%1624265301
parseTimestampToMicros(String, Types.TimestampType)710%40%33202011
parsePartitionValueFromString(String, Type)612125%8433%811101501
serializePartitionValue(Type, Object, String)563941%8746%510142301
getSerializedInitialDefaultForDorisExpression(Types.NestedField, boolean)560%80%55111111
mergeOverlapPartitions(Map)526153%4450%35101901
serializeInitialDefault(Type, Object, boolean)520%120%77141411
getEffectiveFileFormat(Map, Map)520%40%33111111
checkConversion(Expression, Schema)455354%14939%1014173201
validateOrcBinaryWriteBackendCompatibility(Schema, FileFormat, Iterable)450%100%66101011
loadPartitionInfo(ExternalTable, Table, long, long)3910973%1375%1363301
getNameMapping(Table)391020%5116%34121501
validateVariantWriteBackendCompatibility(List, Iterable)390%80%558811
validateWriteSchema(List, int, FileFormat)370%60%447711
getBase64EncodedInitialDefaults(Schema)370%60%447711
createIcebergHiveCatalog(ExternalCatalog, String)370%20%229911
normalizeFloatingPointPartitionValue(String)360%140%888811
icebergPrimitiveTypeToDorisType(Type.PrimitiveType, boolean, boolean)344858%91562%71962101
extractMappingsFromNameMapping(MappedFields, Map)330%60%448811
validateWriteSchema(Table, List)322947%4660%4691701
serializeBinaryInitialDefault(Type, Object)310%20%227711
dataLocation(Table)274461%5550%5631401
lambda$getSchema$10(boolean, ExternalTable, long, Table)246873%6650%5751601
copyCatalogFileFormatProperty(Map, Map, String, String)200%20%224411
getFormatVersion(Table)181443%7112%4561001
dorisTypeToIcebergType(Type)180%20%223311
showCreateView(IcebergExternalTable)180%n/a112211
getFileCompress(Table)173768%2675%2521101
validateVariantWriteProperties(List, Map)170%40%335511
getSerializedInitialDefault(Types.NestedField, boolean)170%20%223311
loadPartitionInfo(ExternalTable, Table, long)170%20%223311
isSupportedPartitionValueType(Type, boolean, boolean)151651%10428%782701
icebergTypeToDorisType(Type, boolean, boolean)146381%2571%2621601
loadViewSchemaCacheValue(ExternalTable, long)130%n/a112211
getPartitionRange(String, String, List)1217993%2981%2813601
parseFileFormatName(String)121860%1375%131601
getIdentityPartitionInfoMap(PartitionData, PartitionSpec, Table, String, boolean, boolean)117286%3770%3652201
isIcebergBranchOrTag(Optional)103778%6857%6831201
parsePartitionValuesFromJson(String)101458%1150%124701
getSerializedInitialDefaults(Iterable, boolean)93780%1583%141801
loadTableSchemaCacheValue(ExternalTable, long)90%n/a112211
getSchema(ExternalTable, long, boolean, Table)81157%n/a012301
loadSchemaCacheValue(ExternalTable, long, boolean, Table)81055%2250%232501
getIdentityPartitionInfoMap(PartitionData, PartitionSpec, Table, String)80%n/a111111
loadIcebergPartition(Table, long)74887%4100%0321401
getSchemaCacheValue(ExternalTable, long)70%n/a112211
shouldCollectColumnStats(Table, Schema)70%n/a112211
getSnapshotCacheValue(Optional, ExternalTable, Optional)63284%4100%0321001
loadSchemaCacheValue(ExternalTable, long, boolean)60%n/a111111
lambda$mergeOverlapPartitions$15(String, String, Set)60%n/a112211
getIcebergPartitionColumns(Optional, ExternalTable)52080%1150%121601
getSchemaCacheValue(ExternalTable, IcebergSnapshotCacheValue)51676%1150%121401
lambda$shouldCollectColumnStats$17(Types.NestedField)5758%3125%230101
getIdentityPartitionColumns(Table)50%n/a111111
getCommonIdentityPartitionColumns(Table)50%n/a111111
getWritableIcebergTable(ExternalTable)50%n/a111111
getSerializedInitialDefaults(Schema, boolean)50%n/a111111
getIcebergSchema(ExternalTable)50%n/a111111
getIcebergView(ExternalTable)50%n/a111111
containsVariant(Type)43990%3975%3711101
getBinaryLikeFieldIds(Schema)40%n/a111111
lambda$validateOrcBinaryWriteBackendCompatibility$7(Types.NestedField)40%n/a111111
lambda$validateVariantWriteBackendCompatibility$6(Column)40%n/a111111
lambda$validateWriteSchema$5(Column)40%n/a111111
lambda$validateVariantWriteProperties$4(Column)40%n/a111111
getEffectiveIcebergFormatVersion(Map, Map)32689%1583%1421001
timeTravelTimestampToLong(String)3975%n/a012401
IcebergUtils()30%n/a111111
getCountFromSummary(Map, boolean)4695%3975%3711301
getPushdownField(Schema, String)1285%2250%231401
hasIcebergCatalogFormatVersion(Map)1083%2250%230201
getIcebergColumnName(Schema, String)981%1150%120201
generateIcebergPartition(Table, StructLike)20599%2675%2504401
getIdentityPartitionColumns(Table, boolean, boolean)6598%3975%3711501
getPartitionValues(PartitionData, PartitionSpec, String)6198%1375%1301301
lambda$shouldCollectColumnStats$18(Schema, MetricsConfig, Types.NestedField)1090%1150%120201
lambda$shouldCollectColumnStats$16(Schema, MetricsConfig, Types.NestedField)1090%1150%120201
lambda$getCommonIdentityPartitionColumns$9(String)583%1150%120101
getCommonIdentityPartitionColumns(Table, boolean, boolean)84100%2880%2601901
updateIcebergColumnMetadata(Column, Types.NestedField)59100%1787%1601601
getIcebergRowCount(ExternalTable)57100%4100%0301501
buildTableSchemaCacheValue(ExternalTable, long, Table)57100%1583%1401201
selectEffectiveStorageProperties(Map)56100%6100%0401001
appendRowLineageColumnsForV3(List, Table)45100%2100%0201201
getBinaryLikeFieldIds(Iterable)44100%6100%040801
getRequiredFieldIds(Iterable)43100%6100%040801
parseField(Types.NestedField, boolean, boolean)40100%6100%040901
selectEffectiveStorageProperties(List)30100%1583%140701
chooseS3CompatibleStorage(List)27100%2675%250901
parseSchema(Schema, boolean, boolean)27100%2100%020601
parseSchemaForDisplay(Schema, boolean, boolean)25100%2100%020501
static {...}25100%n/a010901
convertDorisExprToSlotRef(Expr)24100%1583%140701
shouldCollectColumnStats(Schema, MetricsConfig, FileFormat)23100%2100%020601
isManifestCacheEnabled(ExternalCatalog)23100%n/a010601
getLatestIcebergSnapshot(Table)21100%2100%020401
configuredFileFormatName(Map)20100%4100%030501
newExplicitSnapshotValue(IcebergTableQueryInfo, Table, IcebergTableCacheValue)19100%n/a010501
getMatchingManifest(List, Map, Expression)18100%n/a010701
isBinaryLike(Type)16100%2466%240201
appendRowLineageFieldsForV3(Schema)16100%n/a010101
lambda$getMatchingManifest$11(Map, Expression, Integer)16100%n/a010501
getSnapshotCacheValue(Optional, ExternalTable)15100%1375%130301
lambda$icebergTypeToDorisType$0(boolean, boolean, Types.NestedField)15100%n/a010301
isIcebergRowLineageColumn(Column)14100%4100%030201
sortPartitionMap(Map)13100%n/a010301
isIcebergRowLineageColumn(String)12100%4100%030201
icebergExternalMetaCache(ExternalCatalog)10100%n/a010201
lambda$getMatchingManifest$13(ManifestFile)10100%4100%030101
getPartitionDataJson(PartitionData, PartitionSpec, String)9100%n/a010201
getFileFormat(Table)9100%n/a010301
resolveFileFormatName(Map)9100%2100%020201
getIcebergSchema(ExternalTable, Optional)9100%n/a010201
lambda$getMatchingManifest$12(LoadingCache, ManifestFile)9100%n/a010101
getSchemaCacheValue(ExternalTable, long, Table)8100%n/a010201
getWritableIcebergTable(ExternalTable, IcebergMetadataOps)6100%n/a010101
getIcebergPartitionItems(Optional, ExternalTable)6100%n/a010101
getIcebergTable(ExternalTable)5100%n/a010101
getQueryScopedIcebergTable(ExternalTable)5100%n/a010101
getLatestSnapshotCacheValue(ExternalTable)5100%n/a010101
icebergExternalMetaCache(ExternalTable)4100%n/a010101
lambda$loadPartitionInfo$14(Table, long)4100%n/a010101
lambda$getCommonIdentityPartitionColumns$8(PartitionField)4100%n/a010101
lambda$validateWriteSchema$3(Types.NestedField)4100%n/a010101
lambda$validateWriteSchema$2(Column)4100%n/a010101
lambda$containsVariant$1(StructField)4100%n/a010101