[
https://issues.apache.org/jira/browse/PIG-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593325#action_12593325
]
Pi Song commented on PIG-85:
----------------------------
At the moment, string escaping only works with standalone literals. To add
support for LOAD/STORE function parameter is not difficult but it will cause
trouble in the parser change (which is close to finish) in type branch. Please
wait a bit more and I'll fix this.
In the mean time one way to do is inheriting the PigStorage and set the default
delimitor to anything you want in Java. Then use it as a UDF LOAD/STORE.
> 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.