Return-Path: Delivered-To: apmail-hadoop-pig-dev-archive@www.apache.org Received: (qmail 8983 invoked from network); 4 Dec 2009 18:57:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Dec 2009 18:57:43 -0000 Received: (qmail 39750 invoked by uid 500); 4 Dec 2009 18:57:42 -0000 Delivered-To: apmail-hadoop-pig-dev-archive@hadoop.apache.org Received: (qmail 39734 invoked by uid 500); 4 Dec 2009 18:57:42 -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 39724 invoked by uid 99); 4 Dec 2009 18:57:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Dec 2009 18:57:42 +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; Fri, 04 Dec 2009 18:57:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A137A234C045 for ; Fri, 4 Dec 2009 10:57:20 -0800 (PST) Message-ID: <1527826905.1259953040645.JavaMail.jira@brutus> Date: Fri, 4 Dec 2009 18:57:20 +0000 (UTC) From: "Daniel Dai (JIRA)" To: pig-dev@hadoop.apache.org Subject: [jira] Created: (PIG-1127) Logical operator should contains individual copy of schema object MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Logical operator should contains individual copy of schema object ----------------------------------------------------------------- Key: PIG-1127 URL: https://issues.apache.org/jira/browse/PIG-1127 Project: Pig Issue Type: Bug Affects Versions: 0.4.0 Reporter: Daniel Dai Assignee: Daniel Dai Fix For: 0.6.0 Currently some logical operator only contains a schema reference to the predecessor's schema object. These logical operators include: LOSplitOutput, LOLimit, LOSplit, LOFilter, LOSort, LODistinct, LOUnion. It is ok in the before because we do not change schema object once it is set. Now with the column pruner (PIG-922), we need to change individual schema object so it is no longer acceptable. For example, the following script fail: {code} a = load '1.txt' as (a0, a1:map[], a2); b = foreach a generate a1; c = limit b 10; dump c; {code} We need to fix it. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.