[JBoss JIRA] (TEIID-4869) Fix endpoint url for the "odata4service-as-a-datasource" in the embedded quickstart
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-4869?page=com.atlassian.jira.plugin... ]
Steven Hawkins updated TEIID-4869:
----------------------------------
Fix Version/s: 9.3
> Fix endpoint url for the "odata4service-as-a-datasource" in the embedded quickstart
> ------------------------------------------------------------------------------------
>
> Key: TEIID-4869
> URL: https://issues.jboss.org/browse/TEIID-4869
> Project: Teiid
> Issue Type: Bug
> Components: Quick Starts
> Affects Versions: 9.2
> Environment: Additional info.
> - JBDS 9.1
> - translator-odata4-9.2.0.Alpha1.jar
> Reporter: Anu Saji
> Assignee: Kylin Soong
> Priority: Minor
> Fix For: 9.3
>
>
> The example quickstart using Odata4 Service from emedded example =>
> https://github.com/teiid/teiid-embedded-examples/tree/master/odata4servic...
> throws NPE [1]
> It currently uses the endpoint url that is using version =>
> <edmx:Edmx Version="1.0">
> when the required is
> <edmx:Edmx Version="4.0">
> src code
> ~~~
> ...
> managedconnectionFactory.setEndPoint("http://services.odata.org/Northwind/Northwind.svc");
> ...
> ~~~
> [1]
> ~~~
> NFO: TEIID40118 VDB NorthwindVDB.1 added to the repository
> Exception in thread "main" java.lang.NullPointerException
> at org.teiid.translator.odata4.ODataMetadataProcessor.getMetadata(ODataMetadataProcessor.java:118)
> at org.teiid.translator.odata4.ODataMetadataProcessor.process(ODataMetadataProcessor.java:102)
> at org.teiid.translator.odata4.ODataExecutionFactory.getMetadata(ODataExecutionFactory.java:112)
> at org.teiid.translator.odata4.ODataExecutionFactory.getMetadata(ODataExecutionFactory.java:58)
> at org.teiid.query.metadata.NativeMetadataRepository.getMetadata(NativeMetadataRepository.java:96)
> at org.teiid.query.metadata.NativeMetadataRepository.loadMetadata(NativeMetadataRepository.java:62)
> at org.teiid.query.metadata.ChainingMetadataRepository.loadMetadata(ChainingMetadataRepository.java:55)
> at org.teiid.runtime.EmbeddedServer.loadMetadata(EmbeddedServer.java:811)
> at org.teiid.runtime.AbstractVDBDeployer.loadMetadata(AbstractVDBDeployer.java:210)
> at org.teiid.runtime.EmbeddedServer.deployVDB(EmbeddedServer.java:761)
> at org.teiid.runtime.EmbeddedServer.deployVDB(EmbeddedServer.java:702)
> at org.teiid.example.TeiidEmbeddedOData4ServiceDataSource.main(TeiidEmbeddedOData4ServiceDataSource.java:50)
> ~~~
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 8 months
[JBoss JIRA] (TEIID-4872) JSON Functions need more examples
by Ramesh Reddy (JIRA)
Ramesh Reddy created TEIID-4872:
-----------------------------------
Summary: JSON Functions need more examples
Key: TEIID-4872
URL: https://issues.jboss.org/browse/TEIID-4872
Project: Teiid
Issue Type: Enhancement
Components: Documentation
Reporter: Ramesh Reddy
Assignee: Ramesh Reddy
Fix For: 9.3
JSON functions can use more examples building documents based on tabular data.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 8 months
[JBoss JIRA] (TEIID-4871) Google translator missing support for transaction rollback
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-4871?page=com.atlassian.jira.plugin... ]
Steven Hawkins commented on TEIID-4871:
---------------------------------------
This is not expected behavior. The resource adapter is non-transactional and there are no compensating transactions.
> Google translator missing support for transaction rollback
> ----------------------------------------------------------
>
> Key: TEIID-4871
> URL: https://issues.jboss.org/browse/TEIID-4871
> Project: Teiid
> Issue Type: Bug
> Components: Documentation
> Affects Versions: 9.3
> Reporter: Lucie Fabrikova
> Assignee: Steven Hawkins
>
> Rollback of transaction (or transactions at all?) seem to be not supported, I tried to set for google resource adapter:
> <transaction-support>LocalTransaction</transaction-support>
> but still sequence of queries like the one described in steps to reproduce doesn't reflect the rollback.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 8 months
[JBoss JIRA] (TEIID-4871) Google translator missing support for transaction rollback
by Lucie Fabrikova (JIRA)
Lucie Fabrikova created TEIID-4871:
--------------------------------------
Summary: Google translator missing support for transaction rollback
Key: TEIID-4871
URL: https://issues.jboss.org/browse/TEIID-4871
Project: Teiid
Issue Type: Bug
Components: Documentation
Affects Versions: 9.3
Reporter: Lucie Fabrikova
Assignee: Steven Hawkins
Rollback of transaction (or transactions at all?) seem to be not supported, I tried to set for google resource adapter:
<transaction-support>LocalTransaction</transaction-support>
but still sequence of queries like the one described in steps to reproduce doesn't reflect the rollback.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 8 months
[JBoss JIRA] (TEIID-4870) Google translator unexpected behavior for view update without trigger
by Lucie Fabrikova (JIRA)
[ https://issues.jboss.org/browse/TEIID-4870?page=com.atlassian.jira.plugin... ]
Lucie Fabrikova updated TEIID-4870:
-----------------------------------
Attachment: googlespreadsheetcrud-vdb.xml-direct-trig-up-orig
> Google translator unexpected behavior for view update without trigger
> ---------------------------------------------------------------------
>
> Key: TEIID-4870
> URL: https://issues.jboss.org/browse/TEIID-4870
> Project: Teiid
> Issue Type: Bug
> Affects Versions: 9.3
> Reporter: Lucie Fabrikova
> Assignee: Steven Hawkins
> Attachments: googlespreadsheetcrud-vdb.xml-direct-trig-up-orig
>
>
> If there is a view (CRUD.SmallA_Direct) which defines only a subset of foreign table (Source.SmallA) columns, there needs to be defined a trigger for update to work correctly. Otherwise unexpected results are returned after executing update:
> * for updated rows, it converts String columns of SmallA_Direct to decimal numbers,
> * for not updated rows it returns null for String columns
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 8 months
[JBoss JIRA] (TEIID-4870) Google translator unexpected behavior for view update without trigger
by Lucie Fabrikova (JIRA)
Lucie Fabrikova created TEIID-4870:
--------------------------------------
Summary: Google translator unexpected behavior for view update without trigger
Key: TEIID-4870
URL: https://issues.jboss.org/browse/TEIID-4870
Project: Teiid
Issue Type: Bug
Affects Versions: 9.3
Reporter: Lucie Fabrikova
Assignee: Steven Hawkins
If there is a view (CRUD.SmallA_Direct) which defines only a subset of foreign table (Source.SmallA) columns, there needs to be defined a trigger for update to work correctly. Otherwise unexpected results are returned after executing update:
* for updated rows, it converts String columns of SmallA_Direct to decimal numbers,
* for not updated rows it returns null for String columns
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 8 months
[JBoss JIRA] (TEIID-4612) Infinistpa DSL translator - table names are case sensitive
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIID-4612?page=com.atlassian.jira.plugin... ]
Work on TEIID-4612 started by Van Halbert.
------------------------------------------
> Infinistpa DSL translator - table names are case sensitive
> ----------------------------------------------------------
>
> Key: TEIID-4612
> URL: https://issues.jboss.org/browse/TEIID-4612
> Project: Teiid
> Issue Type: Bug
> Components: JDG Connector
> Affects Versions: 8.12.8.6_3
> Reporter: Juraj Duráni
> Assignee: Van Halbert
>
> Table names defined in DDL metadata are case sensitive.
> Example:
> This table name has exact name as object in JDG cache
> {code:sql|title=DDL metadata}
> CREATE FOREIGN TABLE SmallA (intKey integer PRIMARY KEY,...
> {code}
> This query executes correctly:
> {code:sql|title=Query}
> insert into smalla (intkey, stringkey) values (1, '1');
> {code}
> However, changing metadata to this:
> {code:sql|title=Updated DDL metadata}
> CREATE FOREIGN TABLE SMALLA (intKey integer PRIMARY KEY,...
> {code}
> Ends with error:
> {code:plain}
> 14:58:31,509 WARN [org.teiid.CONNECTOR] (Worker17_QueryProcessorQueue224) Connector worker process failed for atomic-request=sUTIOW6woCs0.0.0.57: org.teiid.translator.TranslatorException: TEIID21005 Registered Class not found for table reference SMALLA, check table name or nameInSouce to ensure one matches a registered class in the resource adapter
> at org.teiid.translator.object.util.ObjectUtil.getRegisteredClass(ObjectUtil.java:106) [translator-object-8.12.8.6_3-redhat-1.jar:8.12.8.6_3-redhat-1]
> at org.teiid.translator.object.ObjectUpdateExecution.executeUpdate(ObjectUpdateExecution.java:121) [translator-object-8.12.8.6_3-redhat-1.jar:8.12.8.6_3-redhat-1]
> at org.teiid.translator.object.ObjectUpdateExecution.execute(ObjectUpdateExecution.java:100) [translator-object-8.12.8.6_3-redhat-1.jar:8.12.8.6_3-redhat-1]
> at org.teiid.dqp.internal.datamgr.ConnectorWorkItem$1.execute(ConnectorWorkItem.java:404) [teiid-engine-8.12.8.6_3-redhat-1.jar:8.12.8.6_3-redhat-1]
> at org.teiid.dqp.internal.datamgr.ConnectorWorkItem.execute(ConnectorWorkItem.java:366) [teiid-engine-8.12.8.6_3-redhat-1.jar:8.12.8.6_3-redhat-1]
> at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source) [:1.8.0-internal]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0-internal]
> at java.lang.reflect.Method.invoke(Method.java:483) [rt.jar:1.8.0-internal]
> at org.teiid.dqp.internal.datamgr.ConnectorManager$1.invoke(ConnectorManager.java:211) [teiid-engine-8.12.8.6_3-redhat-1.jar:8.12.8.6_3-redhat-1]
> at com.sun.proxy.$Proxy47.execute(Unknown Source)
> at org.teiid.dqp.internal.process.DataTierTupleSource.getResults(DataTierTupleSource.java:306) [teiid-engine-8.12.8.6_3-redhat-1.jar:8.12.8.6_3-redhat-1]
> at org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:112) [teiid-engine-8.12.8.6_3-redhat-1.jar:8.12.8.6_3-redhat-1]
> at org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:108) [teiid-engine-8.12.8.6_3-redhat-1.jar:8.12.8.6_3-redhat-1]
> at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0-internal]
> at org.teiid.dqp.internal.process.FutureWork.run(FutureWork.java:65) [teiid-engine-8.12.8.6_3-redhat-1.jar:8.12.8.6_3-redhat-1]
> at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:280) [teiid-engine-8.12.8.6_3-redhat-1.jar:8.12.8.6_3-redhat-1]
> at org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:119) [teiid-engine-8.12.8.6_3-redhat-1.jar:8.12.8.6_3-redhat-1]
> at org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:210) [teiid-engine-8.12.8.6_3-redhat-1.jar:8.12.8.6_3-redhat-1]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0-internal]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0-internal]
> at java.lang.Thread.run(Thread.java:744) [rt.jar:1.8.0-internal]
> {code}
> The error happens even with specified NAMEINSOURCE for the table:
> {code:sql|title=DDL metadata}
> CREATE FOREIGN TABLE SmallA (intKey integer PRIMARY KEY,...
> OPTIONS (NAMEINSOURCE 'SmallA', ...)
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 8 months