I am working on pig and my data-set look like this
a b c
a e f
I load it in pig like this
data = load 'temp' as (col1:chararray);
and when I do describe data
I get
data: {col1: chararray}
what does this mean? Does this mean that data is bag of tuples of strings or bag of strings? Because I do dump data
, I get a bag of tuples.
shouldn't it be data:{(col1:chararray)}
? or Are they both same?