Aniket Mokashi (JIRA | 28 Apr 02:01 2012
Picon

[Created] (PIG-2674) Parameter substitution with spaces does not work

Aniket Mokashi created PIG-2674:
-----------------------------------

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

(Continue reading)

Dmitriy V. Ryaboy (JIRA | 28 Apr 02:38 2012
Picon

[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}
(Continue reading)

Aniket Mokashi (JIRA | 29 Apr 05:43 2012
Picon

[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=13264457#comment-13264457
] 

Aniket Mokashi commented on PIG-2674:
-------------------------------------

Yes. That works. "NAME=Aniket\ Mokashi" works too.
Do we need this jira?

> 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;
(Continue reading)

Dmitriy Ryaboy | 29 Apr 06:57 2012
Picon

Re: [Commented] (PIG-2674) Parameter substitution with spaces does not work

Maybe the appropriate patch here is a documentation one?

Dmitriy V. Ryaboy (JIRA | 29 Apr 23:21 2012
Picon

[Updated] (PIG-2674) Document how parameter values that contain spaces can be passed to Pig


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

Dmitriy V. Ryaboy updated PIG-2674:
-----------------------------------

    Summary: Document how parameter values that contain spaces can be passed to Pig  (was: Parameter
substitution with spaces does not work)

> Document how parameter values that contain spaces can be passed to Pig
> ----------------------------------------------------------------------
>
>                 Key: PIG-2674
>                 URL: https://issues.apache.org/jira/browse/PIG-2674
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Aniket Mokashi
>              Labels: docs, simple
>
> 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;
(Continue reading)

Dmitriy V. Ryaboy (JIRA | 29 Apr 23:21 2012
Picon

[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=13264605#comment-13264605
] 

Dmitriy V. Ryaboy commented on PIG-2674:
----------------------------------------

Let's make this a documentation jira.

> 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
>              Labels: docs, simple
>
> 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;
(Continue reading)

Daniel Dai (JIRA | 1 May 02:37 2012
Picon

[Updated] (PIG-2674) Document how parameter values that contain spaces can be passed to Pig


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

Daniel Dai updated PIG-2674:
----------------------------

    Fix Version/s: 0.10.1
                   0.11

> Document how parameter values that contain spaces can be passed to Pig
> ----------------------------------------------------------------------
>
>                 Key: PIG-2674
>                 URL: https://issues.apache.org/jira/browse/PIG-2674
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Aniket Mokashi
>              Labels: docs, simple
>             Fix For: 0.11, 0.10.1
>
>
> 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';
(Continue reading)

Julien Le Dem (JIRA | 19 Nov 21:13 2012
Picon

[Updated] (PIG-2674) Document how parameter values that contain spaces can be passed to Pig


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

Julien Le Dem updated PIG-2674:
-------------------------------

    Fix Version/s:     (was: 0.10.1)
                       (was: 0.11)

this will be fixed in a future release

> Document how parameter values that contain spaces can be passed to Pig
> ----------------------------------------------------------------------
>
>                 Key: PIG-2674
>                 URL: https://issues.apache.org/jira/browse/PIG-2674
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Aniket Mokashi
>              Labels: docs, simple
>
> 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';
(Continue reading)


Gmane