[JBoss JIRA] Created: (TEIID-1076) When running BQT tests, an Assertion error is seen when batches are being processed
by Van Halbert (JIRA)
When running BQT tests, an Assertion error is seen when batches are being processed
-----------------------------------------------------------------------------------
Key: TEIID-1076
URL: https://jira.jboss.org/jira/browse/TEIID-1076
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 7.0
Reporter: Van Halbert
Assignee: Van Halbert
Fix For: 7.0
I am testing BQT pushdown on MS3 and seeing several "java.lang.AssertionError" occurring on all sources. This is one example of a query and the exception. Any idea what is going on?
SELECT BQT1.SmallA.StringKey, BQT1.SmallB.ByteNum FROM BQT1.SmallA, BQT1.SmallB WHERE BQT1.SmallA.StringKey = convert(BQT1.SmallB.ByteNum, string) AND BQT1.SmallA.IntKey >= 0 AND BQT1.SmallB.IntKey >= 0 ORDER BY BQT1.SmallA.StringKey
2010-04-28 08:17:11,027 ERROR [org.teiid.CONNECTOR] (WorkManager(2)-25_QueryProcessorQueue344368) Connector worker process failed for atomic-request=111.0.1.179477
java.lang.AssertionError: Assertion failed.
at com.metamatrix.core.util.Assertion.failed(Assertion.java:76)
at com.metamatrix.core.util.Assertion.assertTrue(Assertion.java:71)
at com.metamatrix.core.util.Assertion.assertTrue(Assertion.java:63)
at org.teiid.dqp.internal.datamgr.impl.ConnectorWorkItem.handleBatch(ConnectorWorkItem.java:284)
at org.teiid.dqp.internal.datamgr.impl.ConnectorWorkItem.more(ConnectorWorkItem.java:143)
at org.teiid.dqp.internal.process.DataTierTupleSource.nextTuple(DataTierTupleSource.java:90)
at com.metamatrix.query.processor.relational.AccessNode.nextBatchDirect(AccessNode.java:136)
at com.metamatrix.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:260)
at com.metamatrix.query.processor.relational.RelationalPlan.nextBatch(RelationalPlan.java:106)
at com.metamatrix.query.processor.QueryProcessor.nextBatchDirect(QueryProcessor.java:147)
at com.metamatrix.query.processor.QueryProcessor.nextBatch(QueryProcessor.java:103)
at com.metamatrix.query.processor.BatchCollector.collectTuples(BatchCollector.java:71)
at org.teiid.dqp.internal.process.RequestWorkItem.processMore(RequestWorkItem.java:249)
at org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:179)
at org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:48)
at org.teiid.dqp.internal.process.DQPWorkContext$2.call(DQPWorkContext.java:194)
at org.teiid.dqp.internal.process.DQPWorkContext$2.call(DQPWorkContext.java:191)
at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:180)
at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:191)
at org.teiid.dqp.internal.process.StatsCapturingWorkManager$WorkWrapper.run(StatsCapturingWorkManager.java:102)
at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:205)
at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
2010-04-28 08:17:11,027 WARN [org.teiid.PROCESSOR] (WorkManager(2)-25_QueryProcessorQueue344368) Processing exception 'java.lang.AssertionError: Assertion failed.' for request 111.0. Exception type com.metamatrix.api.exception.MetaMatrixProcessingException thrown from com.metamatrix.core.util.Assertion.failed(Assertion.java:76). Enable more detailed logging to see the entire stacktrace.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 6 months
[JBoss JIRA] Created: (TEIID-806) JDBC connector handling of convert is inconsistent
by Steven Hawkins (JIRA)
JDBC connector handling of convert is inconsistent
--------------------------------------------------
Key: TEIID-806
URL: https://jira.jboss.org/jira/browse/TEIID-806
Project: Teiid
Issue Type: Quality Risk
Components: JDBC Connector
Affects Versions: 6.0.0
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 6.3.0
If a source lacks the exact representation of a Teiid type we approximate it with the closest source type. Pushed converts will typically not have the same affect as if they are evaluated in the engine. For example sources lacking byte or tinyint types are having conversions dropped rather, but the actual effect should be modulo the max byte value. We also are not ensuring that the truncation or rounding behavior is the same for all conversions - such as from a floating point number to a fixed point.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 6 months