Dorian Bugeja created NIFI-8342:
-----------------------------------
Summary: SplitJson corrupting flowfile content
Key: NIFI-8342
URL: https://issues.apache.org/jira/browse/NIFI-8342
Project: Apache NiFi
Issue Type: Bug
Affects Versions: 1.13.1
Reporter: Dorian Bugeja
Attachments: SplitJson_corrupted_output.xml,
image-2021-03-18-17-35-20-406.png
When performing a SplitJson on an array of complex json files where the first
record has a longer content/text field
[ {
"brand_id" : null,
"table_name" : "xx",
"attribute" : "x",
"category" : "x",
"include" : null,
"exclude" : null
}, {
"brand_id" : null,
"table_name" : "x",
"attribute" : "x",
"category" : "x",
"include" : null,
"exclude" : null
} ]
an invalid json is generated (content looks file, but subsequent
EvaluationJsonPath is unable to parse the object)
!image-2021-03-18-17-35-20-406.png|width=917,height=199!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)