This commit is contained in:
Alexey Milovidov 2020-07-21 20:48:39 +03:00
parent b26de8d2d1
commit e3594b89ea

View File

@ -465,7 +465,7 @@ ASTPtr MutationsInterpreter::prepare(bool dry_run)
throw Exception("Unknown mutation command type: " + DB::toString<int>(command.type), ErrorCodes::UNKNOWN_MUTATION_COMMAND); throw Exception("Unknown mutation command type: " + DB::toString<int>(command.type), ErrorCodes::UNKNOWN_MUTATION_COMMAND);
} }
/// We cares about affected indices because we also need to rewrite them /// We care about affected indices because we also need to rewrite them
/// when one of index columns updated or filtered with delete. /// when one of index columns updated or filtered with delete.
/// The same about colums, that are needed for calculation of TTL expressions. /// The same about colums, that are needed for calculation of TTL expressions.
if (!dependencies.empty()) if (!dependencies.empty())