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

Matt Burgess commented on NIFI-5604:
------------------------------------

I propose a new property "Include Zero Record FlowFiles" that would behave in 
much the same way as it does for QueryRecord, where an empty flow file (not an 
incoming one even if present) would be generated if set to true. 

> Allow GenerateTableFetch to send empty flow files when no rows would be 
> fetched
> -------------------------------------------------------------------------------
>
>                 Key: NIFI-5604
>                 URL: https://issues.apache.org/jira/browse/NIFI-5604
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Matt Burgess
>            Priority: Major
>
> Currently, GenerateTableFetch will not output a flow file if there are no 
> rows to be fetched. However, it may be desired (especially with incoming flow 
> files) that a flow file be sent out even if GTF does not generate any SQL. 
> This capability, along with the fragment attributes from NIFI-5601, would 
> allow the user to handle this downstream.



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

Reply via email to