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

Pradeep Kamath commented on PIG-838:
------------------------------------

THe issue might be because we have in QueryParser.jjt:
 JAVA_UNICODE_ESCAPE = true;

which causes the parser to interpret '\u000d' as carriage return - we need for 
the person to not interpret these unicode escape sequences - however the above 
option was added to QueryParser.jjt to support unicode constants and such. So 
we need to find a way to support unicode characters but at the same time be 
able to handle '\u000d' during parsing.

> Parser does not handle ctrl-m ('\u000d') as argument to PigStorage
> ------------------------------------------------------------------
>
>                 Key: PIG-838
>                 URL: https://issues.apache.org/jira/browse/PIG-838
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.2.1
>            Reporter: Pradeep Kamath
>
> An script which has 
> a = load 'input' using PigStorage('\u000d');
>  
> produces the following error:
> 2009-06-05 14:47:49,241 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 
> 1000: Error during parsing. Lexical error at line 1, column 47.  Encountered: 
> "\r" (13), after : "\'"

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