From 16b33c204c5b660c70cd675e9c655dff04d1734a Mon Sep 17 00:00:00 2001 From: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com> Date: Thu, 8 Dec 2022 10:49:25 +0100 Subject: [PATCH] Fix exception message --- src/Compression/CompressionCodecDoubleDelta.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Compression/CompressionCodecDoubleDelta.cpp b/src/Compression/CompressionCodecDoubleDelta.cpp index c1278cb88de..dd2507ab14a 100644 --- a/src/Compression/CompressionCodecDoubleDelta.cpp +++ b/src/Compression/CompressionCodecDoubleDelta.cpp @@ -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(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()); }