[
https://issues.apache.org/jira/browse/PIG-3316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13653389#comment-13653389
]
Johnny Zhang commented on PIG-3316:
-----------------------------------
Xuefu, thanks for submit the patch, it looks good to me. I will run trunk unit
tests on top of it.
> Pig failed to interpret DateTime values in some special cases
> -------------------------------------------------------------
>
> Key: PIG-3316
> URL: https://issues.apache.org/jira/browse/PIG-3316
> Project: Pig
> Issue Type: Bug
> Components: data, impl
> Affects Versions: 0.11
> Environment: 1970-01-01
> Reporter: Xuefu Zhang
> Assignee: Xuefu Zhang
> Fix For: 0.11
>
> Attachments: PIG-3316.patch
>
>
> For the query
> A = load 'date.txt' as ( f1:int, f2:datetime );
> dump A;
> with input data
> 1,1970-01-01
> 2,1970-01
> pig generates the following output
> (1,1970-01-01T00:00:00.000-01:00)
> (2,1970-01-01T00:00:00.000-01:00)
> which seemingly incorrectly interprets the day or month part as time zone.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira