allow ALTER DELETE in distributed DDL [#CLICKHOUSE-3688]

This commit is contained in:
Alexey Zatelepin 2018-06-05 16:23:52 +03:00
parent 39e69b421a
commit 2fde0acb36

View File

@ -211,7 +211,8 @@ static bool isSupportedAlterType(int type)
ASTAlterQuery::DROP_COLUMN,
ASTAlterQuery::MODIFY_COLUMN,
ASTAlterQuery::MODIFY_PRIMARY_KEY,
ASTAlterQuery::DROP_PARTITION
ASTAlterQuery::DROP_PARTITION,
ASTAlterQuery::DELETE,
};
return supported_alter_types.count(type) != 0;