[
https://issues.redhat.com/browse/TEIID-6018?page=com.atlassian.jira.plugi...
]
Steven Hawkins commented on TEIID-6018:
---------------------------------------
It looks an odd result as well when dealing with something like a column path of $..prop
and json that looks like {"a":1, "prop":2}. Instead of just [2],
I'm seeing [null,2].
jayway json processing logic returns single object values as just
maps, not JSONObject
--------------------------------------------------------------------------------------
Key: TEIID-6018
URL:
https://issues.redhat.com/browse/TEIID-6018
Project: Teiid
Issue Type: Bug
Components: Query Engine
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Priority: Major
Fix For: 15.0.1, 14.0.2, 16.0
Original Estimate: 2 hours
Time Spent: 2 hours, 30 minutes
Remaining Estimate: 0 minutes
When a value is returned from the context read for arrays it's an instanceof
JSONArray. There was an expectation that for objects it was JSONObject. Instead it's
just a hashmap leading to an invalid string conversion.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)