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

Alan Gates commented on PIG-1430:
---------------------------------

I think it's fine to start with just putting conversion functions into Pig 
Latin.  What I'd like to clarify though is what is the desired end state?  Does 
Pig eventually have a datetime type that does all the datetime stuff you can 
dream of (timezones, etc.)?  Or does Pig only ever have longs or strings to 
represent times and a set of functions to work with those?  Are you proposing 
that latter, or delaying the former in interest of getting something into 0.8?  

> ISODateTime -> DateTime: DateTime UDFs Should Also Support int/second Unix 
> Times in All Operations
> --------------------------------------------------------------------------------------------------
>
>                 Key: PIG-1430
>                 URL: https://issues.apache.org/jira/browse/PIG-1430
>             Project: Pig
>          Issue Type: Improvement
>          Components: impl
>    Affects Versions: 0.7.0
>            Reporter: Russell Jurney
>             Fix For: 0.8.0
>
>
> All functions in 
> contrib.piggybank.java.src.main.java.org.apache.pig.piggybank.evaluation.datetime
>  should seamlessly accept integer Unix/POSIX times, and return Unix time 
> output when given an int, and ISO output when given a chararray.
> Note: Unix/POSIX times are the number of seconds elapsed since midnight 
> proleptic Coordinated Universal Time (UTC) of January 1, 1970, not counting 
> leap seconds.  See http://en.wikipedia.org/wiki/Unix_time

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

Reply via email to