pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitriy V. Ryaboy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIG-2674) Parameter substitution with spaces does not work
Date Sat, 28 Apr 2012 00:38:49 GMT

    [ 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

        

Mime
View raw message