Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### TL;DR Updated the DELETE query syntax in ClickHouse to use lightweight DELETE FROM instead of ALTER TABLE DELETE. ### What changed? Modified the query string in the `deleteBatch` function to use `DELETE FROM` syntax instead of `ALTER TABLE DELETE` when removing data from ClickHouse tables. ### How to test? 1. Execute delete operations on ClickHouse tables 2. Verify that records are successfully deleted 3. Check that the operation completes without any syntax errors ### Why make this change? The `ALTER TABLE DELETE` syntax is deprecated in newer versions of ClickHouse. Using `DELETE FROM` is the standard and recommended approach for delete operations, ensuring better compatibility and maintainability.
- Loading branch information