-
Couldn't load subscription status.
- Fork 613
Closed
Description
Mutation executes asynchronously in ClickHouse. And unlike other databases following SQL standard, it uses DDL instead of DML. As a result, this may break assumption in certain tools and generate overhead in downstream applications.
In order to follow standards, I hope we can:
- introduce a new connection setting
mutationsSync(same as mutations_sync in ClickHouse) defaults to 1, meaning synchronous mutation - <no longer needed as it's going to be implemented on server-side>
take classic update/delete and transform them intoALTER TABLE...for mutation in ClickHouse
So if you giveUPDATE tbl SET col1=1, col2=2 WHERE col3=3, it will be translated intoALTER TABLE tbl UPDATE col1=1, col2=2 WHERE col3=3.