ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Tupitsyn (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-2475) DateTime support and functions
Date Tue, 02 Feb 2016 16:48:39 GMT

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

Pavel Tupitsyn commented on IGNITE-2475:
----------------------------------------

Issues:
* Default serialization writes DateTime as a binary object. It can be used in queries (retrieval
works properly), but it does not work in equality and other comparisons. User has to use custom
serialization (IBinarizable).
* [QueryField] does not map DateTime fields to Timestamp (because this won't work with default
serialization). Possible solution is to introduce [QueryFieldDateTime] which will force Timestamp
mapping. This will require custom serialization, of course.
* When passing DateTime as a query argument, it will be always written as a binary wrapper.
We need a custom way of writing arguments (like QueryBase.ArgumentWriter).


> DateTime support and functions
> ------------------------------
>
>                 Key: IGNITE-2475
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2475
>             Project: Ignite
>          Issue Type: Sub-task
>          Components: platforms
>    Affects Versions: 1.1.4
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>
> http://www.h2database.com/html/functions.html



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

Mime
View raw message