1 Jan 2009 02:52
[jira] Created: (PIG-596) Anonymous tuples in bags create ParseExceptions
Anonymous tuples in bags create ParseExceptions
-----------------------------------------------
Key: PIG-596
URL: https://issues.apache.org/jira/browse/PIG-596
Project: Pig
Issue Type: Bug
Affects Versions: types_branch
Reporter: David Ciemiewicz
{code}
One = load 'one.txt' using PigStorage() as ( one: int );
LabelledTupleInBag = foreach One generate { ( 1, 2 ) } as mybag { tuplelabel: tuple ( a, b ) };
AnonymousTupleInBag = foreach One generate { ( 2, 3 ) } as mybag { tuple ( a, b ) }; -- Anonymous tuple creates bug
Tuples = union LabelledTupleInBag, AnonymousTupleInBag;
dump Tuples;
{code}
java.io.IOException: Encountered "{ tuple" at line 6, column 66.
Was expecting one of:
"parallel" ...
";" ...
"," ...
":" ...
"(" ...
"{" <IDENTIFIER> ...
(Continue reading)
RSS Feed