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

bug: subquery data type in delete/update statement should be boolean #15281

Open
1 of 2 tasks
andylokandy opened this issue Apr 20, 2024 · 0 comments · May be fixed by #15526
Open
1 of 2 tasks

bug: subquery data type in delete/update statement should be boolean #15281

andylokandy opened this issue Apr 20, 2024 · 0 comments · May be fixed by #15526
Assignees
Labels
C-bug Category: something isn't working

Comments

@andylokandy
Copy link
Collaborator

andylokandy commented Apr 20, 2024

Search before asking

  • I had searched in the issues and found no similar issues.

Version

main

What's Wrong?

> create table t2 (a int);
> delete from t2 where 0 < to_int64((select avg(a) from t2));

error: APIError: ResponseError with 1001: subquery data type in delete/update statement should be boolean

How to Reproduce?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants