You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Olga Natkovich (JIRA)" <ji...@apache.org> on 2009/02/12 20:10:59 UTC

[jira] Created: (PIG-668) parametere substitution truncates value if it has special character like "."

parametere substitution truncates value if it has special character like "."
----------------------------------------------------------------------------

                 Key: PIG-668
                 URL: https://issues.apache.org/jira/browse/PIG-668
             Project: Pig
          Issue Type: Bug
            Reporter: Olga Natkovich


Input script:

a = load '/user/pig/tests/data/singlefile/studenttab10k' as (name, age,gpa);
b = order a by name;
c = limit b 10;
store into '$out';

command:  pig -param out=a.txt -dryrun test_param.pig

substituted script:

a = load '/user/pig/tests/data/singlefile/studenttab10k' as (name, age,gpa);
b = order a by name;
c = limit b 10;
store into 'a';

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (PIG-668) parametere substitution truncates value if it has special character like "."

Posted by "Thejas M Nair (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thejas M Nair resolved PIG-668.
-------------------------------

    Resolution: Fixed

Verified that this bug is not present in 0.6 and 0.7 branches, and trunk .

> parametere substitution truncates value if it has special character like "."
> ----------------------------------------------------------------------------
>
>                 Key: PIG-668
>                 URL: https://issues.apache.org/jira/browse/PIG-668
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Olga Natkovich
>
> Input script:
> a = load '/user/pig/tests/data/singlefile/studenttab10k' as (name, age,gpa);
> b = order a by name;
> c = limit b 10;
> store into '$out';
> command:  pig -param out=a.txt -dryrun test_param.pig
> substituted script:
> a = load '/user/pig/tests/data/singlefile/studenttab10k' as (name, age,gpa);
> b = order a by name;
> c = limit b 10;
> store into 'a';

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.