You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Denis Magda (JIRA)" <ji...@apache.org> on 2016/02/09 10:04:18 UTC

[jira] [Created] (IGNITE-2598) Enum arguments in SQL queries are not considered with BinaryMarshaller

Denis Magda created IGNITE-2598:
-----------------------------------

             Summary: Enum arguments in SQL queries are not considered with BinaryMarshaller
                 Key: IGNITE-2598
                 URL: https://issues.apache.org/jira/browse/IGNITE-2598
             Project: Ignite
          Issue Type: Bug
          Components: general
    Affects Versions: 1.5.0.final
            Reporter: Denis Magda
            Assignee: Vladimir Ozerov
             Fix For: 1.6


Queries like the one below doesn't work with {{Enum}} returning a wrong result when binary marshaller is used.

{noformat}
SqlQuery<Long, Event> query = new SqlQuery<Long, Event>(Event.class, "type = ?");
query.setArgs(EventType.EventA);
{noformat}

The same query works perfectly fine if optimized marshaller is enabled instead.

Attached the test that reproduces the issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)