v.22.10Improvement
Improve Feedback for Partition Replacement with Different Primary Key
Improve feedback when replacing partition with different primary key. Fixes #34798. #41838 (Salvatore).
Why it matters
This feature addresses the issue where users receive insufficient or unclear feedback when trying to replace a partition that has a different primary key than the existing one. By providing clearer and more informative error messages, it helps users understand the cause of the problem and prevents accidental data inconsistencies.How to use it
No explicit user action is needed to enable this improvement. When running aREPLACE PARTITION operation, ClickHouse now provides enhanced feedback if the partition's primary key differs from the original, helping you diagnose and resolve the issue more easily.