Support Questions
Find answers, ask questions, and share your expertise

ERROR 1070: Could not resolve PigSorage using imports:

New Contributor

Hi, I'm trying to read a file with pig and I have the error that I indicate in the title.

The file contains the following:

 

data = LOAD '/user/cloudera/pigexample/commands' USING PigSorage('\n') as
(comando:chararray);

DUMP data;

 

I don't understand why I get the error supposedly its delimiter is the line break, I'm also trying with another file whose delimiter is the tab ('\t') and it doesn't work either. Does anyone know what the delimiter is?

0 REPLIES 0
; ;