You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2020/05/20 02:44:41 UTC

[GitHub] [nifi] eduardofontes commented on a change in pull request #4281: NIFI-7463 - Write empty flowfile for RunMongoAggregation empty results

eduardofontes commented on a change in pull request #4281:
URL: https://github.com/apache/nifi/pull/4281#discussion_r427710719



##########
File path: nifi-nar-bundles/nifi-mongodb-bundle/nifi-mongodb-processors/src/main/java/org/apache/nifi/processors/mongodb/RunMongoAggregation.java
##########
@@ -121,6 +126,7 @@
 
         final Set<Relationship> _relationships = new HashSet<>();
         _relationships.add(REL_RESULTS);
+        _relationships.add(REL_EMPTY);

Review comment:
       Ok. I've changed to write an empty flowfile instead a new relationship.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org