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/12/18 17:53:13 UTC
[jira] [Closed] (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:all-tabpanel ]
Jongyoung Park closed TAJO-1064.
--------------------------------
> 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
> Assignee: Jongyoung Park
> Priority: Minor
> Fix For: 0.10
>
>
> 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)