Try fix collapsing.

This commit is contained in:
Nikolai Kochetov 2020-04-06 16:50:51 +03:00
parent d3acce8afa
commit 8726ad9e3b

View File

@ -219,6 +219,8 @@ void CollapsingSortedTransform::merge()
throw Exception("Incorrect data: Sign = " + toString(sign) + " (must be 1 or -1).", throw Exception("Incorrect data: Sign = " + toString(sign) + " (must be 1 or -1).",
ErrorCodes::INCORRECT_DATA); ErrorCodes::INCORRECT_DATA);
++current_pos;
if (!current->isLast()) if (!current->isLast())
{ {
queue.next(); queue.next();