You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Alexander Pivovarov (JIRA)" <ji...@apache.org> on 2015/02/16 04:53:11 UTC

[jira] [Updated] (HIVE-9678) create timediff UDF

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

Alexander Pivovarov updated HIVE-9678:
--------------------------------------
    Attachment: HIVE-9678.1.patch

patch #1

> 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
>
>
> 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}



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