You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Jongyoung Park (JIRA)" <ji...@apache.org> on 2014/09/23 09:07:34 UTC
[jira] [Commented] (TAJO-1064) The hour values are different
between current_time() and extract from current_time()
[ https://issues.apache.org/jira/browse/TAJO-1064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14144485#comment-14144485 ]
Jongyoung Park commented on TAJO-1064:
--------------------------------------
Fixing this should be considered with TAJO-1063.
> The hour values are different between current_time() and extract from current_time()
> ------------------------------------------------------------------------------------
>
> Key: TAJO-1064
> URL: https://issues.apache.org/jira/browse/TAJO-1064
> Project: Tajo
> Issue Type: Bug
> Components: function/udf
> Affects Versions: 0.9.0
> Reporter: Jongyoung Park
> Priority: Minor
>
> Extract function (especially from time) uses DateTimeUtil.toUserTimezone(). So using it on current_time() causes result difference.
> {color:red}
> select current_time();
> > 07:04:32.987
> select extract(hour from current_time());
> >16.0
> {color}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)