[ https://issues.apache.org/jira/browse/PIG-1827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13024970#comment-13024970 ]
Julien Le Dem commented on PIG-1827: ------------------------------------ Hi Richard, thanks for taking care of this. * in test/org/apache/pig/test/TestScriptLanguage.java the test should verify that the value are properly passed to the script {code} "testvar = 'abcd$py'", "testvar2 = '$'", "testvar3 = '\\\\\\\\$'", "testvar4 = 'abcd\\$py$'", "testvar5 = 'abcd\\$py'", {code} what about this? {code} "P = Pig.compile(\"\"\"a = load '$input'; b = foreach a generate $0,$1,$testvar,$testvar2,$testvar3,$testvar4,$testvar5; store b into '$output';\"\"\")", {code} then you can check that you get the values in the output. we should check that the transformation is bijective. > When passing a parameter to Pig, if the value contains $ it has to be escaped > for no apparent reason > ---------------------------------------------------------------------------------------------------- > > Key: PIG-1827 > URL: https://issues.apache.org/jira/browse/PIG-1827 > Project: Pig > Issue Type: Bug > Components: impl > Affects Versions: 0.8.0 > Reporter: Julien Le Dem > Assignee: Richard Ding > Fix For: 0.9.0 > > Attachments: PIG-1827-1.patch > > -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira