Changed-lines coverage: PR changed C/C++ lines covered by tests: 91.03% (142/156) Uncovered changed code (with context): ================================================================================ src/AggregateFunctions/AggregateFunctionQuantile.h ================================================================================ --- uncovered block 41-44 --- 39 | constexpr size_t quantileStateVersion() 40 | { >> 41 | if constexpr (requires { Data::state_version; }) >> 42 | return Data::state_version; 43 | else >> 44 | return 0; 45 | } 46 | --- uncovered block 297-297 --- 295 | return 1; 296 | } >> 297 | return 0; 298 | } 299 | ================================================================================ src/AggregateFunctions/ReservoirSamplerDeterministic.h ================================================================================ --- uncovered block 175-177 --- 173 | 174 | if (unlikely(new_skip_degree > detail::MAX_SKIP_DEGREE)) >> 175 | throw DB::Exception(DB::ErrorCodes::BAD_ARGUMENTS, >> 176 | "Skip degree in `quantileDeterministic` state is {}, which exceeds the maximum value of {}", >> 177 | static_cast(new_skip_degree), detail::MAX_SKIP_DEGREE); 178 | } 179 | ================================================================================ src/DataTypes/DataTypeAggregateFunction.cpp ================================================================================ --- uncovered block 373-373 --- 371 | const auto * simple = typeid_cast(column_type->getCustomName()); 372 | if (!simple) >> 373 | return; 374 | 375 | /// The custom name keeps its own copy of the argument types, and for ================================================================================ src/DataTypes/DataTypeAggregateFunction.h ================================================================================ --- uncovered block 88-88 --- 86 | void setVersion(size_t version_, bool if_empty) const 87 | { >> 88 | if (version && if_empty) 89 | return; 90 | ================================================================================ src/DataTypes/transformTypesRecursively.cpp ================================================================================ --- uncovered block 212-212 --- 210 | { 211 | if (auto new_nested = replaceNestedSimpleTypes(type_nullable->getNestedType(), callback)) >> 212 | replacement = std::make_shared(new_nested); 213 | } 214 | else if (const auto * type_array = typeid_cast(type.get())) --- uncovered block 248-248 --- 246 | replacement = std::make_shared(new_elements, type_tuple->getElementNames()); 247 | else >> 248 | replacement = std::make_shared(new_elements); 249 | } 250 | } --- uncovered block 256-257 --- 254 | auto new_value = replaceNestedSimpleTypes(type_map->getValueType(), callback); 255 | if (new_key || new_value) >> 256 | replacement = std::make_shared( >> 257 | new_key ? new_key : type_map->getKeyType(), new_value ? new_value : type_map->getValueType()); 258 | } 259 | else if (const auto * type_variant = typeid_cast(type.get())) --- uncovered block 307-307 --- 305 | /// is kept as it was rather than replaced with a type that lies about its name. 306 | if (type->hasCustomName() && !replacement->hasCustomName()) >> 307 | return nullptr; 308 | 309 | return replacement; WARNING: Failed to get start time for [Print Uncovered Code] - start time and duration won't be set --- Coverage counts --- Lines : baseline 961,731/1,108,854 -> current 963,557/1,111,334 (delta +1,826 / +2,480) Functions : baseline 816,189/887,208 -> current 818,571/889,997 (delta +2,382 / +2,789) Branches : baseline 318,173/402,066 -> current 319,109/403,272 (delta +936 / +1,206)