Hi,

I'm getting below error when I try to insert null into union of array

Caused by: org.apache.avro.UnresolvedUnionException: Not in union
["null",{"type":"array","items":{"type":"record","name":"DeMatchedAttr","namespace":"cp","fields":[{"name":"id","type":"long","doc":"Attribute
id"},{"name":"updateDate","type":"long","doc":"Update date of the
attribute"},{"name":"value","type":"string","doc":"Value of the
attribute"}]}}]: null

Is there any issue with the schema ?

Thanks for the help

-Giri

Reply via email to