exceptionfactory commented on code in PR #9748:
URL: https://github.com/apache/nifi/pull/9748#discussion_r1969777522
##########
nifi-extension-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/AbstractExecuteSQL.java:
##########
@@ -531,4 +554,38 @@ protected List<String> getQueries(final String value) {
}
protected abstract SqlWriter configureSqlWriter(ProcessSession session,
ProcessContext context, FlowFile fileToProcess);
+
+ enum ContentOutputStrategy implements DescribedValue {
+ EMPTY_RESULT(
+ "Overwrite content",
Review Comment:
"Title Case" should be used for these property values.
```suggestion
"Overwrite Content",
```
##########
nifi-extension-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/AbstractExecuteSQL.java:
##########
@@ -531,4 +554,38 @@ protected List<String> getQueries(final String value) {
}
protected abstract SqlWriter configureSqlWriter(ProcessSession session,
ProcessContext context, FlowFile fileToProcess);
+
+ enum ContentOutputStrategy implements DescribedValue {
+ EMPTY_RESULT(
+ "Overwrite content",
+ "Overwrites the FlowFile content with the empty result set."
+ ),
+ IGNORED(
+ "Ignore results",
Review Comment:
```suggestion
"Ignore Results",
```
--
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]