ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Magda (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-1543) SqlQuery returns empty result set when custom PortableIdMapper
Date Thu, 19 Jan 2017 17:01:26 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-1543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15830251#comment-15830251

Denis Magda commented on IGNITE-1543:

[~skalashnikov], there is no need to ask me if the ticket may be closed. If you see that the
issue no longer exists then leave a message here and close the ticket.

> SqlQuery returns empty result set when custom PortableIdMapper
> --------------------------------------------------------------
>                 Key: IGNITE-1543
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1543
>             Project: Ignite
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: ignite-1.4
>            Reporter: Denis Magda
>            Priority: Minor
>             Fix For: 1.9
>         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

View raw message