turcsanyip commented on a change in pull request #4825:
URL: https://github.com/apache/nifi/pull/4825#discussion_r580515586
##########
File path:
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ValidateRecord.java
##########
@@ -180,6 +180,19 @@
.defaultValue("true")
.required(true)
.build();
+ static final PropertyDescriptor COERCE_TYPES = new
PropertyDescriptor.Builder()
+ .name("coerce-types")
+ .displayName("Force Types From Schema")
+ .description("If enabled, the processor will coerce every field to
the type specified in the schema. "
Review comment:
I would mention in the description (and maybe also in the property name)
that the schema here is the Record Reader's schema, not the validation schema
(which may be a different one).
----------------------------------------------------------------
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]