]
Steven Hawkins resolved TEIID-3050.
-----------------------------------
Fix Version/s: 9.0
8.12.5
8.13.3
(was: 8.9)
Resolution: Done
The logic for setting noTxn on the transaction context was not generally correct and was
removed. Instead we'll always use the incremental approach.
allow for more incremental insert with iterator
-----------------------------------------------
Key: TEIID-3050
URL:
https://issues.jboss.org/browse/TEIID-3050
Project: Teiid
Issue Type: Enhancement
Components: Misc. Connectors, Query Engine
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 9.0, 8.12.5, 8.13.3
The current bulk insert logic assumes that it is avoiding a global transactions by fully
reading the results before sending the tuplebuffer iterator to the source for processing,
which can then just use a local transaction. However if we are already operating under a
transaction or the user doesn't want a transaction (such as with a staging
materialized view load) then the insert should happen more incrementally.