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

Switch to Threaded View
Pig >> mail # user >> pig union with avro

Copy link to this message
pig union with avro

I am doing this

DEFINE AVRO_LOAD org.apache.pig.piggybank.strorage.avro.AvroStorage();

A = load '/user/abhi/a.txt' using AVRO_LOAD;

B = load '/user/abhi/b.txt' using AVRO_LOAD;

C = UNION A , B;

here script is failing with the following error

ERROR org.apache.pig.tools.grunt.Grunt - ERROR