mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 05:22:17 +00:00
updated MergeTreePrewhereRangeReader; renamed MergeTreePrewhereRangeReader to MergeTreeRangeReader
This commit is contained in:
parent
2bf1931d86
commit
36fe36d003
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user