pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julien Le Dem (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIG-1819) For implicit binding, Jython embedded Pig should skip any variable/value that contains $.
Date Wed, 26 Jan 2011 02:36:45 GMT

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


Mime
View raw message