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

Benjamin Reed commented on PIG-85:
----------------------------------

StringList() in QueryParser.jjt should be using unquote() on QUOTEDSTRING. It 
looks like it is the only place that was missed when we did the unquote patch. 
It's simple enough to fix (a two line patch). Is that going to mess up your 
parser change too much Pi? Here are the lines in StringList that need to be 
changed:

        t = <QUOTEDSTRING> {sb.append(t.image);}
        t = <QUOTEDSTRING> {sb.append(t.image);}

they should both become
        t = <QUOTEDSTRING> {sb.append(unquote(t.image));}

> 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