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.