[ https://issues.apache.org/jira/browse/PIG-4889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15282057#comment-15282057 ]
Rohini Palaniswamy commented on PIG-4889: ----------------------------------------- +1 > 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 > Attachments: pig-4889-v01_notestcase.patch, pig-4889-v02.patch > > > {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)