You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (JIRA)" <ji...@apache.org> on 2016/12/12 12:51:58 UTC

[jira] [Updated] (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:all-tabpanel ]

Pavel Tupitsyn updated IGNITE-4413:
-----------------------------------
    Description: 
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}

  was:
DateTime arguments are serialized incorrectly when using SqlQuery.
This is not the case with SqlFieldsQuery and LINQ. See CacheImpl.WriteQueryArgs and QueryBase.WriteQueryArgs.


> .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)