23.81% (10/42) Uncovered changed code (with context): ================================================================================ src/Functions/FunctionVariantAdaptor.cpp ================================================================================ --- uncovered block 114-114 --- 112 | ColumnWithTypeAndName{makeNullableSafe(nested_result), makeNullableSafe(nested_result_type), ""}, result_type); 113 | } >> 114 | catch (const Exception & e) 115 | { 116 | /// Only wrap type-conversion errors as LOGICAL_ERROR. --- uncovered block 118-120 --- 116 | /// Only wrap type-conversion errors as LOGICAL_ERROR. 117 | /// Other exceptions (e.g. MEMORY_LIMIT_EXCEEDED) should propagate as-is. >> 118 | if (e.code() != ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT && e.code() != ErrorCodes::TYPE_MISMATCH >> 119 | && e.code() != ErrorCodes::CANNOT_CONVERT_TYPE && e.code() != ErrorCodes::NO_COMMON_TYPE) >> 120 | throw; 121 | 122 | throw Exception( --- uncovered block 122-122 --- 120 | throw; 121 | >> 122 | throw Exception( 123 | ErrorCodes::LOGICAL_ERROR, 124 | "Cannot convert nested result of function {} with type {} to the expected result type {}: {}", --- uncovered block 124-124 --- 122 | throw Exception( 123 | ErrorCodes::LOGICAL_ERROR, >> 124 | "Cannot convert nested result of function {} with type {} to the expected result type {}: {}", 125 | getName(), 126 | removeNullable(result_type)->getName(), --- uncovered block 148-148 --- 146 | throw; 147 | >> 148 | throw Exception( 149 | ErrorCodes::LOGICAL_ERROR, 150 | "Cannot convert nested result of function {} with type {} to the expected result type {}: {}", --- uncovered block 150-150 --- 148 | throw Exception( 149 | ErrorCodes::LOGICAL_ERROR, >> 150 | "Cannot convert nested result of function {} with type {} to the expected result type {}: {}", 151 | getName(), 152 | nested_result_type->getName(), --- uncovered block 237-237 --- 235 | return castColumn(ColumnWithTypeAndName{nested_result, nested_result_type, ""}, result_type); 236 | } >> 237 | catch (const Exception & e) 238 | { 239 | if (e.code() != ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT && e.code() != ErrorCodes::TYPE_MISMATCH --- uncovered block 239-241 --- 237 | catch (const Exception & e) 238 | { >> 239 | if (e.code() != ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT && e.code() != ErrorCodes::TYPE_MISMATCH >> 240 | && e.code() != ErrorCodes::CANNOT_CONVERT_TYPE && e.code() != ErrorCodes::NO_COMMON_TYPE) >> 241 | throw; 242 | 243 | throw Exception( --- uncovered block 243-243 --- 241 | throw; 242 | >> 243 | throw Exception( 244 | ErrorCodes::LOGICAL_ERROR, 245 | "Cannot convert nested result of function {} with type {} to the expected result type {}: {}", --- uncovered block 245-245 --- 243 | throw Exception( 244 | ErrorCodes::LOGICAL_ERROR, >> 245 | "Cannot convert nested result of function {} with type {} to the expected result type {}: {}", 246 | getName(), 247 | result_type->getName(), --- uncovered block 268-270 --- 266 | catch (const Exception & e) 267 | { >> 268 | if (e.code() != ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT && e.code() != ErrorCodes::TYPE_MISMATCH >> 269 | && e.code() != ErrorCodes::CANNOT_CONVERT_TYPE && e.code() != ErrorCodes::NO_COMMON_TYPE) >> 270 | throw; 271 | 272 | throw Exception( --- uncovered block 272-272 --- 270 | throw; 271 | >> 272 | throw Exception( 273 | ErrorCodes::LOGICAL_ERROR, 274 | "Cannot convert nested result of function {} with type {} to the expected result type {}: {}", --- uncovered block 274-274 --- 272 | throw Exception( 273 | ErrorCodes::LOGICAL_ERROR, >> 274 | "Cannot convert nested result of function {} with type {} to the expected result type {}: {}", 275 | getName(), 276 | nested_result_type->getName(), --- uncovered block 295-295 --- 293 | throw; 294 | >> 295 | throw Exception( 296 | ErrorCodes::LOGICAL_ERROR, 297 | "Cannot convert nested result of function {} with type {} to the expected result type {}: {}", --- uncovered block 297-297 --- 295 | throw Exception( 296 | ErrorCodes::LOGICAL_ERROR, >> 297 | "Cannot convert nested result of function {} with type {} to the expected result type {}: {}", 298 | getName(), 299 | nested_result_type->getName(), --- uncovered block 412-412 --- 410 | ColumnWithTypeAndName{makeNullableSafe(nested_result), makeNullableSafe(nested_result_type), ""}, result_type); 411 | } >> 412 | catch (const Exception & e) 413 | { 414 | if (e.code() != ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT && e.code() != ErrorCodes::TYPE_MISMATCH --- uncovered block 414-416 --- 412 | catch (const Exception & e) 413 | { >> 414 | if (e.code() != ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT && e.code() != ErrorCodes::TYPE_MISMATCH >> 415 | && e.code() != ErrorCodes::CANNOT_CONVERT_TYPE && e.code() != ErrorCodes::NO_COMMON_TYPE) >> 416 | throw; 417 | 418 | throw Exception( --- uncovered block 418-418 --- 416 | throw; 417 | >> 418 | throw Exception( 419 | ErrorCodes::LOGICAL_ERROR, 420 | "Cannot convert nested result of function {} with type {} to the expected result type {}: {}", --- uncovered block 420-420 --- 418 | throw Exception( 419 | ErrorCodes::LOGICAL_ERROR, >> 420 | "Cannot convert nested result of function {} with type {} to the expected result type {}: {}", 421 | getName(), 422 | result_type->getName(), --- uncovered block 574-576 --- 572 | catch (const Exception & e) 573 | { >> 574 | if (e.code() != ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT && e.code() != ErrorCodes::TYPE_MISMATCH >> 575 | && e.code() != ErrorCodes::CANNOT_CONVERT_TYPE && e.code() != ErrorCodes::NO_COMMON_TYPE) >> 576 | throw; 577 | 578 | throw Exception( --- uncovered block 578-578 --- 576 | throw; 577 | >> 578 | throw Exception( 579 | ErrorCodes::LOGICAL_ERROR, 580 | "Cannot convert nested result of function {} with type {} to the expected result type {}: {}", --- uncovered block 580-580 --- 578 | throw Exception( 579 | ErrorCodes::LOGICAL_ERROR, >> 580 | "Cannot convert nested result of function {} with type {} to the expected result type {}: {}", 581 | getName(), 582 | variant_result_type->getName(), No lost baseline coverage found. WARNING: Failed to get start time for [Print Uncovered Code] - start time and duration won't be set --- Coverage counts --- Lines : baseline 746,301/888,385 -> current 746,274/888,406 (delta -27 / +21) Functions : baseline 803,545/883,947 -> current 803,427/883,924 (delta -118 / -23) Branches : baseline 242,085/316,398 -> current 242,045/316,454 (delta -40 / +56)