mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-30 05:30:51 +00:00
Comment
This commit is contained in:
parent
a027b33195
commit
450f9a5175
@ -3608,6 +3608,9 @@ MergeTreeData::AlterConversions MergeTreeData::getAlterConversionsForPart(const
|
||||
|
||||
AlterConversions result{};
|
||||
for (const auto & command : commands)
|
||||
/// Currently we need explicit conversions only for RENAME alter
|
||||
/// all other conversions can be deduced from diff between part columns
|
||||
/// and columns in storage.
|
||||
if (command.type == MutationCommand::Type::RENAME_COLUMN)
|
||||
result.rename_map[command.rename_to] = command.column_name;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user