mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Merge
This commit is contained in:
parent
e54ee51124
commit
482bc803fd
@ -63,10 +63,9 @@ public:
|
||||
const ColumnWithNameAndType & column = block.getByName(it->first);
|
||||
writeData(column.name, *column.type, *column.column, offset_columns);
|
||||
}
|
||||
|
||||
index_offset = rows % storage.index_granularity
|
||||
? (storage.index_granularity - rows % storage.index_granularity)
|
||||
: 0;
|
||||
|
||||
size_t written_for_last_mark = (storage.index_granularity - index_offset + rows) % storage.index_granularity;
|
||||
index_offset = (storage.index_granularity - written_for_last_mark) % storage.index_granularity;
|
||||
}
|
||||
|
||||
void writeSuffix()
|
||||
|
Loading…
Reference in New Issue
Block a user