[ 
https://issues.apache.org/jira/browse/NIFI-4975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16434774#comment-16434774
 ] 

ASF GitHub Bot commented on NIFI-4975:
--------------------------------------

Github user mattyb149 commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/2546#discussion_r180937580
  
    --- Diff: 
nifi-nar-bundles/nifi-mongodb-bundle/nifi-mongodb-processors/src/main/java/org/apache/nifi/processors/mongodb/AbstractMongoProcessor.java
 ---
    @@ -229,7 +252,9 @@ protected MongoDatabase getDatabase(final 
ProcessContext context, final FlowFile
         }
     
         protected MongoCollection<Document> getCollection(final ProcessContext 
context, final FlowFile flowFile) {
    -        final String collectionName = 
context.getProperty(COLLECTION_NAME).evaluateAttributeExpressions(flowFile).getValue();
    +        final String collectionName = flowFile == null
    --- End diff --
    
    I think this should be != like the getDatabase() call above?


> Add support for MongoDB GridFS
> ------------------------------
>
>                 Key: NIFI-4975
>                 URL: https://issues.apache.org/jira/browse/NIFI-4975
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Mike Thomsen
>            Assignee: Mike Thomsen
>            Priority: Major
>
> [An overview |https://docs.mongodb.com/manual/core/gridfs/]of what GridFS is.
> Basic CRUD processors for handling GridFS should be added to the MongoDB NAR.
>  
>  



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

Reply via email to