[teiid-issues] [JBoss JIRA] (TEIID-2092) Allow for streaming processing of json
Steven Hawkins (JIRA)
jira-events at lists.jboss.org
Thu Jul 5 16:37:12 EDT 2012
[ https://issues.jboss.org/browse/TEIID-2092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven Hawkins resolved TEIID-2092.
-----------------------------------
Resolution: Done
took the approach of narrowly looking for the usage of jsontoxml (and xmlparse) as a parameter to xmltable/xmlquery and ensured that stream handling was used instead.
the json streaming is a little convoluted since we are using the json ContentHandler as an XMLEventReader, which needs converted to an XMLStreamReader, which needs wrapped by a Saxon PullEventSource
updated the jsontoxml logic to set the xsi:type for non-string data
updated the xpathvalue function to accept a blob and corrected the xpathvalue parameter docs
> Allow for streaming processing of json
> --------------------------------------
>
> Key: TEIID-2092
> URL: https://issues.jboss.org/browse/TEIID-2092
> Project: Teiid
> Issue Type: Enhancement
> Components: Query Engine
> Affects Versions: 7.4
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Priority: Minor
> Fix For: 8.1
>
>
> The jsontoxml function saves an intermediate copy of the xml representation. We should also have the ability to stream process the resulting xml to avoid the intermediate copy.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the teiid-issues
mailing list