[
https://issues.apache.org/jira/browse/PIG-1827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard Ding updated PIG-1827:
------------------------------
Attachment: PIG-1827_2.patch
The new patch added a test case that supports $ as part of parameter:
{code}
separator = '$'
P = Pig.compile(\"\"\"a = load 'input' using PigStorage('$separator');store a
into 'output';\"\"\")
Q = P.bind()
{code}
On the other hand, Pig Latin doesn't support '\$' in its variables, string
literals.
> 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, PIG-1827_2.patch
>
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira