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

Do you plan to implement DELETE and UPDATE statements? #65

Closed
sdrenn opened this issue Sep 19, 2019 · 4 comments
Closed

Do you plan to implement DELETE and UPDATE statements? #65

sdrenn opened this issue Sep 19, 2019 · 4 comments

Comments

@sdrenn
Copy link

sdrenn commented Sep 19, 2019

Sorry, if it's not the right place to ask, I just don't know, where is.

@xzkostyan
Copy link
Owner

Hi.

It totally OK to ask here. Currently I don't have enough time for this project. But I'll try to add basic delete/updates in a couple of months. It's not so difficult.

If you'd like to make PR with this features it will be awesome. :)

@sdrenn
Copy link
Author

sdrenn commented Sep 19, 2019

Thanks for fast answer!

Right after I asked, I found, that Clickhouse do not support atomics for update and delete. Wouldn't that be a problem? I mean, somebody would make a try-except with rollback, as he always did for other databases, and one not-so-bright day he'd realise, that it's not working that way.

@xzkostyan
Copy link
Owner

Well it can be a problem with atomicity.

There is no transactions in ClickHouse right now. So can't do rollback. "Transactions" support is product roadmap but I don't know how they will work.

This was linked to pull requests Mar 4, 2020
@xzkostyan
Copy link
Owner

This features awaliable in latest master.

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