You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Dmitriy V. Ryaboy (JIRA)" <ji...@apache.org> on 2012/04/28 02:38:49 UTC
[jira] [Commented] (PIG-2674) Parameter substitution with spaces
does not work
[ https://issues.apache.org/jira/browse/PIG-2674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264159#comment-13264159 ]
Dmitriy V. Ryaboy commented on PIG-2674:
----------------------------------------
try -p "NAME='Aniket Mokashi'"
> Parameter substitution with spaces does not work
> ------------------------------------------------
>
> Key: PIG-2674
> URL: https://issues.apache.org/jira/browse/PIG-2674
> Project: Pig
> Issue Type: Bug
> Reporter: Aniket Mokashi
>
> 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}
--
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