Xuefu Zhang created PIG-3316:
--------------------------------

             Summary: 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, 0.10.0
         Environment: 1970-01-01
            Reporter: Xuefu Zhang
            Assignee: Xuefu Zhang


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

Reply via email to