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

Koji Noguchi commented on PIG-4889:
-----------------------------------

This started failing after PIG-2507 when it _correctly_ recognized "IN_STRING" 
state except that this string state is missing the handling of quoted backslash.



> Replacing backslash fails as lexical error 
> -------------------------------------------
>
>                 Key: PIG-4889
>                 URL: https://issues.apache.org/jira/browse/PIG-4889
>             Project: Pig
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 0.11.2, 0.12.1, 0.13.0, 0.14.0, 0.15.0
>            Reporter: Koji Noguchi
>            Assignee: Koji Noguchi
>            Priority: Minor
>
> {code:title:test.pig}
> A = load 'input.txt' as (url:chararray);
> B = foreach A generate REPLACE(url, '\\\\', '') as url2:chararray;
> DUMP B;
> {code}
> fails with 
> {panel}
> 2016-05-09 21:27:09,670 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 
> 1000: Error during parsing. Lexical error at line 4, column 0.  Encountered: 
> <EOF> after : ""
> {panel}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to