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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Anton Vinogradov (Jira)
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)