[JBoss JIRA] (TEIID-2256) Embedded refinements
by Steven Hawkins (JIRA)
Steven Hawkins created TEIID-2256:
-------------------------------------
Summary: Embedded refinements
Key: TEIID-2256
URL: https://issues.jboss.org/browse/TEIID-2256
Project: Teiid
Issue Type: Enhancement
Components: Embedded
Affects Versions: 8.1
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 8.2
There should be a way to dump schemas and there should be a way to add named translators and translators by class, rather than just by instance without a name.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months
[JBoss JIRA] (TEIID-2307) Issue in InsertResolver, using wrong iterator
by Van Halbert (JIRA)
Van Halbert created TEIID-2307:
----------------------------------
Summary: Issue in InsertResolver, using wrong iterator
Key: TEIID-2307
URL: https://issues.jboss.org/browse/TEIID-2307
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 8.3
Reporter: Van Halbert
Assignee: Van Halbert
Fix For: 8.3
The InsertResolver is referencing the wrong iterator. A NoSuchElement is being thrown when it tries to process this section of the code:
Iterator<ElementSymbol> defaultIter = insertElmnts.iterator();
while(defaultIter.hasNext()) {
- ElementSymbol next = varIter.next();
+ ElementSymbol next = defaultIter.next();
ElementSymbol varSymbol = next.clone();
varSymbol.getGroupSymbol().setName(ProcedureReservedWords.CHANGING);
varSymbol.setType(DataTypeManager.DefaultDataClasses.BOOLEAN);
(~/RedHat/github/teiid) unknown001cfb5baa3b $
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months
[JBoss JIRA] (TEIID-2246) Incorrect results with TIMESTAMPDIFF
by Van Halbert (JIRA)
Van Halbert created TEIID-2246:
----------------------------------
Summary: Incorrect results with TIMESTAMPDIFF
Key: TEIID-2246
URL: https://issues.jboss.org/browse/TEIID-2246
Project: Teiid
Issue Type: Feature Request
Components: Server
Affects Versions: 7.4.4
Reporter: Van Halbert
Assignee: Steven Hawkins
2 issues with TIMESTAMPDIFF:
1.
select TIMESTAMPDIFF(SQL_TSI_DAY,parseDate('2012-01-01', 'yyyy-MM-dd'),parseDate('2304-04-12', 'yyyy-MM-dd'));
result = 106751
If you increase the end date by 1 day:
select TIMESTAMPDIFF(SQL_TSI_DAY,parseDate('2012-01-01', 'yyyy-MM-dd'),parseDate('2304-04-13', 'yyyy-MM-dd'))
result = -106751. I would expected the answer to be 106752
2. Both MS Excel and Oracle give the number of days between 1-Jan-2012 and 12-Apr-2304 as 106752, not the 106751 that EDS is reporting.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months
[JBoss JIRA] (TEIID-2277) Error Executing WS Translator
by Ted Jones (JIRA)
Ted Jones created TEIID-2277:
--------------------------------
Summary: Error Executing WS Translator
Key: TEIID-2277
URL: https://issues.jboss.org/browse/TEIID-2277
Project: Teiid
Issue Type: Bug
Components: Connector API
Affects Versions: 8.2
Reporter: Ted Jones
Assignee: Steven Hawkins
When executing against a web service source, I encounter the following exception:
13:19:19,493 WARN [org.teiid.CONNECTOR] (Worker1_QueryProcessorQueue5) Connector worker process failed for atomic-request=8ZMXsaZy+Sme.0.9.1: org.teiid.translator.TranslatorException: Error reading XMLStreamReader.
at org.teiid.translator.ws.WSProcedureExecution.execute(WSProcedureExecution.java:139)
at org.teiid.dqp.internal.datamgr.ConnectorWorkItem.execute(ConnectorWorkItem.java:255) [teiid-engine-8.2.0.Beta2.jar:8.2.0.Beta2]
at org.teiid.dqp.internal.process.DataTierTupleSource.getResults(DataTierTupleSource.java:457) [teiid-engine-8.2.0.Beta2.jar:8.2.0.Beta2]
at org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:177) [teiid-engine-8.2.0.Beta2.jar:8.2.0.Beta2]
at org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:174) [teiid-engine-8.2.0.Beta2.jar:8.2.0.Beta2]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.6.0_24]
at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.6.0_24]
at org.teiid.dqp.internal.process.DQPCore$FutureWork.run(DQPCore.java:118) [teiid-engine-8.2.0.Beta2.jar:8.2.0.Beta2]
at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:250) [teiid-engine-8.2.0.Beta2.jar:8.2.0.Beta2]
at org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:123) [teiid-engine-8.2.0.Beta2.jar:8.2.0.Beta2]
at org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:298) [teiid-engine-8.2.0.Beta2.jar:8.2.0.Beta2]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.6.0_24]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.6.0_24]
at java.lang.Thread.run(Thread.java:679) [rt.jar:1.6.0_24]
Caused by: javax.xml.ws.soap.SOAPFaultException: Error reading XMLStreamReader.
at org.apache.cxf.jaxws.DispatchImpl.mapException(DispatchImpl.java:285)
at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:388)
at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:241)
at org.teiid.translator.ws.WSProcedureExecution.execute(WSProcedureExecution.java:135)
... 13 more
Caused by: org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.
at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:237)
at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:60)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:795)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1626)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1493)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1401)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:648)
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:531)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:461)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:364)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:317)
at org.apache.cxf.endpoint.ClientImpl.invokeWrapped(ClientImpl.java:352)
at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:381)
... 15 more
Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
at [row,col {unknown-source}]: [1,0]
at com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:677)
at com.ctc.wstx.sr.BasicStreamReader.handleEOF(BasicStreamReader.java:2104)
at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2010)
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1102)
at com.ctc.wstx.sr.BasicStreamReader.nextTag(BasicStreamReader.java:1125)
at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:138)
... 31 more
13:19:19,511 WARN [org.teiid.PROCESSOR] (Worker0_QueryProcessorQueue6) TEIID30020 Processing exception 'TEIID30504 stateService: Error reading XMLStreamReader.' for request 8ZMXsaZy+Sme.0. Exception type org.teiid.core.TeiidProcessingException thrown from com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:677). Enable more detailed logging to see the entire stacktrace.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months
[JBoss JIRA] (TEIID-2297) java.lang.IndexOutOfBoundsException in LobManager under continuous execution
by Mark Addleman (JIRA)
Mark Addleman created TEIID-2297:
------------------------------------
Summary: java.lang.IndexOutOfBoundsException in LobManager under continuous execution
Key: TEIID-2297
URL: https://issues.jboss.org/browse/TEIID-2297
Project: Teiid
Issue Type: Bug
Reporter: Mark Addleman
Assignee: Steven Hawkins
Nov 06, 2012 11:53:33 AM org.teiid.logging.JavaLogger log
SEVERE: TEIID30019 Unexpected exception for request AOyPhe2xsxVc.0
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:604)
at java.util.ArrayList.get(ArrayList.java:382)
at org.teiid.common.buffer.LobManager.updateReferences(LobManager.java:116)
at org.teiid.common.buffer.TupleBuffer.addTupleBatch(TupleBuffer.java:138)
at org.teiid.query.processor.BatchCollector.flushBatchDirect(BatchCollector.java:197)
at org.teiid.dqp.internal.process.RequestWorkItem$1.flushBatchDirect(RequestWorkItem.java:555)
at org.teiid.query.processor.BatchCollector.flushBatch(BatchCollector.java:191)
at org.teiid.query.processor.BatchCollector.collectTuples(BatchCollector.java:166)
at org.teiid.dqp.internal.process.RequestWorkItem.processMore(RequestWorkItem.java:382)
at org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:291)
at org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:49)
at org.teiid.dqp.internal.process.RequestWorkItem.run(RequestWorkItem.java:219)
at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:249)
at org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:123)
at org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:298)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
org.teiid.jdbc.TeiidSQLException: Index: 0, Size: 0
at org.teiid.jdbc.TeiidSQLException.create(TeiidSQLException.java:113)
at org.teiid.jdbc.TeiidSQLException.create(TeiidSQLException.java:70)
at org.teiid.jdbc.StatementImpl.postReceiveResults(StatementImpl.java:656)
at org.teiid.jdbc.StatementImpl.access$100(StatementImpl.java:62)
at org.teiid.jdbc.StatementImpl$2.onCompletion(StatementImpl.java:512)
at org.teiid.client.util.ResultsFuture.done(ResultsFuture.java:130)
at org.teiid.client.util.ResultsFuture.access$200(ResultsFuture.java:37)
at org.teiid.client.util.ResultsFuture$1.receiveResults(ResultsFuture.java:75)
at org.teiid.dqp.internal.process.RequestWorkItem.sendError(RequestWorkItem.java:797)
at org.teiid.dqp.internal.process.RequestWorkItem.close(RequestWorkItem.java:483)
at org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:318)
at org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:49)
at org.teiid.dqp.internal.process.RequestWorkItem.run(RequestWorkItem.java:219)
at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:249)
at org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:123)
at org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:298)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: org.teiid.core.TeiidException: Index: 0, Size: 0
at org.teiid.client.ResultsMessage.setException(ResultsMessage.java:172)
at org.teiid.dqp.internal.process.RequestWorkItem.sendError(RequestWorkItem.java:795)
... 10 more
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:604)
at java.util.ArrayList.get(ArrayList.java:382)
at org.teiid.common.buffer.LobManager.updateReferences(LobManager.java:116)
at org.teiid.common.buffer.TupleBuffer.addTupleBatch(TupleBuffer.java:138)
at org.teiid.query.processor.BatchCollector.flushBatchDirect(BatchCollector.java:197)
at org.teiid.dqp.internal.process.RequestWorkItem$1.flushBatchDirect(RequestWorkItem.java:555)
at org.teiid.query.processor.BatchCollector.flushBatch(BatchCollector.java:191)
at org.teiid.query.processor.BatchCollector.collectTuples(BatchCollector.java:166)
at org.teiid.dqp.internal.process.RequestWorkItem.processMore(RequestWorkItem.java:382)
at org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:291)
... 8 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months
[JBoss JIRA] (TEIID-2233) Improve parser errors
by Steven Hawkins (JIRA)
Steven Hawkins created TEIID-2233:
-------------------------------------
Summary: Improve parser errors
Key: TEIID-2233
URL: https://issues.jboss.org/browse/TEIID-2233
Project: Teiid
Issue Type: Feature Request
Components: Query Engine
Affects Versions: 8.1
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 8.2
It would be good if the parser reported more of the sql where the parse error occurred.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months