hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIG-1310) ISO Date UDFs: Conversion, Rounding and Date Math
Date Tue, 23 Mar 2010 23:00:27 GMT

    [ https://issues.apache.org/jira/browse/PIG-1310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12848954#action_12848954
] 

Alan Gates commented on PIG-1310:
---------------------------------

Rather than hold the branch for this I propose we give it a special dispensation and check
it into both branch and trunk once we're done reviewing it.  I don't want to rush the review
but I agree it's worth getting into 0.7.

Russell, regarding the jodatime jar, are those published in a maven repository?  If so, you
can change piggybank's build.xml to pull it via ivy.  Otherwise you'll have to attach the
jar directly and the committers can check it in as part of the patch.

> ISO Date UDFs: Conversion, Rounding and Date Math
> -------------------------------------------------
>
>                 Key: PIG-1310
>                 URL: https://issues.apache.org/jira/browse/PIG-1310
>             Project: Pig
>          Issue Type: New Feature
>          Components: impl
>            Reporter: Russell Jurney
>             Fix For: 0.7.0
>
>         Attachments: datetime.patch
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> I've written UDFs to handle loading unix times, datemonth values and ISO 8601 formatted
date strings, and working with them as ISO datetimes using jodatime.
> The working code is here: http://github.com/rjurney/oink/tree/master/src/java/oink/udf/isodate/
> It needs to be documented and tests added, and a couple UDFs are missing, but these work
if you REGISTER the jodatime jar in your script.  Hopefully I can get this stuff in piggybank
before someone else writes it this time :)  The rounding also may not be performant, but the
code works.
> Ultimately I'd also like to enable support for ISO 8601 durations.  Someone slap me if
this isn't done soon, it is not much work and this should help everyone working with time
series.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message