]
Steven Hawkins resolved TEIID-5439.
-----------------------------------
Fix Version/s: 10.3.4
11.0.2
Resolution: Done
Updated the logic to avoid the secondary exception and to show the original error.
Batch removed during large internal materialization load
--------------------------------------------------------
Key: TEIID-5439
URL:
https://issues.jboss.org/browse/TEIID-5439
Project: Teiid
Issue Type: Bug
Components: Query Engine
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 11.1, 10.3.4, 11.0.2
For a sufficiently large materialization, such as 33000000 rows by 10 columns of
biginteger/string types, the load will not complete and instead produce an exception:
{code}
ERROR: TEIID30019 Unexpected exception for request yGKKEfVoiD5O.0
org.teiid.core.TeiidRuntimeException: Batch removed
at org.teiid.query.tempdata.TempTableDataManager.rethrow(TempTableDataManager.java:880)
at
org.teiid.query.tempdata.TempTableDataManager.access$800(TempTableDataManager.java:92)
at org.teiid.query.tempdata.TempTableDataManager$4.load(TempTableDataManager.java:625)
at
org.teiid.query.tempdata.TempTableDataManager$4.createTupleSource(TempTableDataManager.java:548)
at
org.teiid.query.tempdata.TempTableDataManager$ProxyTupleSource.nextTuple(TempTableDataManager.java:108)
at org.teiid.query.processor.relational.AccessNode.nextBatchDirect(AccessNode.java:401)
at
org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:277)
at
org.teiid.query.processor.relational.RelationalPlan.nextBatch(RelationalPlan.java:141)
at org.teiid.query.processor.QueryProcessor.nextBatchDirect(QueryProcessor.java:148)
at org.teiid.query.processor.QueryProcessor.nextBatch(QueryProcessor.java:111)
at org.teiid.query.processor.BatchCollector.collectTuples(BatchCollector.java:160)
at org.teiid.query.processor.BatchCollector.collectTuples(BatchCollector.java:142)
at org.teiid.dqp.internal.process.RequestWorkItem.processMore(RequestWorkItem.java:492)
{code}