[ https://issues.apache.org/jira/browse/HIVE-9357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14276570#comment-14276570 ]
Alexander Pivovarov commented on HIVE-9357: ------------------------------------------- according to Quora ADD_MONTS is #1 feature gap in hive http://www.quora.com/Apache-Hive/What-are-the-biggest-feature-gaps-between-HiveQL-and-SQL When people say ADD_MONTHS they mean Oracle ADD_MONTHS implementation logic. I searched "ADD_MONTHS finction" in google - first page (first 10 results) mention oracle add_months https://www.google.com/#q=add_months+function > Create ADD_MONTHS UDF > --------------------- > > Key: HIVE-9357 > URL: https://issues.apache.org/jira/browse/HIVE-9357 > Project: Hive > Issue Type: Improvement > Components: UDF > Reporter: Alexander Pivovarov > Assignee: Alexander Pivovarov > Attachments: HIVE-9357.1.patch > > > ADD_MONTHS adds a number of months to startdate: > add_months('2015-01-14', 1) = '2015-02-14' > add_months('2015-01-31', 1) = '2015-02-28' > add_months('2015-02-28', 2) = '2015-04-30' > add_months('2015-02-28', 12) = '2016-02-29' -- This message was sent by Atlassian JIRA (v6.3.4#6332)