[teiid-issues] [JBoss JIRA] (TEIID-3228) SOLR: Date and Timestamp parsing is incorrect

Ramesh Reddy (JIRA) issues at jboss.org
Fri Nov 21 10:38:39 EST 2014


     [ https://issues.jboss.org/browse/TEIID-3228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ramesh Reddy resolved TEIID-3228.
---------------------------------
           Labels: Alpaha1  (was: )
    Fix Version/s: 8.7.1
                   8.10
       Resolution: Done


The code is fixed to account "dd" instead of "DD". Unfortunately there was test case for this, but it was testing for Jan 06, which is 6th day of the year no matter how you were looking at it. Fixed the testcase too.

> SOLR: Date and Timestamp parsing is incorrect
> ---------------------------------------------
>
>                 Key: TEIID-3228
>                 URL: https://issues.jboss.org/browse/TEIID-3228
>             Project: Teiid
>          Issue Type: Bug
>          Components: Misc. Connectors
>    Affects Versions: 8.7
>            Reporter: Filip Elias
>            Assignee: Ramesh Reddy
>              Labels: Alpaha1
>             Fix For: 8.7.1, 8.10
>
>
> SolrSQLHierarchyVisitor uses incorrect Date and Timestamp pattern.
> The pattern for Date is yyyy-MM-DD, but it should be yyyy-MM-dd.
> DD represents day in year, not day in month
> Similar issue occurs for Timestamp.



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the teiid-issues mailing list