v.22.1Experimental Feature

Fix projection removal issue during part detachment

Fix unexpected projection removal when detaching parts. #32067 (Amos Bird).
Fixes an issue where projections were unexpectedly removed when detaching parts in ClickHouse.

Why it matters

This fix addresses a problem that caused projections to be unintentionally removed during the detachment of data parts, preventing potential data inconsistencies and ensuring projections are preserved correctly.

How to use it

Users benefit from this fix automatically by upgrading to the ClickHouse version that includes this patch. No additional configuration or actions are required to enable the fix.