mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Fix style.
This commit is contained in:
parent
b797157437
commit
f75250eaf4
@ -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)
|
||||
|
@ -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';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user