You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/12/12 14:06:00 UTC

[jira] [Commented] (IGNITE-4413) .NET: SqlQuery with DateTime arguments does not work

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

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

GitHub user ptupitsyn opened a pull request:

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

    IGNITE-4413 .NET: Fix DateTime argument handling in SqlQuery

    

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

    $ git pull https://github.com/ptupitsyn/ignite ignite-4413

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

    https://github.com/apache/ignite/pull/1341.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 #1341
    
----
commit e71b900b052f99425940437018a5bf3e2c1aa1f7
Author: Pavel Tupitsyn <pt...@apache.org>
Date:   2016-12-12T13:23:54Z

    IGNITE-4413 .NET: SqlQuery with DateTime arguments does not work

commit 0979a57dbab1db630d4870faab8be78ea230f853
Author: Pavel Tupitsyn <pt...@apache.org>
Date:   2016-12-12T13:28:25Z

    wip

commit bb75df3f2bf714d71824dae6908ff8181829e4b0
Author: Pavel Tupitsyn <pt...@apache.org>
Date:   2016-12-12T13:39:33Z

    revert

commit a154406b8de2b4b4aaae19ba7581145c330e190b
Author: Pavel Tupitsyn <pt...@apache.org>
Date:   2016-12-12T13:42:54Z

    wip

commit 5f240fe60e59ead1bdde5c0cfbe9fe5dc23b6f8a
Author: Pavel Tupitsyn <pt...@apache.org>
Date:   2016-12-12T13:50:33Z

    wip tests

commit 9700a492137e9df570c0dc4397ab7f0bb4872386
Author: Pavel Tupitsyn <pt...@apache.org>
Date:   2016-12-12T14:02:53Z

    Fix DateTime args serialization

commit 65f1c0dd9d85f67805b0458e6771ce5f35d0228a
Author: Pavel Tupitsyn <pt...@apache.org>
Date:   2016-12-12T14:04:43Z

    Fix test

----


> .NET: SqlQuery with DateTime arguments does not work
> ----------------------------------------------------
>
>                 Key: IGNITE-4413
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4413
>             Project: Ignite
>          Issue Type: Bug
>          Components: platforms
>    Affects Versions: 1.6, 1.7, 1.8
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>              Labels: .NET
>             Fix For: 2.0
>
>
> DateTime arguments are serialized incorrectly when using SqlQuery.
> This is not the case with SqlFieldsQuery and LINQ. See CacheImpl.WriteQueryArgs and QueryBase.WriteQueryArgs.
> To reproduce:
> {code}
> new SqlQuery("where datefrom <= ?", DateTime.UtcNow)
> {code}



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