提交 91c9906c 编写于 作者: N Nikolai Kochetov

Fixed reading from ReplacingMergeTree from emprty row set after prewhere. #2525

上级 a21a9577
......@@ -109,7 +109,8 @@ void ReplacingSortedBlockInputStream::merge(MutableColumns & merged_columns, std
}
/// We will write the data for the last primary key.
insertRow(merged_columns, merged_rows);
if (!selected_row.empty())
insertRow(merged_columns, merged_rows);
finished = true;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册