Update Internals.cpp

This commit is contained in:
alexey-milovidov 2020-09-17 17:19:10 +03:00 committed by GitHub
parent 88738cd610
commit e101c912aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -208,7 +208,7 @@ Names extractPrimaryKeyColumnNames(const ASTPtr & storage_ast)
if (!primary_key_columns_set.emplace(pk_column).second)
throw Exception("Primary key contains duplicate columns", ErrorCodes::BAD_ARGUMENTS);
primary_key_columns.push_back("`" + pk_column + "`");
primary_key_columns.push_back(backQuote(pk_column));
}
}