pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuefu Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PIG-3316) Pig failed to interpret DateTime values in some special cases
Date Fri, 10 May 2013 18:05:17 GMT

     [ https://issues.apache.org/jira/browse/PIG-3316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Xuefu Zhang updated PIG-3316:
-----------------------------

    Status: Patch Available  (was: In Progress)
    
> 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

Mime
View raw message