[ https://issues.apache.org/jira/browse/HIVE-3404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Pivovarov updated HIVE-3404: -------------------------------------- Attachment: HIVE-3404.2.patch > Create quarter UDF > ------------------ > > Key: HIVE-3404 > URL: https://issues.apache.org/jira/browse/HIVE-3404 > Project: Hive > Issue Type: New Feature > Components: UDF > Reporter: Sanam Naz > Assignee: Alexander Pivovarov > Attachments: HIVE-3404.1.patch.txt, HIVE-3404.2.patch, > HIVE-3404.2.patch > > > The function QUARTER(date) would return the quarter from a string / date / > timestamp. This will be useful for different domains like retail ,finance etc. > MySQL has QUARTER function > https://dev.mysql.com/doc/refman/5.5/en/date-and-time-functions.html#function_quarter -- This message was sent by Atlassian JIRA (v6.3.4#6332)