v.18.14Improvement
ON CLUSTER in ALTER UPDATE Queries
ON CLUSTERcan be specified forALTER UPDATEqueries.
Why it matters
This feature allows users to applyALTER UPDATE statements across all replicas in a cluster simultaneously. It simplifies cluster-wide data updates by enabling atomic execution on multiple nodes, ensuring data consistency and reducing manual coordination.How to use it
Add theON CLUSTER <cluster_name> clause to your ALTER UPDATE queries to execute the update across the specified cluster. For example:ALTER TABLE table_name ON CLUSTER cluster_name UPDATE column = value WHERE condition;