93.29% (139/149) Uncovered changed code (with context): ================================================================================ src/Storages/ProjectionsDescription.cpp ================================================================================ --- uncovered block 83-83 --- 81 | bool ProjectionDescription::isPrimaryKeyColumnPossiblyWrappedInFunctions(const ASTPtr & node) const 82 | { >> 83 | const String column_name = node->getColumnName(); 84 | 85 | for (const auto & key_name : metadata->getPrimaryKeyColumns()) --- uncovered block 645-652 --- 643 | if (block.rows() > index->getMaxRows()) 644 | { >> 645 | throw Exception( >> 646 | ErrorCodes::SUPPORT_IS_DISABLED, >> 647 | "Cannot calculate projection index with {} rows, which exceeds the limit ({}) " >> 648 | "for projection index '{}' (Type: {}).", >> 649 | block.rows(), >> 650 | index->getMaxRows(), >> 651 | name, >> 652 | index->getName()); 653 | } 654 | return index->calculate(*this, block, starting_offset, context, perm_ptr); ================================================================================ src/Storages/ProjectionsDescription.h ================================================================================ --- uncovered block 129-129 --- 127 | 128 | bool operator==(const ProjectionDescription & other) const; >> 129 | bool operator!=(const ProjectionDescription & other) const { return !(*this == other); } 130 | 131 | bool isPrimaryKeyColumnPossiblyWrappedInFunctions(const ASTPtr & node) const; === Lost Baseline Coverage: 5 lines === ================================================================================ src/Storages/MergeTree/MergeTreeData.cpp ================================================================================ --- lost coverage block 3213-3213 --- 3211 | { 3212 | if (disk->isBroken()) >> 3213 | continue; 3214 | 3215 | if (!disk->existsDirectory(root_path)) --- lost coverage block 9061-9061 --- 9059 | else if (block.has(name)) 9060 | res.insert(block.getByName(name)); >> 9061 | else if (startsWith(name, "count")) // special case to match count(...) variants 9062 | { 9063 | const auto & column = block.getByName("count()"); --- lost coverage block 9067-9067 --- 9065 | } 9066 | else >> 9067 | throw Exception( 9068 | ErrorCodes::LOGICAL_ERROR, 9069 | "Cannot find column {} in minmax_count projection but query analysis still selects this projection. It's a bug", --- lost coverage block 9069-9070 --- 9067 | throw Exception( 9068 | ErrorCodes::LOGICAL_ERROR, >> 9069 | "Cannot find column {} in minmax_count projection but query analysis still selects this projection. It's a bug", >> 9070 | name); 9071 | } 9072 | WARNING: Failed to get start time for [Print Uncovered Code] - start time and duration won't be set --- Coverage counts --- Lines : baseline 768,064/913,537 -> current 768,045/913,570 (delta -19 / +33) Functions : baseline 884,416/967,800 -> current 884,476/967,809 (delta +60 / +9) Branches : baseline 250,691/327,542 -> current 250,575/327,526 (delta -116 / -16)