Fix style.

This commit is contained in:
Nikolai Kochetov 2022-12-05 21:27:54 +00:00
parent b797157437
commit f75250eaf4
2 changed files with 2 additions and 3 deletions

View File

@ -101,13 +101,12 @@ size_t MergeTreeIndexGranularity::countMarksForRows(size_t from_mark, size_t num
else
to_mark = position - marks_rows_partial_sums.begin();
/// This is a heuristic to respect min_marks_to_read which is igored by MergeTreeReadPool in case of remote disk.
/// This is a heuristic to respect min_marks_to_read which is ignored by MergeTreeReadPool in case of remote disk.
/// See comment in IMergeTreeSelectAlgorithm.
if (min_marks_to_read && from_mark + 2 * min_marks_to_read <= to_mark)
to_mark = from_mark + min_marks_to_read;
return getRowsCountInRange(from_mark, std::max(1UL, to_mark)) - offset_in_rows;
}
void MergeTreeIndexGranularity::resizeWithFixedGranularity(size_t size, size_t fixed_granularity)

View File

@ -1,4 +1,4 @@
-- Tags: no-parallel, no-random-settings, no-fasttest, no-tsan, no-asan, no-msan
-- Tags: no-random-settings, no-fasttest, no-tsan, no-asan, no-msan
set allow_suspicious_fixed_string_types=1;
create table fat_granularity (x UInt32, fat FixedString(160000)) engine = MergeTree order by x settings storage_policy = 's3_cache';