apache pig - Error starting out with pig -
i started pig , simple line of code supposed read in data file called mary-
input = load 'mary' (line);
is not working me. have file in folder ran pig , error -
grunt - error 1200: <line 1, column 0> mismatched input 'input' expecting eof
this piece of code taken first example of book programming_pig.
using name input
relation not work reserved keyword in pig. use name relation such as
a = load 'mary' (line);
and work.
my guess version used "programming pig" did not yet have reserved keyword or wrong.
Comments
Post a Comment