You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2017/08/16 14:16:00 UTC

[jira] [Created] (IGNITE-6087) SQL: Ability to pass one column to multiple object fields

Vladimir Ozerov created IGNITE-6087:
---------------------------------------

             Summary: SQL: Ability to pass one column to multiple object fields
                 Key: IGNITE-6087
                 URL: https://issues.apache.org/jira/browse/IGNITE-6087
             Project: Ignite
          Issue Type: Task
          Components: sql
    Affects Versions: 2.1
            Reporter: Vladimir Ozerov
            Assignee: Alexander Paschenko
             Fix For: 2.2


Consider the following case:
{code}
class PersonKey {
    long id;
}

class Person {
    long id;
    String name;
}
{code}This is frequent and convenient pattern as it allows to derive a key from a value. 

We do not support it in DML at the moment, as column can be mapped only to a single object fields. Let's fix it, introducing some new option to {{QueryEntity}}.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)