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/09/04 10:46:00 UTC
[jira] [Resolved] (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 resolved HIVE-25233.
----------------------------------
Resolution: Invalid
> 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
> Labels: pull-request-available
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> 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_unix_timestamp()
> unix_timestamp(string date, string pattern) => to_unix_timestamp()
> We should clean up unix_timestamp() and points to to_unix_timestamp()
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)