• N
    Add unique identifiers IMergeTreeDataPart structure · 425dc4b1
    Nicolae Vartolomei 提交于
    For now uuids are not generated at all, they are present only if the
    part is updated manually (as you can see in the integration test).
    
    The only place where they can be seen today by an end user is in
    `system.parts` table. I was looking for hiding this column behind an
    option but couldn't find an easy way to do that.
    
    Likely this is also required for WAL, but need to think how not to break
    compatibility.
    
    Relates to #13574, https://github.com/ClickHouse/ClickHouse/issues/13574
    
    Next 1: In the upcoming PR the plan is to integrate de-duplication based on
    these fingerprints in the query pipeline.
    
    Next 2: We'll enable automatic generation of uuids and come up with a
    way for conditionally sending uuids when processing distributed queries
    only when part movement is in progress.
    425dc4b1
DataPartsExchange.h 2.9 KB