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 2016/04/28 09:48:13 UTC
[jira] [Updated] (IGNITE-1543) SqlQuery returns empty result set
when custome PortableIdMapper
[ https://issues.apache.org/jira/browse/IGNITE-1543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Ozerov updated IGNITE-1543:
------------------------------------
Fix Version/s: (was: 1.6)
1.7
> SqlQuery returns empty result set when custome PortableIdMapper
> ---------------------------------------------------------------
>
> Key: IGNITE-1543
> URL: https://issues.apache.org/jira/browse/IGNITE-1543
> Project: Ignite
> Issue Type: Bug
> Components: general
> Affects Versions: ignite-1.4
> Reporter: Denis Magda
> Assignee: Vladimir Ozerov
> Priority: Minor
> Fix For: 1.7
>
> Attachments: ClientTest.java
>
>
> Set custom {{PortableIdMapper}} for a type. Let this mapper to return some predefined id for this type (like 12345).
> Then execute SQL to get all the entries of this type. The query will return an empty result set.
> Seems that at some point of execution SQL engine or some other part of the platform uses default type to id mapping ignoring given {{PotableIdMapper}}.
> To reproduce:
> - Start a server node with portable marshaller enabled;
> - run the code attached (ClientTest.java).
> Add a test to our test suites.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)