ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Sapego (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-2635) CPP: Date type returned by SQL quaries as Timestamp
Date Fri, 12 Feb 2016 10:38:18 GMT

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

Igor Sapego commented on IGNITE-2635:
-------------------------------------

Merged with IGNITE-2222.

> CPP: Date type returned by SQL quaries 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)

Mime
View raw message