ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-2598) Enum arguments in SQL queries are not considered with BinaryMarshaller
Date Wed, 13 Jul 2016 06:47:20 GMT

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

ASF GitHub Bot commented on IGNITE-2598:
----------------------------------------

GitHub user dkarachentsev opened a pull request:

    https://github.com/apache/ignite/pull/868

    IGNITE-2598 - Enum arguments in SQL queries are not considered with B…

    …inaryMarshaller.
    
    - Query arguments are converted to binary objects now if binary marshaller used.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gridgain/apache-ignite ignite-2208

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/868.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #868
    
----
commit 02bcb2de7885df0ca6698e675aaf0e7d874664a6
Author: dkarachentsev <dkarachentsev@gridgain.com>
Date:   2016-07-12T15:58:31Z

    IGNITE-2598 - Enum arguments in SQL queries are not considered with BinaryMarshaller.
    
    - Query arguments are converted to binary objects now if binary marshaller used.

----


> 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
>              Labels: important
>             Fix For: 1.6
>
>         Attachments: ExampleNodeStartup.java
>
>
> 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)

Mime
View raw message