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

Alexander Pivovarov updated HIVE-9678:
--------------------------------------
    Description: 
MySQL has very useful function timediff. We should have it in Hive
{code}
select timediff('2015-02-12 05:09:07.140', '2015-02-12 01:18:20');
OK
03:50:47.140
{code}

  was:
MySQL has very useful function timediff. We should have it in Hive
{code}
select timediff('2015-02-12 05:09:07', '2015-02-12 01:18:20');
OK
03:50:47
{code}


> create timediff UDF
> -------------------
>
>                 Key: HIVE-9678
>                 URL: https://issues.apache.org/jira/browse/HIVE-9678
>             Project: Hive
>          Issue Type: Improvement
>          Components: UDF
>            Reporter: Alexander Pivovarov
>            Assignee: Alexander Pivovarov
>         Attachments: HIVE-9678.1.patch, HIVE-9678.2.patch, HIVE-9678.3.patch
>
>
> MySQL has very useful function timediff. We should have it in Hive
> {code}
> select timediff('2015-02-12 05:09:07.140', '2015-02-12 01:18:20');
> OK
> 03:50:47.140
> {code}



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

Reply via email to