Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Given the following input:
{ "name": "John Doe", "title": "Software Engineer", "age": 40, "addresses": [{ "streetNumber": 4820, "street": "My Street", "apartment": null, "city": "New York", "state": "NY", "country": "USA", "label": "work" }, { "streetNumber": 327, "street": "Small Street", "apartment": 309, "city": "Los Angeles", "state": "CA", "country": "USA", "label": "home" }], "project": { "name": "Apache NiFi", "maintainer": { "id": 28302873, "name": "Apache Software Foundation" }, "debutYear": 2014 } }
If I use the following query:
SELECT addresses FROM FLOWFILE
I expect to get the output:
{ "addresses" : [ { "streetNumber" : 4820, "street" : "My Street", "apartment" : null, "city" : "New York", "state" : "NY", "country" : "USA", "label" : "work" }, { "streetNumber" : 327, "street" : "Small Street", "apartment" : 309, "city" : "Los Angeles", "state" : "CA", "country" : "USA", "label" : "home" } ] }
But instead the addresses field is something like MapRecord[streetNumber=4820, street=My Street...]
Attachments
Issue Links
- links to