iamthechad
2/21/2017 - 10:28 PM

Getting started with Pig

Getting started with Pig

books = LOAD '/user/cloudera/input/BX-BooksCorrected.txt' 
>> USING PigStorage(';') AS 
>> (ISBN:chararray, BookTitle:chararray, 
>> BookAuthor:chararray, YearOfPublication:int, 
>> Publisher:chararray);