[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
[JBoss JIRA] Created: (TEIID-1569) Documentation on creating UDF, extending ExecutionFactory and defining @Translator name should indicate what to do with the translator name
by Van Halbert (JIRA)
Documentation on creating UDF, extending ExecutionFactory and defining @Translator name should indicate what to do with the translator name
-------------------------------------------------------------------------------------------------------------------------------------------
Key: TEIID-1569
URL: https://issues.jboss.org/browse/TEIID-1569
Project: Teiid
Issue Type: Enhancement
Components: Documentation
Affects Versions: 7.1.1
Reporter: Van Halbert
Assignee: Steven Hawkins
Priority: Minor
A user was trying to follow the documentation (http://docs.jboss.org/teiid/7.3.0.Final/developer-guide/en-US/html_single...) on creating a UDF and have it pushed down to the source. But they didn't make the correlation between the process of extending the ExecutionFactory and then having to use the defined @Translator name. It wasn't obvious to them. Therefore, I think it would be good to indicated in the "Required" segment of the example of extending the Oracle Connector:
Required - extend the OracleExecutionFactory and add SCORE and CONTAINS as supported functions. For this example, we'll call the class MyOracleExecutionFactory. Add the org.teiid.translator.Translator annotation to the class, e.g. @Translator(name="myoracle")
------
Add a follow on sentence to indicate that the @Translator name (i.e., "myoracle") is the name to assign to the translator for the physical model for which the custom translator will be used (or something like that).
--
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-1554) NullPointerException in NodeEditor
by Mark Addleman (JIRA)
NullPointerException in NodeEditor
----------------------------------
Key: TEIID-1554
URL: https://issues.jboss.org/browse/TEIID-1554
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 7.3
Reporter: Mark Addleman
Assignee: Steven Hawkins
NPE in NodeEditor with the following SQL:
SQL SELECT B."SYSID", B."USERID", (SELECT COUNT(*) FROM (SELECT * FROM notes.RETRIEVE_NOTES WHERE OBJECT_PKEY = XMLSERIALIZE(XMLELEMENT("SECURITY.BASEUSER", XMLATTRIBUTES(B."SYSID",B."USERID")) as String)) as foo) as C_notesForObject, 'SECURITY.BASEUSER' as "_objecttype_" FROM "SECURITY.BASEUSER" as B ORDER BY B."USERID" ASC LIMIT 10
Stack trace:
org.teiid.jdbc.TeiidSQLException: org.teiid.core.TeiidException
at org.teiid.jdbc.TeiidSQLException.create(TeiidSQLException.java:109)
at org.teiid.jdbc.TeiidSQLException.create(TeiidSQLException.java:69)
at org.teiid.jdbc.StatementImpl.executeSql(StatementImpl.java:497)
at org.teiid.jdbc.PreparedStatementImpl.executeQuery(PreparedStatementImpl.java:214)
at com.ca.chorus.db.DbExecutor.withResultSet(DbExecutor.java:198)
at com.ca.chorus.db.DbExecutor.gatherResults(DbExecutor.java:367)
at com.ca.chorus.db.DbExecutor.gatherResults(DbExecutor.java:361)
at com.ca.chorus.teiidtest.TestTeiid.run(TestTeiid.java:72)
at com.ca.chorus.teiidtest.TestTeiid.main(TestTeiid.java:24)
Caused by: [TeiidException]
1 [NullPointerException]
at org.teiid.client.ResultsMessage.setException(ResultsMessage.java:177)
at org.teiid.dqp.internal.process.RequestWorkItem.sendError(RequestWorkItem.java:557)
at org.teiid.dqp.internal.process.RequestWorkItem.attemptClose(RequestWorkItem.java:335)
at org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:218)
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:619)
Caused by: java.lang.NullPointerException
at org.teiid.query.optimizer.relational.plantree.NodeEditor.findAllNodesHelper(NodeEditor.java:123)
at org.teiid.query.optimizer.relational.plantree.NodeEditor.findAllNodes(NodeEditor.java:102)
at org.teiid.query.optimizer.relational.rules.RuleCollapseSource.execute(RuleCollapseSource.java:85)
at org.teiid.query.optimizer.relational.RelationalPlanner.executeRules(RelationalPlanner.java:458)
at org.teiid.query.optimizer.relational.RelationalPlanner.optimize(RelationalPlanner.java:227)
at org.teiid.query.optimizer.QueryOptimizer.optimizePlan(QueryOptimizer.java:148)
at org.teiid.dqp.internal.process.Request.generatePlan(Request.java:429)
at org.teiid.dqp.internal.process.PreparedStatementRequest.generatePlan(PreparedStatementRequest.java:138)
at org.teiid.dqp.internal.process.Request.processRequest(Request.java:452)
at org.teiid.dqp.internal.process.RequestWorkItem.processNew(RequestWorkItem.java:372)
at org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:174)
... 7 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months