[ https://issues.apache.org/jira/browse/PIG-1430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12873217#action_12873217 ]
Russell Jurney commented on PIG-1430: ------------------------------------- Actually, I think it should interpret int as unix time in seconds, and long as unix time in miliseconds. Thoughts? > 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.