You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by Rahul Channe <dr...@googlemail.com> on 2014/05/29 19:05:17 UTC

Unable to store data using HCatStorer

Hi All,

I am trying to load data in hive from Pig using HCatLoader but getting
following error

grunt> describe D;
D: {group: chararray,{(cust_id: int)},{(first_name:
chararray)},{(last_name: chararray)},{(age: int)}}

grunt> store D into 'pig_cust' using org.apache.hcatalog.pig.HCatStorer();
2014-05-29 11:56:02,577 [main] INFO
org.apache.pig.tools.pigstats.ScriptState - Pig features used in the
script: GROUP_BY
2014-05-29 11:56:03,467 [main] ERROR org.apache.pig.tools.grunt.Grunt -
ERROR 1115: Column name for a field is not specified. Please provide the
full schema as an argument to HCatStorer.
Details at logfile: /home/user/pig_1401377697100.log