updated MergeTreePrewhereRangeReader; renamed MergeTreePrewhereRangeReader to MergeTreeRangeReader

This commit is contained in:
Nikolai Kochetov 2018-02-20 14:54:32 +03:00
parent af6895ee6f
commit 58b6b7570f

View File

@ -120,7 +120,7 @@ public:
void addGranule(size_t num_rows); void addGranule(size_t num_rows);
void adjustLastGranule(size_t num_rows_to_subtract); void adjustLastGranule(size_t num_rows_to_subtract);
void addRows(size_t rows) { num_added_rows += rows; } void addRows(size_t rows) { num_added_rows += rows; }
void addRange(const MarkRange & range) { started_ranges.emplace_back({ rows_per_granule.size(), range }); } void addRange(const MarkRange & range) { started_ranges.push_back({rows_per_granule.size(), range}); }
/// Set filter or replace old one. Filter must have more zeroes than previous. /// Set filter or replace old one. Filter must have more zeroes than previous.
void setFilter(ColumnPtr filter_); void setFilter(ColumnPtr filter_);