Matt Forrester created NIFI-5093:
------------------------------------

             Summary: ConvertAvroToJson
                 Key: NIFI-5093
                 URL: https://issues.apache.org/jira/browse/NIFI-5093
             Project: Apache NiFi
          Issue Type: Bug
    Affects Versions: 1.6.0
         Environment: Ubuntu / Chromium
            Reporter: Matt Forrester


ConvertAvroToJson with the options
 * JSON Container Options: None
 * Wrap Single Record: False

Given 1+ Avro records from ExecuteSQL it creates a newline delimited list of 
object, which is great (and looks like [http://ndjson.org/)]

Given 0 records it creates a list of one empty object.

This is just strange as any downstream processor which is expecting JSON with 
specific fields will fail.

NDJSON is cool as it's a streamable format and we should enable easy usage.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to