hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] Created: (PIG-1619) Bad error message when a double constant is incorrectly specified
Date Fri, 17 Sep 2010 17:06:33 GMT
Bad error message when a double constant is incorrectly specified
-----------------------------------------------------------------

                 Key: PIG-1619
                 URL: https://issues.apache.org/jira/browse/PIG-1619
             Project: Pig
          Issue Type: Bug
    Affects Versions: 0.7.0
            Reporter: Alan Gates
            Assignee: Xuefu Zhang
            Priority: Minor
             Fix For: 0.9.0


Given the following Pig Latin script (notice that the exponent for the floating point is a
floating point when it should be a integer)

{code}
A = load '/Users/gates/test/data/studenttab10';
B = foreach A generate $0, 3.0e10.1;
dump B;
{code}

Pig returns
{code}
 ERROR 2999: Unexpected internal error. For input string: "3.0e10.1"
{code}

This should be a syntax error caught by the parser.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message