exceptionfactory commented on code in PR #9748:
URL: https://github.com/apache/nifi/pull/9748#discussion_r1969810760
##########
nifi-extension-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/AbstractExecuteSQL.java:
##########
@@ -456,7 +474,12 @@ public void onTrigger(final ProcessContext context, final
ProcessSession session
session.remove(fileToProcess);
} else {
// If we had no results then transfer the original
flow file downstream to trigger processors
- session.transfer(setFlowFileEmptyResults(session,
fileToProcess, sqlWriter), REL_SUCCESS);
+ if
(context.getProperty(CONTENT_OUTPUT_STRATEGY).asAllowableValue(ContentOutputStrategy.class)
== null ||
+
context.getProperty(CONTENT_OUTPUT_STRATEGY).asAllowableValue(ContentOutputStrategy.class)
== ContentOutputStrategy.IGNORED) {
Review Comment:
There is one Checkstyle violation for this line:
```
src/main/java/org/apache/nifi/processors/standard/AbstractExecuteSQL.java:[477,128]
(whitespace) OperatorWrap: '||' should be on a new line.
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]