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 584041A4E for ; Fri, 22 Apr 2011 22:57:46 +0000 (UTC) Received: (qmail 14307 invoked by uid 500); 22 Apr 2011 22:57:46 -0000 Delivered-To: apmail-pig-dev-archive@pig.apache.org Received: (qmail 14286 invoked by uid 500); 22 Apr 2011 22:57:46 -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 14278 invoked by uid 500); 22 Apr 2011 22:57:46 -0000 Delivered-To: apmail-hadoop-pig-dev@hadoop.apache.org Received: (qmail 14275 invoked by uid 99); 22 Apr 2011 22:57:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Apr 2011 22:57:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Apr 2011 22:57:44 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D2BF9AE7BD for ; Fri, 22 Apr 2011 22:57:05 +0000 (UTC) Date: Fri, 22 Apr 2011 22:57:05 +0000 (UTC) From: "Corinne Chandel (JIRA)" To: pig-dev@hadoop.apache.org Message-ID: <1220360629.77500.1303513025859.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <891614181.32829.1301938205865.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (PIG-1960) Pig CookBook documentation "Map key should be quoted" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/PIG-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Corinne Chandel resolved PIG-1960. ---------------------------------- Resolution: Fixed Docs updated. See PIG-1772 and patch pig-1772-beta2-1.patch > Pig CookBook documentation "Map key should be quoted" > ----------------------------------------------------- > > Key: PIG-1960 > URL: https://issues.apache.org/jira/browse/PIG-1960 > Project: Pig > Issue Type: Bug > Affects Versions: 0.9.0 > Reporter: Daniel Dai > Assignee: Corinne Chandel > Fix For: 0.9.0 > > > There are two places in cookbook refer to a map key, which should be quoted: > B = foreach A generate in#k1 as k1, in#k2 as k2; > ==> B = foreach A generate in#'k1' as k1, in#'k2' as k2; > B = foreach A generate CONCAT(in#k1, in#k2); > ==> B = foreach A generate CONCAT(in#'k1', in#'k2'); -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira