hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Pivovarov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-3404) Create quarter UDF
Date Wed, 06 May 2015 17:39:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-3404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14531009#comment-14531009
] 

Alexander Pivovarov commented on HIVE-3404:
-------------------------------------------

added quarter UDF description to Date Functions https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-DateFunctions

> 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
>             Fix For: 1.3.0
>
>         Attachments: HIVE-3404.1.patch.txt, HIVE-3404.2.patch, HIVE-3404.2.patch, HIVE-3404.3.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)

Mime
View raw message