Pig should display TokenMgrError consistently across all parsers
----------------------------------------------------------------

                 Key: PIG-2049
                 URL: https://issues.apache.org/jira/browse/PIG-2049
             Project: Pig
          Issue Type: Bug
    Affects Versions: 0.8.0, 0.9.0
            Reporter: Richard Ding
            Assignee: Richard Ding
            Priority: Minor
             Fix For: 0.9.0


For example, for org.apache.pig.tools.pigscript.parser.TokenMgrError, Pig logs

{code}
ERROR 1000: Error during parsing. Lexical error at line 5, column 0.
{code}

But for org.apache.pig.tools.parameters.TokenMgrError, Pig logs

{code}
ERROR 2998: Unhandled internal error. Lexical error at line 10, column 0.
{code}

Both should have error code 1000.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to