I would like to delete a subset of the data contained in a clickhouse database rather than truncating the entire database. I am aware of the syntax relying on mutations described in this SO answer or in this SO comment.
For instance to delete the data associated with myid 42 from table mytable:
ALTER TABLE mytable DELETE WHERE myid = 42
This works as expected on a database hosted on a Linux VM (Ubuntu 18.04.5) under Clickhouse 20.11.2.1.
However, this command does not delete the data from a database hosted on a different Linux VM hosted on Azure (also Ubuntu 18.04.5) under Clickhouse 21.2.5.5.
Regardless of whether deletion is successfull or not, clickhouse does not return any error message, simply the Query id followed by Ok.
What could cause this issue? How can it be fixed?