You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ashish Sharma (Jira)" <ji...@apache.org> on 2021/06/10 08:57:00 UTC

[jira] [Assigned] (HIVE-25233) Removing deprecated unix_timestamp() UDF

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

Ashish Sharma reassigned HIVE-25233:
------------------------------------


> Removing deprecated unix_timestamp() UDF
> ----------------------------------------
>
>                 Key: HIVE-25233
>                 URL: https://issues.apache.org/jira/browse/HIVE-25233
>             Project: Hive
>          Issue Type: Task
>          Components: UDF
>    Affects Versions: All Versions
>            Reporter: Ashish Sharma
>            Assignee: Ashish Sharma
>            Priority: Trivial
>
> Description
> Since unix_timestamp() UDF was deprecated as part of https://issues.apache.org/jira/browse/HIVE-10728. Internal GenericUDFUnixTimeStamp extend GenericUDFToUnixTimeStamp and call to_utc_timestamp() for unix_timestamp(string date) & unix_timestamp(string date, string pattern).
> unix_timestamp()   => CURRENT_TIMESTAMP
> unix_timestamp(string date) => to_utc_timestamp()
> unix_timestamp(string date, string pattern) => to_utc_timestamp()
> We should clean up unix_timestamp() and points to to_utc_timestamp()
>    



--
This message was sent by Atlassian Jira
(v8.3.4#803005)