I am very new to PIG and I have what seems like a very simple problem. I have a line of code that states:
A = load 'Sites/trial_clustering/shortdocs/*' AS (word1:chararray, word2:chararray, word3:chararray, word4:chararray);
where each file is basically a line of 4 comma separated words. However, PIG does not break it down into 4 words. When I reset A , I get: (Money, coins, loans, debt,,,) I tried searching on Google and I canβt find what format my file should have in order for PIG to interpret it correctly. Please, help!
Yuliapro
source share