Return-Path: Delivered-To: apmail-hadoop-pig-dev-archive@www.apache.org Received: (qmail 78234 invoked from network); 8 Dec 2009 23:30:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Dec 2009 23:30:40 -0000 Received: (qmail 79281 invoked by uid 500); 8 Dec 2009 23:30:40 -0000 Delivered-To: apmail-hadoop-pig-dev-archive@hadoop.apache.org Received: (qmail 79266 invoked by uid 500); 8 Dec 2009 23:30:40 -0000 Mailing-List: contact pig-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pig-dev@hadoop.apache.org Delivered-To: mailing list pig-dev@hadoop.apache.org Received: (qmail 79256 invoked by uid 99); 8 Dec 2009 23:30:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Dec 2009 23:30:40 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Dec 2009 23:30:38 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 29229234C1EE for ; Tue, 8 Dec 2009 15:30:18 -0800 (PST) Message-ID: <71801587.1260315018167.JavaMail.jira@brutus> Date: Tue, 8 Dec 2009 23:30:18 +0000 (UTC) From: "Daniel Dai (JIRA)" To: pig-dev@hadoop.apache.org Subject: [jira] Updated: (PIG-1132) Column Pruner issues in dealing with unprunable loader In-Reply-To: <2069841311.1260238278157.JavaMail.jira@brutus> 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-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Dai updated PIG-1132: ---------------------------- Resolution: Fixed Hadoop Flags: [Reviewed] Status: Resolved (was: Patch Available) Core test failures are due to port conflict. Test manually and it is successful. Patch committed to both trunk and 0.6 branch. Thanks Alan! > Column Pruner issues in dealing with unprunable loader > ------------------------------------------------------ > > Key: PIG-1132 > URL: https://issues.apache.org/jira/browse/PIG-1132 > Project: Pig > Issue Type: Bug > Affects Versions: 0.4.0 > Reporter: Daniel Dai > Assignee: Daniel Dai > Fix For: 0.6.0 > > Attachments: PIG-1132-1.patch, PIG-1132-2.patch > > > The following script fail: > {code} > a = load '1.txt' using BinStorage() as (a0, a1, a2); > b = foreach a generate a2, a0, a1; > c = foreach b generate a0, a2; > explain c; > {code} > Error message: > ERROR 2163: Error during fixing projections. Could not locate replacement column for column: 1 in the new predecessor at org.apache.pig.impl.logicalLayer.ProjectFixerUpper.visit(ProjectFixerUpper.java:262) > at org.apache.pig.impl.logicalLayer.LOProject.visit(LOProject.java:404) > at org.apache.pig.impl.logicalLayer.LOProject.visit(LOProject.java:58) > at org.apache.pig.impl.plan.DepthFirstWalker.depthFirst(DepthFirstWalker.java:67) > at org.apache.pig.impl.plan.DepthFirstWalker.walk(DepthFirstWalker.java:50) > at org.apache.pig.impl.plan.PlanVisitor.visit(PlanVisitor.java:51) > at org.apache.pig.impl.logicalLayer.LOForEach.rewire(LOForEach.java:770) > ... 19 more > Also even we fix the exception, the result is wrong. > Thanks Thejas for finding a reproducible test case for PigLatin -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.