Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig, mail # user - Storing field in a bag


Copy link to this message
-
Storing field in a bag
Mohit Anchlia 2012-09-10, 17:53
I am trying to store field in a bag command but it fails with

 store b.page into '/flume_vol/flume/input/page.dat';
store b.network into '/flume_vol/flume/input/network.dat';

B: {b: {(page: chararray,network: chararray,sysinfo:
chararray,trafficsource: chararray,search: chararray)}}
2012-09-10 10:45:54,293 [main] ERROR org.apache.pig.tools.grunt.Grunt -
ERROR 1200: <file script5_snappy.pig, line 24, column 7>  mismatched input
'.' expecting INTO
Details at logfile: /root/.mohit/pigtest/pig_1347299107910.log

--

Can I do this without using foreach?