You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Sargrad (JIRA)" <ji...@apache.org> on 2019/04/24 17:48:00 UTC
[jira] [Created] (NIFI-6241) ConvertRecord Schema Inference fails
to recognize substructure
David Sargrad created NIFI-6241:
-----------------------------------
Summary: ConvertRecord Schema Inference fails to recognize substructure
Key: NIFI-6241
URL: https://issues.apache.org/jira/browse/NIFI-6241
Project: Apache NiFi
Issue Type: Bug
Components: Core Framework
Affects Versions: 1.9.2
Reporter: David Sargrad
Attachments: image-2019-04-24-13-38-16-605.png, image-2019-04-24-13-39-36-327.png, image-2019-04-24-13-41-00-704.png, image-2019-04-24-13-41-26-860.png, image-2019-04-24-13-43-28-531.png, image-2019-04-24-13-43-59-706.png
I've got a simple test flow as depicted below:
!image-2019-04-24-13-38-16-605.png!
The input XML is:
!image-2019-04-24-13-41-26-860.png!
The output JSON is almost correct, yet it is missing two critical fields (they both show up as "null". The null fields are {color:#FF0000}position{color} and {color:#FF0000}ncsmTrackData{color}.
!image-2019-04-24-13-41-00-704.png!
The configuration of my ConvertRecord is:
!image-2019-04-24-13-43-28-531.png!
My XMLReader configuration is:
!image-2019-04-24-13-43-59-706.png!
Why are these two fields null? It would seem that this is a bug in the schema inference capability.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)