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

Unclear error "DELETE query is not supported" LWD + projection #50891

Open
den-crane opened this issue Jun 12, 2023 · 1 comment
Open

Unclear error "DELETE query is not supported" LWD + projection #50891

den-crane opened this issue Jun 12, 2023 · 1 comment

Comments

@den-crane
Copy link
Contributor

den-crane commented Jun 12, 2023

CREATE TABLE users (uid Int16, name String, age Int16, projection p1 (select count(), age group by age))
ENGINE=MergeTree order by uid;

INSERT INTO users VALUES (1231, 'John', 33);
INSERT INTO users VALUES (6666, 'Ksenia', 48);
INSERT INTO users VALUES (8888, 'Alice', 50);

delete from users where 1;

 DB::Exception: DELETE query is not supported for table default.users. (BAD_ARGUMENTS)

https://fiddle.clickhouse.com/37c7eadc-9aee-470c-a00c-721fb5648841

@jensenity
Copy link

Getting the same error here too once I added projection into my MergeTree table.

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

No branches or pull requests

2 participants