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

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

Vladimir,

We already have tests for Date retrieval (e.g. {{cache_query_test.cpp:976}}).

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

Reply via email to