hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olga Natkovich (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (PIG-1588) Parameter pre-processing of values containing pig positional variables ($0, $1 etc)
Date Wed, 01 Sep 2010 01:08:53 GMT

     [ 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.


Mime
View raw message