Mark Payne created NIFI-4232:
--------------------------------

             Summary: AvroRecordSetWriter not properly handling Arrays of 
Records
                 Key: NIFI-4232
                 URL: https://issues.apache.org/jira/browse/NIFI-4232
             Project: Apache NiFi
          Issue Type: Bug
          Components: Extensions
            Reporter: Mark Payne
            Assignee: Mark Payne


I have JSON coming in that has an Array of complex JSON objects. When I try to 
convert it to Avro via ConvertRecord, it fails, with the following error:

{code}
ConvertRecord[id=4c8b14f0-1027-115d-2dd0-33fb39b2fc23] Failed to process 
StandardFlowFileRecord[uuid=8506b97c-31fe-4598-b645-a526134b0f9f,claim=StandardContentClaim
 [resourceClaim=StandardResourceClaim[id=1501080084533-2, container=default, 
section=2], offset=2192294, 
length=5646],offset=0,name=286941224561187,size=5646]; will route to failure: 
org.apache.nifi.serialization.record.util.IllegalTypeConversionException: 
Cannot convert value [Ljava.lang.Object;@746d38cd of type class 
[Ljava.lang.Object; because no compatible types exist in the UNION
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to