exceptionfactory commented on code in PR #9074:
URL: https://github.com/apache/nifi/pull/9074#discussion_r1674145404
##########
nifi-extension-bundles/nifi-standard-services/nifi-record-serialization-services-bundle/nifi-record-serialization-services/src/main/java/org/apache/nifi/yaml/YamlTreeReader.java:
##########
@@ -51,17 +49,12 @@ public class YamlTreeReader extends JsonTreeReader {
@Override
protected List<PropertyDescriptor> getSupportedPropertyDescriptors() {
- final List<PropertyDescriptor> properties = new
ArrayList<>(super.getSupportedPropertyDescriptors());
- // Remove those properties which are not applicable for YAML
- properties.remove(AbstractJsonRowRecordReader.MAX_STRING_LENGTH);
- properties.remove(AbstractJsonRowRecordReader.ALLOW_COMMENTS);
Review Comment:
Thanks for the background and reference @mark-bathori, that makes sense!
--
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]