You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Corinne Chandel (JIRA)" <ji...@apache.org> on 2011/04/23 00:57:05 UTC

[jira] [Resolved] (PIG-1960) Pig CookBook documentation "Map key should be quoted"

     [ 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