[teiid-issues] [JBoss JIRA] (TEIID-3186) PARSETIMESTAMP('12:10:10', 'hh:mm:ss') returns 00:10:10

Filip Nguyen (JIRA) issues at jboss.org
Fri Oct 24 09:05:35 EDT 2014


    [ https://issues.jboss.org/browse/TEIID-3186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13014903#comment-13014903 ] 

Filip Nguyen commented on TEIID-3186:
-------------------------------------

That was the trick. Thanks.

> PARSETIMESTAMP('12:10:10', 'hh:mm:ss') returns 00:10:10
> -------------------------------------------------------
>
>                 Key: TEIID-3186
>                 URL: https://issues.jboss.org/browse/TEIID-3186
>             Project: Teiid
>          Issue Type: Bug
>          Components: Query Engine
>    Affects Versions: 8.7
>            Reporter: Filip Nguyen
>            Assignee: Steven Hawkins
>
> This 
> {noformat}
> SELECT PARSETIMESTAMP('12:10:10', 'hh:mm:ss'),  PARSETIMESTAMP('13:10:10', 'hh:mm:ss')
> {noformat}
> returns 
> {noformat}
> 1970-01-01 00:10:10.0,1970-01-01 13:10:10.0
> {noformat}
> It seems odd to me. Shouldnt the result of PARSETIMESTAMP('12:10:10'...  be 12:10:10?



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the teiid-issues mailing list