hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pi Song (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIG-85) Unable to specify CTRL-A as a delimiter for the PigStorage function
Date Fri, 16 May 2008 16:23:55 GMT

    [ https://issues.apache.org/jira/browse/PIG-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12597528#action_12597528
] 

Pi Song commented on PIG-85:
----------------------------

Olga,

1) In this case we have to use StringUtils.unescapeInputString() because LoadFunc/StoreFunc
expects quoted strings as input. This is different from string literals where we want to get
rid of quotes.

2) I was thinking about that too but I was not quite sure whether you have already got the
solution yet so just did a quick one.

will change (2) quickly.

> Unable to specify CTRL-A as a delimiter for the PigStorage function
> -------------------------------------------------------------------
>
>                 Key: PIG-85
>                 URL: https://issues.apache.org/jira/browse/PIG-85
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Anand Murugappan
>         Attachments: PIG_85_escaping_parameters.patch
>
>
> A PIG command like - 
> store abc into 'abc' using PigStorage('\x01');
>  does not recognize hat the user is requesting the data to by ^A separated. Instead the
data that is stored is literally separated by the string '\x01'. 
> Neither does punching in ^A directly through the editor, nor do any other strings like
\u0001 help. 
> Using a ^A directly through the editor complains about it being an invalid XML character
and bails out. 

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