Pavel Konstantinov created IGNITE-6771:
------------------------------------------
Summary: Insert query failed if kye field is present in value fields
Key: IGNITE-6771
URL:
https://issues.apache.org/jira/browse/IGNITE-6771 Project: Ignite
Issue Type: Bug
Security Level: Public (Viewable by anyone)
Components: sql
Affects Versions: 2.2
Reporter: Pavel Konstantinov
Priority: Minor
Fix For: 2.3
I'm imported model from DB where a table hasn't a primary key.
Then using web console I added key field manually (the first field in the table).
Note:
{code}
<property name="writeThrough" value="true"/>
{code}
Then I generated the project and started one server node.
I'm opened query in web console and tried to execute insert query
and got an error
{code}
...duplicate field
{code}
The issue disappeared only after I removed the same field from value fields.
I guess it is possible to handle that automatically in POJO logic.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)