You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Aniket Mokashi (JIRA)" <ji...@apache.org> on 2012/04/28 01:40:50 UTC
[jira] [Commented] (PIG-2458) Can't have spaces in parameter
substitution
[ https://issues.apache.org/jira/browse/PIG-2458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264116#comment-13264116 ]
Aniket Mokashi commented on PIG-2458:
-------------------------------------
I tried to run this on pig-0.9 branch and pig-trunk. This isn't fixed!
Try--
{code}
java -cp pig.jar org.apache.pig.Main -x local -f temp.pig -p "NAME=Aniket Mokashi"
{code}
temp.pig-
{code}
a = load '1.txt';
b = foreach a generate '$NAME';
dump b;
{code}
Am I missing something?
> Can't have spaces in parameter substitution
> -------------------------------------------
>
> Key: PIG-2458
> URL: https://issues.apache.org/jira/browse/PIG-2458
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.9.2, 0.11
> Reporter: Jonathan Coveney
> Assignee: Jonathan Coveney
> Fix For: 0.9.2, 0.10.0, 0.11
>
> Attachments: PIG-2458-2.patch, PIG2458.patch, PIG2458_1.patch
>
>
> I believe that there is a regression. We can no longer do the following:
> bin/pig -x local -p THING="other thing"
> as is, I can't seem to escape this to make it work, either, which is worse than in the other issue.
> I am testing a patch that should fix this.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira