Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DELETE statement is not supported. #34

Open
YarRainbow opened this issue Dec 25, 2023 · 1 comment
Open

DELETE statement is not supported. #34

YarRainbow opened this issue Dec 25, 2023 · 1 comment

Comments

@YarRainbow
Copy link

YarRainbow commented Dec 25, 2023

There must be something I don't understand. But the only way to delete something from the database through this client is to use query method. In this case ClickHouseClient.query necessarily adds FORMAT statement, which is not compatible with DELETE statement and causes a syntax error.

Is this the way it is intended? What is the reason?

PS So far I had to patch the package. I could think about PR for this issues, but I'm not sure I understand the area enough.

@YarRainbow
Copy link
Author

I have been practically realized that deleting from the Clickhouse database in my case is a very bad idea :)
Meanwhile, I don't rule out that there may be scenarios where deletion is required, so I'm not sure it's worth closing an issue without waiting for a comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant