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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Anton Vinogradov (Jira)
Igor Sapego created IGNITE-2635:
-----------------------------------

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