Re: Pig and Avro Error

2013-06-09 Thread abhishek dodda
Thanks Cheolsoo for the reply i found the column which is causing the error. On Sun, Jun 9, 2013 at 12:26 PM, Cheolsoo Park wrote: > >> java.lang.RuntimeException : Dataum 23.0 is not in union ["null" , > "int"] > > Given that you're specifying no Avro schema in STORE command, AvroStorage > wou

Re: Pig and Avro Error

2013-06-09 Thread Cheolsoo Park
>> java.lang.RuntimeException : Dataum 23.0 is not in union ["null" , "int"] Given that you're specifying no Avro schema in STORE command, AvroStorage would derive the output Avro schema based on Pig schema. By default, AvroStorage converts every primitive type to a nullable union. In this case, f

Pig and Avro Error

2013-06-09 Thread abhishek dodda
hi all, Running pig with avro storage and facing the below issue pig 0.10 and avro 1.7 * * *org.apache.avro.file.DataFileWriter$AppenderWriteException : java.lang.RuntimeException : Dataum 23.0 is not in union ["null" , "int"]* * * my pig script does the following a = load '/user/abhi/abc.txt' u