Return-Path: X-Original-To: apmail-pig-dev-archive@www.apache.org Delivered-To: apmail-pig-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7F11611203 for ; Fri, 10 May 2013 18:05:18 +0000 (UTC) Received: (qmail 71399 invoked by uid 500); 10 May 2013 18:05:18 -0000 Delivered-To: apmail-pig-dev-archive@pig.apache.org Received: (qmail 71059 invoked by uid 500); 10 May 2013 18:05:17 -0000 Mailing-List: contact dev-help@pig.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pig.apache.org Delivered-To: mailing list dev@pig.apache.org Received: (qmail 71037 invoked by uid 500); 10 May 2013 18:05:17 -0000 Delivered-To: apmail-hadoop-pig-dev@hadoop.apache.org Received: (qmail 71034 invoked by uid 99); 10 May 2013 18:05:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 May 2013 18:05:17 +0000 Date: Fri, 10 May 2013 18:05:17 +0000 (UTC) From: "Xuefu Zhang (JIRA)" To: pig-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (PIG-3316) Pig failed to interpret DateTime values in some special cases MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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