mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Fix style in src code (bracket)
This commit is contained in:
parent
7166df0776
commit
e29ee5b96d
@ -792,7 +792,8 @@ void MutationsInterpreter::prepare(bool dry_run)
|
|||||||
|
|
||||||
// Can't materialize a column in the sort key
|
// Can't materialize a column in the sort key
|
||||||
Names sort_columns = metadata_snapshot->getSortingKeyColumns();
|
Names sort_columns = metadata_snapshot->getSortingKeyColumns();
|
||||||
if (std::find(sort_columns.begin(), sort_columns.end(), command.column_name) != sort_columns.end()) {
|
if (std::find(sort_columns.begin(), sort_columns.end(), command.column_name) != sort_columns.end())
|
||||||
|
{
|
||||||
throw Exception(ErrorCodes::CANNOT_UPDATE_COLUMN, "Failed to materialize column {} because it's in the sort key. Doing so would break sort order", command.column_name);
|
throw Exception(ErrorCodes::CANNOT_UPDATE_COLUMN, "Failed to materialize column {} because it's in the sort key. Doing so would break sort order", command.column_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user