From 393a9195caac261f2a74da712a12a1eb74b182e5 Mon Sep 17 00:00:00 2001 From: alesapin Date: Sat, 25 Jul 2020 17:45:46 +0300 Subject: [PATCH] Better exception message --- src/Storages/MergeTree/MergeTreeDataPartWide.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Storages/MergeTree/MergeTreeDataPartWide.cpp b/src/Storages/MergeTree/MergeTreeDataPartWide.cpp index fb6784434a8..b9454fcf818 100644 --- a/src/Storages/MergeTree/MergeTreeDataPartWide.cpp +++ b/src/Storages/MergeTree/MergeTreeDataPartWide.cpp @@ -246,7 +246,8 @@ void MergeTreeDataPartWide::calculateEachColumnSizes(ColumnSizeByName & each_col { throw Exception( ErrorCodes::LOGICAL_ERROR, - "Column {} has rows count {} according to size in memory and size of single value, but data part {} has {} rows", backQuote(column.name), rows_in_column, name, rows_count); + "Column {} has rows count {} according to size in memory " + "and size of single value, but data part {} has {} rows", backQuote(column.name), rows_in_column, name, rows_count); } } }