PIG Assignment Question


1 Answer(s)


Hi Mahesh,

You need to provide type of input in with PigStorage() function. For example:

A = LOAD 'student' USING PigStorage() AS (name:chararray, age:int, gpa:float);

Hope this helps.

Thanks.