**Describe the bug**
https://github.com/ClickHouse/ClickHouse/pull/18899#issuecomment-757571194

const String & name, WrittenOffsetColumns & offset_columns) const
{
    return [&, this] (const IDataType::SubstreamPath & substream_path) -> WriteBuffer *
    {
        bool is_offsets = !substream_path.empty() && substream_path.back().type == IDataType::Substream::ArraySizes;
        String stream_name = IDataType::getFileNameForStream(name, substream_path);
        
        if (is_offsets && offset_columns.count(stream_name))
            return nullptr;
        return &column_streams.at(stream_name)->compressed;
    };
}
void MergeTreeDataPartWriterWide::shiftCurrentMark(const Granules & granules_written)