Re: Reading simple json file

2013-09-23 Thread Pradeep Gollakota
Improper capitalization. Storage functions are case sensitive, try JsonLoader. On Mon, Sep 23, 2013 at 2:37 PM, jamal sasha wrote: > Hi, > > I am trying to read simple json data as: > d =LOAD 'json_output' USING > JSONLOADER(('ip:chararray,_id:chararray,cats:[chararray]'); > But I am getting th

Re: Reading simple json file

2013-09-23 Thread jamal sasha
never mind :D On Mon, Sep 23, 2013 at 2:37 PM, jamal sasha wrote: > Hi, > > I am trying to read simple json data as: > d =LOAD 'json_output' USING > JSONLOADER(('ip:chararray,_id:chararray,cats:[chararray]'); > But I am getting this error: > 2013-09-23 14:33:17,127 [main] ERROR org.apache.pig.t

Reading simple json file

2013-09-23 Thread jamal sasha
Hi, I am trying to read simple json data as: d =LOAD 'json_output' USING JSONLOADER(('ip:chararray,_id:chararray,cats:[chararray]'); But I am getting this error: 2013-09-23 14:33:17,127 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1070: Could not resolve JSONLOADER using imports: [, org.a