I have been testing out the new PutOrc processor that was introduced in 1.7 to see if I can replace the ConvertAvroToOrc processer I currently use.
When I sent in some of the complex Avro messages in my flow I encountered the following error (see full stack further down) java.lang.IllegalArgumentException: Error converting object of type org.apache.nifi.serialization.record.MapRecord to ORC type The older ConvertAvroToOrc processor processed the flowfile without issues. Also to note is that the PutOrc processor handles the flowfile fine if there is no Avro data with only the schema present. It seems to be related to nestled "Record" types.
How to reproduce:
Avro schema: bug.avsc
Small python script to create an Avro file.
Then just load the avro file using ListFIle -> FetchFile
Full error message: