Type checker failed to catch invalid type comparison
----------------------------------------------------
Key: PIG-1929
URL: https://issues.apache.org/jira/browse/PIG-1929
Project: Pig
Issue Type: Bug
Reporter: Xuefu Zhang
Assignee: Thejas M Nair
Fix For: 0.9.0
The following script should fail. However, it passed type checking, resulting a
backend failure.
A =LOAD 'x' USING PigStorage() AS ( Fint:int, Flong:long, Fdouble:double,
Ffloat:float, Fchar:chararray, Fchararray:chararray, Fbytearray:bytearray,
Fmap:map[], Fbag:BAG{ t:tuple( name, age, avg ) }, Ftuple:( name:chararray,
age:int, avg:float) );
B= FILTER A BY ( Ftuple gte ( 1, 2, 3 ));
STORE B INTO 'y' USING PigStorage();
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira