Jongyoung Park created TAJO-1064:
------------------------------------

             Summary: 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)

Reply via email to