Detect when returnable procedure results need to be processed in the
procedure
------------------------------------------------------------------------------
Key: TEIID-3053
URL:
https://issues.jboss.org/browse/TEIID-3053
Project: Teiid
Issue Type: Enhancement
Components: Query Engine
Affects Versions: 8.9
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 8.10
With TEIID-3052 we are now fully processing almost all results in the originating
procedure scope whereas before we were effective performing pipelining in that the results
were created off of the tuple source on demand.
With some upfront or processing time detection we could see when the processorplan is
relying upon resources from the program scope and if not go ahead and pop/return the
results as before. We could also develop a better strategy for dealing with the case when
resources are needed.