exceptionfactory commented on code in PR #8229: URL: https://github.com/apache/nifi/pull/8229#discussion_r1452650933
########## nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ValidateCsv.java: ########## @@ -174,6 +175,19 @@ public class ValidateCsv extends AbstractProcessor { .addValidator(StandardValidators.NON_EMPTY_VALIDATOR) .build(); + public static final PropertyDescriptor GET_ALL_VIOLATIONS = new PropertyDescriptor.Builder() + .name("validate-csv-violations") + .displayName("Get all violations") + .description("If true, the validation.error.message attribute would contain the list of all the violations" + + " for the first invalid line. Note that setting this property to true would slightly decrease" + + " the performances as all columns would be validated. If false, a line is invalid as soon as a" + + " column is found violating the specified constraint and only this violation for the first invalid" + + " line will be indicated in the validation.error.message attribute.") + .required(true) + .allowableValues("true", "false") + .defaultValue("false") + .build(); Review Comment: `Include All Violations` sounds sufficient, or `Report All Errors` if you prefer. -- 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: issues-unsubscr...@nifi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org