updated MergeTreePrewhereRangeReader; renamed MergeTreePrewhereRangeReader to MergeTreeRangeReader

This commit is contained in:
Nikolai Kochetov 2018-02-20 16:59:19 +03:00
parent 2bf1931d86
commit 36fe36d003

View File

@ -142,6 +142,10 @@ Block MergeTreeBaseBlockInputStream::readFromPart()
auto read_result = task->range_reader.read(rows_to_read, task->mark_ranges);
/// All rows were filtered. Repeat.
if (read_result.block.rows() == 0)
read_result.block.clear();
progressImpl({ read_result.block.rows(), read_result.block.bytes() });
if (task->size_predictor)