[JBoss JIRA] Created: (TEIID-1538) Invalid conversion from type class java.lang.Object with value 'oracle.sql.ROWID@1379cbd' to type class java.lang.String
by Russell Steel (JIRA)
Invalid conversion from type class java.lang.Object with value 'oracle.sql.ROWID@1379cbd' to type class java.lang.String
------------------------------------------------------------------------------------------------------------------------
Key: TEIID-1538
URL: https://issues.jboss.org/browse/TEIID-1538
Project: Teiid
Issue Type: Bug
Components: Query Engine, Server
Affects Versions: 7.3
Reporter: Russell Steel
Assignee: Steven Hawkins
Attachments: O2_Teiid.vdb, server.log
I have a VDB with 3 queries that select direct from an Oracle table, where a SUBSTRING function is being used on the ROWID column.
I can successfully SELECT from the 3 queries without error, but when selecting from a 4th view that is join 2 of the 3 tables that I can successfully SELECT from via SQL SquirreL, the 4th view query is failing with;
2011-03-31 11:35:14,968 DEBUG [org.teiid.PROCESSOR] (Worker0_QueryProcessorQueue2) [Ljava.lang.Object;@168fb5a
[TransformationException]Invalid conversion from type class java.lang.Object with value 'oracle.sql.ROWID@1379cbd' to type class java.lang.String
at org.teiid.core.types.basic.ObjectToAnyTransform.transformDirect(ObjectToAnyTransform.java:59)
at org.teiid.core.types.Transform.transform(Transform.java:47)
at org.teiid.core.types.DataTypeManager.transformValue(DataTypeManager.java:781)
at org.teiid.dqp.internal.process.DataTierTupleSource.correctTypes(DataTierTupleSource.java:155)
at org.teiid.dqp.internal.process.DataTierTupleSource.nextTuple(DataTierTupleSource.java:227)
at org.teiid.query.processor.relational.AccessNode.nextBatchDirect(AccessNode.java:154)
at org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:274)
at org.teiid.query.processor.BatchIterator.finalRow(BatchIterator.java:70)
at org.teiid.common.buffer.AbstractTupleSource.getCurrentTuple(AbstractTupleSource.java:69)
at org.teiid.query.processor.BatchIterator.getCurrentTuple(BatchIterator.java:82)
at org.teiid.common.buffer.AbstractTupleSource.hasNext(AbstractTupleSource.java:91)
at org.teiid.query.processor.relational.MergeJoinStrategy.process(MergeJoinStrategy.java:158)
at org.teiid.query.processor.relational.JoinNode.nextBatchDirect(JoinNode.java:196)
at org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:274)
at org.teiid.query.processor.relational.ProjectNode.nextBatchDirect(ProjectNode.java:162)
at org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:274)
at org.teiid.query.processor.relational.RelationalPlan.nextBatch(RelationalPlan.java:161)
at org.teiid.query.processor.QueryProcessor.nextBatchDirect(QueryProcessor.java:150)
at org.teiid.query.processor.QueryProcessor.nextBatch(QueryProcessor.java:105)
at org.teiid.query.processor.BatchCollector.collectTuples(BatchCollector.java:115)
at org.teiid.dqp.internal.process.RequestWorkItem.processMore(RequestWorkItem.java:250)
at org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:184)
at org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:49)
at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:188)
at org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:116)
at org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:290)
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:662)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months
[JBoss JIRA] Created: (TEIID-1548) Creating XA data sources from AdminShell: prop name "addtional-ds-properties" has misspelling - could cause confusion
by Paul Nittel (JIRA)
Creating XA data sources from AdminShell: prop name "addtional-ds-properties" has misspelling - could cause confusion
---------------------------------------------------------------------------------------------------------------------
Key: TEIID-1548
URL: https://issues.jboss.org/browse/TEIID-1548
Project: Teiid
Issue Type: Bug
Components: AdminApi
Affects Versions: 7.1.1
Environment: All
Reporter: Paul Nittel
Assignee: Steven Hawkins
Priority: Minor
With help from Ramesh, I was able to create an XA data source using:
dp.setProperty( "addtional-ds-properties", "ServerName=foo, PortNumber=50000, DatabaseName=dbdata, DriverType=4, User=someuser, Password=somepwd" )
I noticed that "additional" was misspelled and tried that. It doesn't work; you must use the misspelled version.
I'd like to see this be corrected before some user tries to use this with the correct spelling.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months
[JBoss JIRA] Created: (TEIID-1474) Add query hint to limit parallel execution of union members
by Howard Abrams (JIRA)
Add query hint to limit parallel execution of union members
-----------------------------------------------------------
Key: TEIID-1474
URL: https://issues.jboss.org/browse/TEIID-1474
Project: Teiid
Issue Type: Feature Request
Reporter: Howard Abrams
Assignee: Steven Hawkins
We would like a new query hint to limit the number of parallel executions of union members. This is useful in two situations:
1. When the queries are expensive, but the overall union contains a limit that is most likely to be fulfilled by the first member of the union
2. When the queries are backed by a common resource which may be overloaded by multiple queries
The addition of a hint would make this manageable by the client; perhaps something like "/*+ parallel=2*/"?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months