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

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

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

Anton Vinogradov (Jira)
Valentin Kulichenko created IGNITE-1072:
-------------------------------------------

             Summary: 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
            Reporter: Valentin Kulichenko


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)