Hi,
I’m trying to load my sample text file in which fields are separated by ‘,’ in Pig using PigStorage(’,’) but receiving the below error:
Error:
2017-06-22 00:31:02,219 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1070: Could not resolve pigstorage using imports: [, java.lang.
, org.apache.pig.builtin., org.apache.pig.impl.builtin.]
Details at logfile: /home/deepikanandyala9361/pig_1498089547474.log
Here is the command I used:
sample2 = load ‘/…/…/xyz.txt’ using pigstorage(’,’) as (showname:chararray,channelname:chararray);