Open joelind opened 5 months ago
Thanks for your feedback!
create table foo as (select 'abc' as "version");
update foo set "version" = 'def' where "version" = 'abc';
The bug is because our sql tokenizer handles 'version' as a reserved word instead of an identifier.
A quick workaround is to use ""
wrapping up the name to prevent ambiguity.
However, this indeed causes some inconvenience and we'll need to fix this ultimately.
Describe the bug
When issuing a pretty simple update against a table, we get a syntax error, but it should work.
Error message/log
To Reproduce
Expected behavior
I'd expect the correct row in the table to be updated
How did you deploy RisingWave?
Docker compose (locally)
The version of RisingWave
Additional context
No response