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

Bad error message about undefined variable in UPDATE statement #9600

Open
rekby opened this issue Sep 21, 2024 · 0 comments
Open

Bad error message about undefined variable in UPDATE statement #9600

rekby opened this issue Sep 21, 2024 · 0 comments

Comments

@rekby
Copy link
Member

rekby commented Sep 21, 2024

Reproduce:

Execute yql:

CREATE TABLE t(id int64, val int64, primary key(id));

UPDATE t SET val = $asd;

Error:

contrib/ydb/library/yql/sql/v1/insert.cpp:394  BuildUpdateColumns(): requirement values failed, message: Invalid values node

Expected error: Unknown name: $asd

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

1 participant