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

Olga Natkovich resolved PIG-1588.
---------------------------------

    Resolution: Duplicate

This is duplicate of https://issues.apache.org/jira/browse/PIG-1586 and at this 
point we do not believe that either is a bug in pig. Viraj is verifying that 
but we think that shell removes the escapes before giving it to Pig

> Parameter pre-processing of values containing pig positional variables ($0, 
> $1 etc)
> -----------------------------------------------------------------------------------
>
>                 Key: PIG-1588
>                 URL: https://issues.apache.org/jira/browse/PIG-1588
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.7.0
>            Reporter: Laukik Chitnis
>             Fix For: 0.7.0
>
>
> Pig 0.7 requires the positional variables to be escaped by a \\ when passed 
> as part of a parameter value (either through cmd line param or through 
> param_file), which was not the case in Pig 0.6 Assuming that this was not an 
> intended breakage of backward compatibility (could not find it in release 
> notes), this would be a bug.
> For example, We need to pass
> INPUT=CountWords(\\$0,\\$1,\\$2)
> instead of simply
> INPUT=CountWords($0,$1,$2)

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

Reply via email to