You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Dmitry Karachentsev (JIRA)" <ji...@apache.org> on 2016/12/27 12:17:58 UTC

[jira] [Assigned] (IGNITE-1072) Need to automatically support LocalDateTime class in indexing

     [ https://issues.apache.org/jira/browse/IGNITE-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Karachentsev reassigned IGNITE-1072:
-------------------------------------------

    Assignee: Dmitry Karachentsev

> Need to automatically support LocalDateTime class in indexing
> -------------------------------------------------------------
>
>                 Key: IGNITE-1072
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1072
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache, SQL
>    Affects Versions: 1.1.4
>            Reporter: Valentin Kulichenko
>            Assignee: Dmitry Karachentsev
>            Priority: Critical
>              Labels: Usability
>             Fix For: 2.0
>
>
> Currently this query doesn't work if {{localDate}} is an instance of {{LocalDateTime}}:
> {code}
> SqlFieldsQuery qry = new SqlFieldsQuery(
>     "SELECT localDate from MyObject " +
>     "WHERE localDate = '2013-09-12T11:00'");
> {code}
> It's not supported because {{LocalDateTime}} is JDK8 class. But probably we can use reflection to solve this.
> Also need to go through all classes in {{java.time}} package and see if any of them need to be supported as well.



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