[ https://issues.apache.org/jira/browse/PIG-1929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020092#comment-13020092 ]
Xuefu Zhang commented on PIG-1929: ---------------------------------- +1 for patch PIG-1929.3.patch. > 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 > > Attachments: PIG-1929.1.patch, PIG-1929.2.patch, PIG-1929.3.patch > > > 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