[ https://issues.apache.org/jira/browse/IGNITE-20600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maksim Zhuravkov updated IGNITE-20600: -------------------------------------- Description: {code:java} sql("CREATE TABLE my (id INT PRIMARY KEY, val INT)"); sql("UPDATE my SET id = 1"); // Err: Cannot update field "ID". You cannot update key, key fields or val field in case the val is a complex type {code} Update error message so it indicates that primary key columns are modifiable. was: Current the error message is `Cannot update field "ID". You cannot update key, key fields or val field in case the val is a complex type` is not correcnt, as it is not the reason why this operation was rejected. Update error message so it indicates that primary key columns are modifiable. > Sql. Updating primary key column produces an incorrect error message. > --------------------------------------------------------------------- > > Key: IGNITE-20600 > URL: https://issues.apache.org/jira/browse/IGNITE-20600 > Project: Ignite > Issue Type: Improvement > Components: sql > Reporter: Maksim Zhuravkov > Priority: Minor > Labels: ignite-3 > Fix For: 3.0.0-beta2 > > > {code:java} > sql("CREATE TABLE my (id INT PRIMARY KEY, val INT)"); > sql("UPDATE my SET id = 1"); > // Err: Cannot update field "ID". You cannot update key, key fields or val > field in case the val is a complex type > {code} > Update error message so it indicates that primary key columns are modifiable. -- This message was sent by Atlassian Jira (v8.20.10#820010)