ijokarumawak commented on a change in pull request #3575: NIFI-6271, fix
incoming flowfile attributes don't copy into output flowfiles when Output Batch
Size is set
URL: https://github.com/apache/nifi/pull/3575#discussion_r301862960
##########
File path:
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/AbstractExecuteSQL.java
##########
@@ -283,6 +288,8 @@ public void onTrigger(final ProcessContext context, final
ProcessSession session
attributesToAdd.put(RESULT_QUERY_EXECUTION_TIME,
String.valueOf(executionTimeElapsed));
attributesToAdd.put(RESULT_QUERY_FETCH_TIME,
String.valueOf(fetchTimeElapsed));
attributesToAdd.put(RESULTSET_INDEX,
String.valueOf(resultCount));
+ if (inputFileUUID != null)
+ attributesToAdd.put(INPUT_FLOWFILE_UUID,
inputFileUUID);
Review comment:
Will add a curly bracket to align with other lines.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services