[
https://issues.apache.org/jira/browse/NIFI-1117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14999116#comment-14999116
]
Bryan Bende commented on NIFI-1117:
-----------------------------------
This patch looks good to me, passes contrib-check and unit tests show the
handling of empty and 0 record FlowFiles. I'm a +1.
> ConvertAvroToJson does not handle the case of 0 Avro records well
> -----------------------------------------------------------------
>
> Key: NIFI-1117
> URL: https://issues.apache.org/jira/browse/NIFI-1117
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Reporter: Mark Payne
> Assignee: Tony Kurc
> Fix For: 0.4.0
>
> Attachments: NIFI-1117.000.patch
>
>
> Currently if a FlowFile comes into ConvertAvroToJson and the FlowFile has 0
> records, the Processor throws an Exception and the FlowFile stays in the
> queue. It should instead create an empty JSON object.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)