Skip to content

do_not_merge_across_partitions in ReplacingMergeTree with is_deleted  #69164

@filimonov

Description

@filimonov

when table uses ReplacingMergeTree with is_deleted, it disables do_not_merge_across_partitions optimization (because replacing logic is necessary to check if the row was not deleted).

But actually if the partition consist of one sing part, then insead of applying Replacing logic and inorder reading we can do PREWHERE is_deleted=0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions