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/05/05 14:03:13 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15272416#comment-15272416 ] 

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

Github user asfgit closed the pull request at:

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


> 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: Vladimir Ozerov
>            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)