You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (JIRA)" <ji...@apache.org> on 2016/02/02 17:48:39 UTC
[jira] [Commented] (IGNITE-2475) DateTime support and functions
[ 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)