You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/11/10 11:54:33 UTC
[jira] [Commented] (TAJO-1162) to_char() returns "-00" second.
[ https://issues.apache.org/jira/browse/TAJO-1162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14204637#comment-14204637 ]
ASF GitHub Bot commented on TAJO-1162:
--------------------------------------
GitHub user babokim opened a pull request:
https://github.com/apache/tajo/pull/234
TAJO-1162: to_char() returns "-00" second.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/babokim/tajo TAJO-1162
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tajo/pull/234.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #234
----
commit d0852f41d42fd2830af219f3ece98269028c89b4
Author: HyoungJun Kim <ba...@babokim-mbp.server.gruter.com>
Date: 2014-11-10T09:59:22Z
TAJO-1162: to_char() returns "-00" second.
commit 5a0005943233a83432aedd67cc6ad3aa5f9a6d33
Author: HyoungJun Kim <ba...@babokim-mbp.server.gruter.com>
Date: 2014-11-10T10:00:27Z
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo
----
> to_char() returns "-00" second.
> -------------------------------
>
> Key: TAJO-1162
> URL: https://issues.apache.org/jira/browse/TAJO-1162
> Project: Tajo
> Issue Type: Bug
> Reporter: Hyoungjun Kim
> Assignee: Hyoungjun Kim
> Priority: Trivial
>
> 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)