mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-29 21:20:49 +00:00
Fix style, fix typo and remove extra code
This commit is contained in:
parent
fff2f7b2be
commit
4cfabd2675
@ -63,9 +63,8 @@ void registerCodecDensity(CompressionCodecFactory & factory)
|
||||
if (arguments && !arguments->children.empty())
|
||||
{
|
||||
if (arguments->children.size() != 1)
|
||||
throw Exception(
|
||||
"Density codec must have only one parameter, given " + std::to_string(arguments->children.size()),
|
||||
ErrorCodes::ILLEGAL_SYNTAX_FOR_CODEC_TYPE);
|
||||
throw Exception(ErrorCodes::ILLEGAL_SYNTAX_FOR_CODEC_TYPE,
|
||||
"Density codec must have only one parameter, given {}", arguments->children.size());
|
||||
|
||||
const auto children = arguments->children;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user