hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepti Antony (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-3378) UDF to obtain the numeric day of an year from date or timestamp in HIVE.
Date Wed, 22 Aug 2012 07:39:38 GMT

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

Deepti Antony commented on HIVE-3378:
-------------------------------------

patch for the hive-3378 is available in the file hive-3378.1.patch. 

                
>  	UDF to obtain the numeric day of an year from date or timestamp in  HIVE. 
> ----------------------------------------------------------------------------
>
>                 Key: HIVE-3378
>                 URL: https://issues.apache.org/jira/browse/HIVE-3378
>             Project: Hive
>          Issue Type: New Feature
>          Components: UDF
>    Affects Versions: 0.8.1, 0.9.0
>            Reporter: Deepti Antony
>         Attachments: HIVE-3378.1.patch.txt
>
>
>   Hive current releases lacks a function which returns the numeric day of an year if
a date or timestamp is given .The function DAYOFYEAR(date) would return the numeric day  from
a date / timestamp or  which would be useful while using HiveQL.DAYOFYEAR can be used to compare
 data with respect to number of days till the given date.It can be used in different domains.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message