Merge pull request #44034 from ClickHouse/evillique-patch-1

Fix exception message
This commit is contained in:
Alexander Gololobov 2022-12-08 23:30:09 +01:00 committed by GitHub
commit f75b203071
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -445,7 +445,7 @@ UInt8 getDataBytesSize(const IDataType * column_type)
if (max_size == 1 || max_size == 2 || max_size == 4 || max_size == 8)
return static_cast<UInt8>(max_size);
else
throw Exception(ErrorCodes::BAD_ARGUMENTS, "Codec Delta is only applicable for data types of size 1, 2, 4, 8 bytes. Given type {}",
throw Exception(ErrorCodes::BAD_ARGUMENTS, "Codec DoubleDelta is only applicable for data types of size 1, 2, 4, 8 bytes. Given type {}",
column_type->getName());
}