[ 
https://issues.apache.org/jira/browse/PIG-2788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Coveney updated PIG-2788:
----------------------------------

    Attachment: PIG-2788-0.patch

I bet nobody thought this would ever get some love :) but this has something 
that has long annoyed me, and I wanted to familiarize myself a bit more with 
that path of the code.

This has the syntax Jeff proposed. Nothing has changed, except now you can 
optionally do ${stuff} to ally ambiguity, thus allow ${tmp}_ and other such 
things.

It's a pretty easy change, too.
                
> improved string interpolation of variables
> ------------------------------------------
>
>                 Key: PIG-2788
>                 URL: https://issues.apache.org/jira/browse/PIG-2788
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.9.2, 0.10.0
>            Reporter: Jeff Hodges
>            Assignee: Jonathan Coveney
>         Attachments: PIG-2788-0.patch
>
>
> The simplest example of the failure of the current string interpolation is 
> {code}
> store my_rel into '$OUTPUT_';
> {code}
> This will raise an error saying that OUTPUT_ is not a variable passed in. 
> Similar errors happen with a variety of other trailing characters.
> It would be nice if '${OUTPUT}_', or something similar, worked.

--
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

Reply via email to