Description
DML should contain either placeholder for _key (_val) or subset of key (value) columns but not both. Also we should keep in mind _key/_value aliases
Given table with primary key column id and value column salary. Next queries should be validated to parsing error:
INSERT INTO TEST_TABLE (_key, id, salary) VALUES (1, 2, 42); UPDATE TEST_TABLE SET _val = 1, salary = 2;
Attachments
Issue Links
- is related to
-
IGNITE-4363 Inner properties mutation broken in SQL UPDATE
- Resolved
-
IGNITE-10645 SQL properties ownership flag should be set at configuration parsing, not query execution.
- Resolved
- links to