pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koji Noguchi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PIG-4889) Replacing backslash fails as lexical error
Date Tue, 10 May 2016 01:31:12 GMT
Koji Noguchi created PIG-4889:
---------------------------------

             Summary: 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.15.0, 0.14.0, 0.13.0, 0.12.1, 0.11.2
            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)

Mime
View raw message