diff --git a/src/Storages/ProjectionsDescription.cpp b/src/Storages/ProjectionsDescription.cpp index 065dcb3de30..89a7acf8a72 100644 --- a/src/Storages/ProjectionsDescription.cpp +++ b/src/Storages/ProjectionsDescription.cpp @@ -301,7 +301,7 @@ Block ProjectionDescription::calculate(const Block & block, ContextPtr context) query_ast_copy = query_ast->clone(); auto * select_row_exists = query_ast_copy->as(); if (!select_row_exists) - throw Exception(ErrorCodes::LOGICAL_ERROR, "Cannot get ASTSelectQuery whening adding _row_exists = 1. It's a bug"); + throw Exception(ErrorCodes::LOGICAL_ERROR, "Cannot get ASTSelectQuery when adding _row_exists = 1. It's a bug"); select_row_exists->setExpression( ASTSelectQuery::Expression::WHERE,