exceptionfactory commented on a change in pull request #5173:
URL: https://github.com/apache/nifi/pull/5173#discussion_r665579697
##########
File path:
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/PutDatabaseRecord.java
##########
@@ -697,6 +697,7 @@ private void executeDML(final ProcessContext context, final
ProcessSession sessi
final RecordSchema recordSchema =
currentRecord.getSchema();
final Map<String, ColumnDescription> columns =
tableSchema.getColumns();
+ int deleteIndex = 0;
Review comment:
Is there a reason for introducing a special delete index as opposed to
basing the parameter index off the current value of `i` in the loop?
--
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]