[
https://issues.jboss.org/browse/TEIID-2390?page=com.atlassian.jira.plugin...
]
Steven Hawkins resolved TEIID-2390.
-----------------------------------
Fix Version/s: 8.5
Resolution: Done
Just improved direct nesting of jsonArray/jsonObject. Further improvements to json/xml
would likely take the form of a compiled plan similar to an xmldocument plan, such that it
can be built top down and account for blocked exceptions. As it stands it would be a
major change to allow inline evaluation (to prevent recopying) of aggregate expressions
and subqueries. Switching a pull processing notion would also help to simply delay
evaluation until the expression is fully evaluated, but must all of the logic was written
from the perspective of fully realizing the values as evaluation proceeds.
The performance improvement is minor for small documents or if there is little direct
nesting, thus I'm not proceeding with SQL/XML at this time.
Improve xml/json production
---------------------------
Key: TEIID-2390
URL:
https://issues.jboss.org/browse/TEIID-2390
Project: Teiid
Issue Type: Enhancement
Components: Query Engine
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 8.4.1, 8.5
The current xml/json logic can produce a lot of intermediate results that are recopied
and can result in a slower performance for larger documents.
The logic could allow for nested evaluations to delay creating their full string forms or
simply allow the return values to remain appendable rather than requiring full copies.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira