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

Anand Murugappan commented on PIG-85:
-------------------------------------

I am not sure if that helps. 

Here is the query:
entries = LOAD '/user/anandm/testData/testTableA.txt' AS (key,value);
STORE entries INTO '/user/anandm/tmp/testTableACtrl01.tsv' USING 
PigStorage('\01');

The output contains this:
a\011
b\012
c\013
d\014
e\015

We do not want to see \01 but instead see '^A' character as the separator.

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

Reply via email to