diff --git a/dbms/src/Formats/ConstantExpressionTemplate.cpp b/dbms/src/Formats/ConstantExpressionTemplate.cpp index d18e1e2fd8f..780aa016fe4 100644 --- a/dbms/src/Formats/ConstantExpressionTemplate.cpp +++ b/dbms/src/Formats/ConstantExpressionTemplate.cpp @@ -140,6 +140,7 @@ ConstantExpressionTemplate::replaceLiteralsWithDummyIdentifiers(TokenIterator & else if (t.type == TokenType::StringLiteral) { type = std::make_shared(); + ++begin; } else if (t.type == TokenType::OpeningSquareBracket) {