[ https://issues.apache.org/jira/browse/HIVE-25233?focusedWorklogId=613989&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-613989 ]
ASF GitHub Bot logged work on HIVE-25233: ----------------------------------------- Author: ASF GitHub Bot Created on: 23/Jun/21 12:03 Start Date: 23/Jun/21 12:03 Worklog Time Spent: 10m Work Description: sankarh commented on pull request #2380: URL: https://github.com/apache/hive/pull/2380#issuecomment-866777190 @ashish-kumar-sharma @mattmccline-microsoft Why do we need to remove unix_timestamp UDF? Isn't it backward incompatible change? Existing users need to manually change their scripts which would not be good experience and wouldn't motivate them to upgrade. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 613989) Time Spent: 50m (was: 40m) > 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: 50m > 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)