mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Fix illiterate error message #23700
This commit is contained in:
parent
b66f9af7ce
commit
2cf9da72ff
@ -762,8 +762,8 @@ static StoragePtr create(const StorageFactory::Arguments & args)
|
|||||||
{
|
{
|
||||||
for (size_t i = 0; i < data_types.size(); ++i)
|
for (size_t i = 0; i < data_types.size(); ++i)
|
||||||
if (isFloat(data_types[i]))
|
if (isFloat(data_types[i]))
|
||||||
throw Exception(
|
throw Exception(ErrorCodes::BAD_ARGUMENTS,
|
||||||
"Donot support float point as partition key: " + metadata.partition_key.column_names[i], ErrorCodes::BAD_ARGUMENTS);
|
"Floating point partition key is not supported: {}", metadata.partition_key.column_names[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (arg_num != arg_cnt)
|
if (arg_num != arg_cnt)
|
||||||
|
Loading…
Reference in New Issue
Block a user