mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 11:02:08 +00:00
Better exception message in CheckingSortedBlockInputStream
This commit is contained in:
parent
941674a018
commit
5978c9720d
@ -62,8 +62,8 @@ Block CheckSortedBlockInputStream::readImpl()
|
|||||||
else if (res > 0)
|
else if (res > 0)
|
||||||
{
|
{
|
||||||
throw Exception(ErrorCodes::LOGICAL_ERROR,
|
throw Exception(ErrorCodes::LOGICAL_ERROR,
|
||||||
"Sort order of blocks violated for column {}, left: {}, right: {}.",
|
"Sort order of blocks violated for column number {}, left: {}, right: {}.",
|
||||||
backQuoteIfNeed(elem.column_name),
|
column_number,
|
||||||
applyVisitor(FieldVisitorDump(), (*left_col)[left_index]),
|
applyVisitor(FieldVisitorDump(), (*left_col)[left_index]),
|
||||||
applyVisitor(FieldVisitorDump(), (*right_col)[right_index]));
|
applyVisitor(FieldVisitorDump(), (*right_col)[right_index]));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user