24 Apr 2013
It seems we cannot use
, but we need to use ``CSVExcelStorage```.
Here is an example:
data = LOAD 'something.csv' USING org.apache.pig.piggybank.storage.CSVExcelStorage() AS (user_id: int, country: chararray);
Oh, man, the documentation is so confusing.
doesn't have an example; ``CSVExcelStorage``` has an example, but it is only for storing.