You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2016/03/25 13:56:25 UTC

[jira] [Updated] (IGNITE-2635) CPP: Date type returned by SQL queries as Timestamp

     [ https://issues.apache.org/jira/browse/IGNITE-2635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Ozerov updated IGNITE-2635:
------------------------------------
    Summary: CPP: Date type returned by SQL queries as Timestamp  (was: CPP: Date type returned by SQL quaries as Timestamp)

> CPP: Date type returned by SQL queries as Timestamp
> ---------------------------------------------------
>
>                 Key: IGNITE-2635
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2635
>             Project: Ignite
>          Issue Type: Bug
>          Components: platforms
>    Affects Versions: 1.5.0.final
>            Reporter: Igor Sapego
>            Assignee: Igor Sapego
>            Priority: Critical
>             Fix For: 1.6
>
>
> When {{SqlFieldsQuery}} is performed upon {{Date}} type fields, result set instead returned with the {{Timestamp}} values. It seems that {{java.util.Data}} type used by {{BinaryMarshaller}} is treated as {{TIMESTAMP}} in h2 engine.
> Proposed solution is to implicitly convert {{Timestamp}} type values to {{Date}} values, when C++ client user tries too read {{Date}} value from the stream.



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