In NiFi 1.8.0, The record field with Avro type: 'bytes' must be represented as a JSON Array ( For E.g. [65,66,67] ) in JSON file. On using ConvertRecord Processor to convert JSON to CSV, the CSVRecordSetWriter writes the bytes field array data as a string like "[65,66,67]" . On passing the output CSV FlowFile to a Processor using CSVReader, It reads the bytes field as a String, and on writing it using a CSVRecordSetWriter, it writes it as "[91, 54, 53, 44, 32, 54, 54, 44, 32, 54, 55, 93]". So how to represent a Byte array in CSV file, so that it would be successfully read as an array by CSV Reader?
Note: I am using Apache Commons CSV parser in CSVReader.