[
https://issues.apache.org/jira/browse/PIG-1819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12986821#action_12986821
]
Julien Le Dem commented on PIG-1819:
------------------------------------
In the following example:
{code}
from org.apache.pig.scripting import Pig
... ...
separator = "$"
results = Pig.compile("""
A = LOAD 'data' USING PigStorage('$separator') AS (a,b,c);
....
""").bind().run()
{code}
Let's assume I want to use $ as a separator, how can we do that? It seems to be
a reasonable use case and silently skipping the variable does not seem like a
good idea.
> For implicit binding, Jython embedded Pig should skip any variable/value that
> contains $.
> ------------------------------------------------------------------------------------------
>
> Key: PIG-1819
> URL: https://issues.apache.org/jira/browse/PIG-1819
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.9.0
> Reporter: Richard Ding
> Assignee: Richard Ding
> Fix For: 0.9.0
>
> Attachments: PIG-1819.patch
>
>
> We use the Pig parameter substitution for the bindings so variable/value that
> contains $ cannot be used.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.