fix for linter

This commit is contained in:
Timur Solodovnikov 2023-05-01 09:40:56 -07:00
parent e49842ff6c
commit fc5b0783fd

View File

@ -1093,7 +1093,7 @@ void AlterCommands::validate(const StoragePtr & table, ContextPtr context) const
{
for (const auto & [name, _] : all_columns.getAliases())
{
if(name == column_name)
if (name == column_name)
throw Exception(ErrorCodes::BAD_ARGUMENTS, "Cannot specify codec for column type ALIAS");
}
CompressionCodecFactory::instance().validateCodecAndGetPreprocessedAST(command.codec, command.data_type, !context->getSettingsRef().allow_suspicious_codecs, context->getSettingsRef().allow_experimental_codecs);