[
https://issues.apache.org/jira/browse/NIFI-5604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16619233#comment-16619233
]
Matt Burgess edited comment on NIFI-5604 at 9/18/18 3:02 PM:
-------------------------------------------------------------
I propose a new property "Output Empty FlowFile on Zero Results" or something
that would behave much like "Include Zero Record FlowFiles" does for
QueryRecord, where an empty flow file (not an incoming one even if present)
would be generated if set to true.
was (Author: mattyb149):
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)