mark-bathori commented on code in PR #9074:
URL: https://github.com/apache/nifi/pull/9074#discussion_r1674136754
##########
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:
During the testing I found that Yaml is using an even lower 3mb upper limit
on documents:
https://github.com/FasterXML/jackson-dataformats-text/tree/2.15/yaml#maximum-input-yaml-document-size-3-mb
--
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]