[ https://issues.apache.org/jira/browse/PIG-1827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012717#comment-13012717 ]
Richard Ding commented on PIG-1827: ----------------------------------- The reason that one has to escape $ in this case is that Pig, by design, allows recursive parameter substitution. That is, a parameter value can contain another parameter key (prefixed by $). So if the value contains literal $, it must be escaped. > 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 > -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira