You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Hyoungjun Kim (JIRA)" <ji...@apache.org> on 2014/12/06 10:49:12 UTC

[jira] [Updated] (TAJO-1162) to_char() returns "-00" second.

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

Hyoungjun Kim updated TAJO-1162:
--------------------------------
    Component/s: function/udf

> to_char() returns "-00" second.
> -------------------------------
>
>                 Key: TAJO-1162
>                 URL: https://issues.apache.org/jira/browse/TAJO-1162
>             Project: Tajo
>          Issue Type: Bug
>          Components: function/udf
>    Affects Versions: 0.9.0
>            Reporter: Hyoungjun Kim
>            Assignee: Hyoungjun Kim
>            Priority: Trivial
>             Fix For: 0.9.1
>
>
> See the following test query. This is expected "1997-12-30 11:40:00", but "1997-12-30 11:40:-00"
> {code:sql}
> select to_char(to_timestamp('1997-12-30 11:40:00', 'YYYY-MM-DD HH24:MI:SS'), 'YYYY-MM-DD HH24:MI:SS')
> {code}



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