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 02FFEDC61 for ; Thu, 4 Oct 2012 18:45:49 +0000 (UTC) Received: (qmail 58332 invoked by uid 500); 4 Oct 2012 18:45:48 -0000 Delivered-To: apmail-pig-dev-archive@pig.apache.org Received: (qmail 58293 invoked by uid 500); 4 Oct 2012 18:45:48 -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 58285 invoked by uid 500); 4 Oct 2012 18:45:48 -0000 Delivered-To: apmail-hadoop-pig-dev@hadoop.apache.org Received: (qmail 58281 invoked by uid 99); 4 Oct 2012 18:45:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Oct 2012 18:45:48 +0000 Date: Fri, 5 Oct 2012 05:45:48 +1100 (NCT) From: "Thejas M Nair (JIRA)" To: pig-dev@hadoop.apache.org Message-ID: <1925618333.1194.1349376348681.JavaMail.jiratomcat@arcas> In-Reply-To: <1788718580.59043.1340752664448.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (PIG-2769) a simple logic causes very long compiling time on pig 0.10.0 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-2769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thejas M Nair updated PIG-2769: ------------------------------- Assignee: Timothy Chen > a simple logic causes very long compiling time on pig 0.10.0 > ------------------------------------------------------------ > > Key: PIG-2769 > URL: https://issues.apache.org/jira/browse/PIG-2769 > Project: Pig > Issue Type: Bug > Components: build > Affects Versions: 0.10.0 > Environment: Apache Pig version 0.10.0-SNAPSHOT (rexported) > Reporter: Dan Li > Assignee: Timothy Chen > Fix For: 0.11 > > Attachments: case1.tar > > > We found the following simple logic will cause very long compiling time for pig 0.10.0, while using pig 0.8.1, everything is fine. > A = load 'A.txt' using PigStorage() AS (m: int); > B = FOREACH A { > days_str = (chararray) > (m == 1 ? 31: > (m == 2 ? 28: > (m == 3 ? 31: > (m == 4 ? 30: > (m == 5 ? 31: > (m == 6 ? 30: > (m == 7 ? 31: > (m == 8 ? 31: > (m == 9 ? 30: > (m == 10 ? 31: > (m == 11 ? 30:31))))))))))); > GENERATE > days_str as days_str; > } > store B into 'B'; > and here's a simple input file example: A.txt > 1 > 2 > 3 > The pig version we used in the test > Apache Pig version 0.10.0-SNAPSHOT (rexported) -- 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