[JBoss JIRA] (TEIID-2881) Add support to use DSL when querying remote JDG 6.2
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIID-2881?page=com.atlassian.jira.plugin... ]
Van Halbert commented on TEIID-2881:
------------------------------------
Committed the next set of changes, that updates the metadata processor to add the foreign keys accordingly, for 1-to-many relationships. And because the protobuf definition can refer to the relationship by a different name than the "getter" method, the foreign key will have its NIS set to the name of the "getter" method so that the correct call can be made. This also required a change to the DDLStringVisitor to add the OPTIONS to constraints, so that the metadata can be imported correctly by designer.
The next step is the add the rest of the CRUD operations. Note: remote JDG querying doesn't support transactions.
> Add support to use DSL when querying remote JDG 6.2
> ---------------------------------------------------
>
> Key: TEIID-2881
> URL: https://issues.jboss.org/browse/TEIID-2881
> Project: Teiid
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Misc. Connectors
> Affects Versions: 8.7
> Reporter: Van Halbert
> Assignee: Van Halbert
>
> Add support for querying remote JDG 6.2 using DSL.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 7 months
[JBoss JIRA] (TEIID-2812) Move the packaging of translator modules out of build and into each translator
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-2812?page=com.atlassian.jira.plugin... ]
Steven Hawkins resolved TEIID-2812.
-----------------------------------
Fix Version/s: 8.7
Resolution: Done
Marking as resolved, since the child issues have been addressed.
> Move the packaging of translator modules out of build and into each translator
> ------------------------------------------------------------------------------
>
> Key: TEIID-2812
> URL: https://issues.jboss.org/browse/TEIID-2812
> Project: Teiid
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: Build/Kits
> Affects Versions: 8.7
> Reporter: Van Halbert
> Assignee: Steven Hawkins
> Fix For: 8.7
>
>
> The idea is that each translator will be responsible for building and the packing of the deployable artifacts. And with this, custom development would follow the same pattern. The translator archetype for 8.7.0 has been changed to package the translator jar and module into a zip.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 7 months
[JBoss JIRA] (TEIID-2999) ModeShape translator functions UpperCase/LowerCase should be UPPER/LOWER
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-2999?page=com.atlassian.jira.plugin... ]
Steven Hawkins updated TEIID-2999:
----------------------------------
Fix Version/s: 8.7.1
8.8
Affects Version/s: 7.7
(was: 8.8)
(was: 8.7.1)
> ModeShape translator functions UpperCase/LowerCase should be UPPER/LOWER
> ------------------------------------------------------------------------
>
> Key: TEIID-2999
> URL: https://issues.jboss.org/browse/TEIID-2999
> Project: Teiid
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Misc. Connectors
> Affects Versions: 7.7
> Reporter: Van Halbert
> Assignee: Van Halbert
> Priority: Critical
> Fix For: 8.7.1, 8.8
>
>
> Error:
> {code}
> 14:27:48,921 WARN [org.teiid.CONNECTOR] (Worker39_QueryProcessorQueue1816) Connector worker process failed for atomic-request=WpidMF9SD0dt.4.0.367: org.teiid.translator.jdbc.JDBCExecutionException: 0 TEIID11008:TEIID11004 Error executing statement(s): [SQL: SELECT g_0."jcr:name", g_0."jcr:path", g_0."jcr:score", g_0."mode:depth", g_0."mode:localName", g_0."transform:deleteAllowed", g_0."transform:deleteSql", g_0."transform:deleteSqlDefault", g_0."transform:insertAllowed", g_0."transform:insertSql", g_0."transform:insertSqlDefault", g_0."transform:outputLocked", g_0."transform:selectSql", g_0."transform:updateAllowed", g_0."transform:updateSql", g_0."transform:updateSqlDefault" FROM "transform:withSql" AS g_0 WHERE UpperCase(g_0."transform:selectSql") LIKE '%ORDER_EPPO_PUBKEY%']
> at org.teiid.translator.jdbc.JDBCQueryExecution.execute(JDBCQueryExecution.java:88)
> at org.teiid.dqp.internal.datamgr.ConnectorWorkItem.execute(ConnectorWorkItem.java:312) [teiid-engine-8.4.1-redhat-7.jar:8.4.1-redhat-7]
> at org.teiid.dqp.internal.process.DataTierTupleSource.getResults(DataTierTupleSource.java:301) [teiid-engine-8.4.1-redhat-7.jar:8.4.1-redhat-7]
> at org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:113) [teiid-engine-8.4.1-redhat-7.jar:8.4.1-redhat-7]
> at org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:110) [teiid-engine-8.4.1-redhat-7.jar:8.4.1-redhat-7]
> at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_60]
> at org.teiid.dqp.internal.process.FutureWork.run(FutureWork.java:58) [teiid-engine-8.4.1-redhat-7.jar:8.4.1-redhat-7]
> at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:269) [teiid-engine-8.4.1-redhat-7.jar:8.4.1-redhat-7]
> at org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:119) [teiid-engine-8.4.1-redhat-7.jar:8.4.1-redhat-7]
> at org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:214) [teiid-engine-8.4.1-redhat-7.jar:8.4.1-redhat-7]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_60]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_60]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_60]
> Caused by: java.sql.SQLException: The JCR-SQL2 query "SELECT g_0."jcr:name", g_0."jcr:path", g_0."jcr:score", g_0."mode:depth", g_0."mode:localName", g_0."transform:deleteAllowed", g_0."transform:deleteSql", g_0."transform:deleteSqlDefault", g_0."transform:insertAllowed", g_0."transform:insertSql", g_0."transform:insertSqlDefault", g_0."transform:outputLocked", g_0."transform:selectSql", g_0."transform:updateAllowed", g_0."transform:updateSql", g_0."transform:updateSqlDefault" FROM "transform:withSql" AS g_0 WHERE UpperCase(g_0."transform:selectSql") LIKE '%ORDER_EPPO_PUBKEY%'" is not well-formed: Expecting a constraint, but found 'UpperCase' at line 1, column 467
> at org.modeshape.jdbc.JcrStatement.execute(JcrStatement.java:433)
> at org.modeshape.jdbc.JcrStatement.executeQuery(JcrStatement.java:479)
> at org.jboss.jca.adapters.jdbc.WrappedStatement.executeQuery(WrappedStatement.java:344)
> at org.teiid.translator.jdbc.JDBCQueryExecution.execute(JDBCQueryExecution.java:80)
> ... 12 more
> Caused by: javax.jcr.query.InvalidQueryException: The JCR-SQL2 query "SELECT g_0."jcr:name", g_0."jcr:path", g_0."jcr:score", g_0."mode:depth", g_0."mode:localName", g_0."transform:deleteAllowed", g_0."transform:deleteSql", g_0."transform:deleteSqlDefault", g_0."transform:insertAllowed", g_0."transform:insertSql", g_0."transform:insertSqlDefault", g_0."transform:outputLocked", g_0."transform:selectSql", g_0."transform:updateAllowed", g_0."transform:updateSql", g_0."transform:updateSqlDefault" FROM "transform:withSql" AS g_0 WHERE UpperCase(g_0."transform:selectSql") LIKE '%ORDER_EPPO_PUBKEY%'" is not well-formed: Expecting a constraint, but found 'UpperCase' at line 1, column 467
> at org.modeshape.jcr.JcrQueryManager.createQuery(JcrQueryManager.java:146)
> at org.modeshape.jcr.JcrQueryManager.createQuery(JcrQueryManager.java:101)
> at org.modeshape.jdbc.delegate.LocalRepositoryDelegate.execute(LocalRepositoryDelegate.java:139)
> at org.modeshape.jdbc.JcrStatement.execute(JcrStatement.java:429)
> ... 15 more
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 7 months
[JBoss JIRA] (TEIID-2999) ModeShape translator functions UpperCase/LowerCase should be UPPER/LOWER
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-2999?page=com.atlassian.jira.plugin... ]
Steven Hawkins resolved TEIID-2999.
-----------------------------------
Resolution: Done
> ModeShape translator functions UpperCase/LowerCase should be UPPER/LOWER
> ------------------------------------------------------------------------
>
> Key: TEIID-2999
> URL: https://issues.jboss.org/browse/TEIID-2999
> Project: Teiid
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Misc. Connectors
> Affects Versions: 7.7
> Reporter: Van Halbert
> Assignee: Van Halbert
> Priority: Critical
> Fix For: 8.7.1, 8.8
>
>
> Error:
> {code}
> 14:27:48,921 WARN [org.teiid.CONNECTOR] (Worker39_QueryProcessorQueue1816) Connector worker process failed for atomic-request=WpidMF9SD0dt.4.0.367: org.teiid.translator.jdbc.JDBCExecutionException: 0 TEIID11008:TEIID11004 Error executing statement(s): [SQL: SELECT g_0."jcr:name", g_0."jcr:path", g_0."jcr:score", g_0."mode:depth", g_0."mode:localName", g_0."transform:deleteAllowed", g_0."transform:deleteSql", g_0."transform:deleteSqlDefault", g_0."transform:insertAllowed", g_0."transform:insertSql", g_0."transform:insertSqlDefault", g_0."transform:outputLocked", g_0."transform:selectSql", g_0."transform:updateAllowed", g_0."transform:updateSql", g_0."transform:updateSqlDefault" FROM "transform:withSql" AS g_0 WHERE UpperCase(g_0."transform:selectSql") LIKE '%ORDER_EPPO_PUBKEY%']
> at org.teiid.translator.jdbc.JDBCQueryExecution.execute(JDBCQueryExecution.java:88)
> at org.teiid.dqp.internal.datamgr.ConnectorWorkItem.execute(ConnectorWorkItem.java:312) [teiid-engine-8.4.1-redhat-7.jar:8.4.1-redhat-7]
> at org.teiid.dqp.internal.process.DataTierTupleSource.getResults(DataTierTupleSource.java:301) [teiid-engine-8.4.1-redhat-7.jar:8.4.1-redhat-7]
> at org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:113) [teiid-engine-8.4.1-redhat-7.jar:8.4.1-redhat-7]
> at org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:110) [teiid-engine-8.4.1-redhat-7.jar:8.4.1-redhat-7]
> at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_60]
> at org.teiid.dqp.internal.process.FutureWork.run(FutureWork.java:58) [teiid-engine-8.4.1-redhat-7.jar:8.4.1-redhat-7]
> at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:269) [teiid-engine-8.4.1-redhat-7.jar:8.4.1-redhat-7]
> at org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:119) [teiid-engine-8.4.1-redhat-7.jar:8.4.1-redhat-7]
> at org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:214) [teiid-engine-8.4.1-redhat-7.jar:8.4.1-redhat-7]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_60]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_60]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_60]
> Caused by: java.sql.SQLException: The JCR-SQL2 query "SELECT g_0."jcr:name", g_0."jcr:path", g_0."jcr:score", g_0."mode:depth", g_0."mode:localName", g_0."transform:deleteAllowed", g_0."transform:deleteSql", g_0."transform:deleteSqlDefault", g_0."transform:insertAllowed", g_0."transform:insertSql", g_0."transform:insertSqlDefault", g_0."transform:outputLocked", g_0."transform:selectSql", g_0."transform:updateAllowed", g_0."transform:updateSql", g_0."transform:updateSqlDefault" FROM "transform:withSql" AS g_0 WHERE UpperCase(g_0."transform:selectSql") LIKE '%ORDER_EPPO_PUBKEY%'" is not well-formed: Expecting a constraint, but found 'UpperCase' at line 1, column 467
> at org.modeshape.jdbc.JcrStatement.execute(JcrStatement.java:433)
> at org.modeshape.jdbc.JcrStatement.executeQuery(JcrStatement.java:479)
> at org.jboss.jca.adapters.jdbc.WrappedStatement.executeQuery(WrappedStatement.java:344)
> at org.teiid.translator.jdbc.JDBCQueryExecution.execute(JDBCQueryExecution.java:80)
> ... 12 more
> Caused by: javax.jcr.query.InvalidQueryException: The JCR-SQL2 query "SELECT g_0."jcr:name", g_0."jcr:path", g_0."jcr:score", g_0."mode:depth", g_0."mode:localName", g_0."transform:deleteAllowed", g_0."transform:deleteSql", g_0."transform:deleteSqlDefault", g_0."transform:insertAllowed", g_0."transform:insertSql", g_0."transform:insertSqlDefault", g_0."transform:outputLocked", g_0."transform:selectSql", g_0."transform:updateAllowed", g_0."transform:updateSql", g_0."transform:updateSqlDefault" FROM "transform:withSql" AS g_0 WHERE UpperCase(g_0."transform:selectSql") LIKE '%ORDER_EPPO_PUBKEY%'" is not well-formed: Expecting a constraint, but found 'UpperCase' at line 1, column 467
> at org.modeshape.jcr.JcrQueryManager.createQuery(JcrQueryManager.java:146)
> at org.modeshape.jcr.JcrQueryManager.createQuery(JcrQueryManager.java:101)
> at org.modeshape.jdbc.delegate.LocalRepositoryDelegate.execute(LocalRepositoryDelegate.java:139)
> at org.modeshape.jdbc.JcrStatement.execute(JcrStatement.java:429)
> ... 15 more
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 7 months
[JBoss JIRA] (TEIID-2999) ModeShape translator functions UpperCase/LowerCase should be UPPER/LOWER
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIID-2999?page=com.atlassian.jira.plugin... ]
Van Halbert updated TEIID-2999:
-------------------------------
Git Pull Request: https://github.com/teiid/teiid/pull/258
> ModeShape translator functions UpperCase/LowerCase should be UPPER/LOWER
> ------------------------------------------------------------------------
>
> Key: TEIID-2999
> URL: https://issues.jboss.org/browse/TEIID-2999
> Project: Teiid
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Misc. Connectors
> Affects Versions: 8.7.1, 8.8
> Reporter: Van Halbert
> Assignee: Van Halbert
> Priority: Critical
>
> Error:
> {code}
> 14:27:48,921 WARN [org.teiid.CONNECTOR] (Worker39_QueryProcessorQueue1816) Connector worker process failed for atomic-request=WpidMF9SD0dt.4.0.367: org.teiid.translator.jdbc.JDBCExecutionException: 0 TEIID11008:TEIID11004 Error executing statement(s): [SQL: SELECT g_0."jcr:name", g_0."jcr:path", g_0."jcr:score", g_0."mode:depth", g_0."mode:localName", g_0."transform:deleteAllowed", g_0."transform:deleteSql", g_0."transform:deleteSqlDefault", g_0."transform:insertAllowed", g_0."transform:insertSql", g_0."transform:insertSqlDefault", g_0."transform:outputLocked", g_0."transform:selectSql", g_0."transform:updateAllowed", g_0."transform:updateSql", g_0."transform:updateSqlDefault" FROM "transform:withSql" AS g_0 WHERE UpperCase(g_0."transform:selectSql") LIKE '%ORDER_EPPO_PUBKEY%']
> at org.teiid.translator.jdbc.JDBCQueryExecution.execute(JDBCQueryExecution.java:88)
> at org.teiid.dqp.internal.datamgr.ConnectorWorkItem.execute(ConnectorWorkItem.java:312) [teiid-engine-8.4.1-redhat-7.jar:8.4.1-redhat-7]
> at org.teiid.dqp.internal.process.DataTierTupleSource.getResults(DataTierTupleSource.java:301) [teiid-engine-8.4.1-redhat-7.jar:8.4.1-redhat-7]
> at org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:113) [teiid-engine-8.4.1-redhat-7.jar:8.4.1-redhat-7]
> at org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:110) [teiid-engine-8.4.1-redhat-7.jar:8.4.1-redhat-7]
> at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_60]
> at org.teiid.dqp.internal.process.FutureWork.run(FutureWork.java:58) [teiid-engine-8.4.1-redhat-7.jar:8.4.1-redhat-7]
> at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:269) [teiid-engine-8.4.1-redhat-7.jar:8.4.1-redhat-7]
> at org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:119) [teiid-engine-8.4.1-redhat-7.jar:8.4.1-redhat-7]
> at org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:214) [teiid-engine-8.4.1-redhat-7.jar:8.4.1-redhat-7]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_60]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_60]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_60]
> Caused by: java.sql.SQLException: The JCR-SQL2 query "SELECT g_0."jcr:name", g_0."jcr:path", g_0."jcr:score", g_0."mode:depth", g_0."mode:localName", g_0."transform:deleteAllowed", g_0."transform:deleteSql", g_0."transform:deleteSqlDefault", g_0."transform:insertAllowed", g_0."transform:insertSql", g_0."transform:insertSqlDefault", g_0."transform:outputLocked", g_0."transform:selectSql", g_0."transform:updateAllowed", g_0."transform:updateSql", g_0."transform:updateSqlDefault" FROM "transform:withSql" AS g_0 WHERE UpperCase(g_0."transform:selectSql") LIKE '%ORDER_EPPO_PUBKEY%'" is not well-formed: Expecting a constraint, but found 'UpperCase' at line 1, column 467
> at org.modeshape.jdbc.JcrStatement.execute(JcrStatement.java:433)
> at org.modeshape.jdbc.JcrStatement.executeQuery(JcrStatement.java:479)
> at org.jboss.jca.adapters.jdbc.WrappedStatement.executeQuery(WrappedStatement.java:344)
> at org.teiid.translator.jdbc.JDBCQueryExecution.execute(JDBCQueryExecution.java:80)
> ... 12 more
> Caused by: javax.jcr.query.InvalidQueryException: The JCR-SQL2 query "SELECT g_0."jcr:name", g_0."jcr:path", g_0."jcr:score", g_0."mode:depth", g_0."mode:localName", g_0."transform:deleteAllowed", g_0."transform:deleteSql", g_0."transform:deleteSqlDefault", g_0."transform:insertAllowed", g_0."transform:insertSql", g_0."transform:insertSqlDefault", g_0."transform:outputLocked", g_0."transform:selectSql", g_0."transform:updateAllowed", g_0."transform:updateSql", g_0."transform:updateSqlDefault" FROM "transform:withSql" AS g_0 WHERE UpperCase(g_0."transform:selectSql") LIKE '%ORDER_EPPO_PUBKEY%'" is not well-formed: Expecting a constraint, but found 'UpperCase' at line 1, column 467
> at org.modeshape.jcr.JcrQueryManager.createQuery(JcrQueryManager.java:146)
> at org.modeshape.jcr.JcrQueryManager.createQuery(JcrQueryManager.java:101)
> at org.modeshape.jdbc.delegate.LocalRepositoryDelegate.execute(LocalRepositoryDelegate.java:139)
> at org.modeshape.jdbc.JcrStatement.execute(JcrStatement.java:429)
> ... 15 more
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 7 months
[JBoss JIRA] (TEIID-2999) ModeShape translator functions UpperCase/LowerCase should be UPPER/LOWER
by Van Halbert (JIRA)
Van Halbert created TEIID-2999:
----------------------------------
Summary: ModeShape translator functions UpperCase/LowerCase should be UPPER/LOWER
Key: TEIID-2999
URL: https://issues.jboss.org/browse/TEIID-2999
Project: Teiid
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Misc. Connectors
Affects Versions: 8.7.1, 8.8
Reporter: Van Halbert
Assignee: Van Halbert
Priority: Critical
Error:
{code}
14:27:48,921 WARN [org.teiid.CONNECTOR] (Worker39_QueryProcessorQueue1816) Connector worker process failed for atomic-request=WpidMF9SD0dt.4.0.367: org.teiid.translator.jdbc.JDBCExecutionException: 0 TEIID11008:TEIID11004 Error executing statement(s): [SQL: SELECT g_0."jcr:name", g_0."jcr:path", g_0."jcr:score", g_0."mode:depth", g_0."mode:localName", g_0."transform:deleteAllowed", g_0."transform:deleteSql", g_0."transform:deleteSqlDefault", g_0."transform:insertAllowed", g_0."transform:insertSql", g_0."transform:insertSqlDefault", g_0."transform:outputLocked", g_0."transform:selectSql", g_0."transform:updateAllowed", g_0."transform:updateSql", g_0."transform:updateSqlDefault" FROM "transform:withSql" AS g_0 WHERE UpperCase(g_0."transform:selectSql") LIKE '%ORDER_EPPO_PUBKEY%']
at org.teiid.translator.jdbc.JDBCQueryExecution.execute(JDBCQueryExecution.java:88)
at org.teiid.dqp.internal.datamgr.ConnectorWorkItem.execute(ConnectorWorkItem.java:312) [teiid-engine-8.4.1-redhat-7.jar:8.4.1-redhat-7]
at org.teiid.dqp.internal.process.DataTierTupleSource.getResults(DataTierTupleSource.java:301) [teiid-engine-8.4.1-redhat-7.jar:8.4.1-redhat-7]
at org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:113) [teiid-engine-8.4.1-redhat-7.jar:8.4.1-redhat-7]
at org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:110) [teiid-engine-8.4.1-redhat-7.jar:8.4.1-redhat-7]
at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_60]
at org.teiid.dqp.internal.process.FutureWork.run(FutureWork.java:58) [teiid-engine-8.4.1-redhat-7.jar:8.4.1-redhat-7]
at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:269) [teiid-engine-8.4.1-redhat-7.jar:8.4.1-redhat-7]
at org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:119) [teiid-engine-8.4.1-redhat-7.jar:8.4.1-redhat-7]
at org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:214) [teiid-engine-8.4.1-redhat-7.jar:8.4.1-redhat-7]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_60]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_60]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_60]
Caused by: java.sql.SQLException: The JCR-SQL2 query "SELECT g_0."jcr:name", g_0."jcr:path", g_0."jcr:score", g_0."mode:depth", g_0."mode:localName", g_0."transform:deleteAllowed", g_0."transform:deleteSql", g_0."transform:deleteSqlDefault", g_0."transform:insertAllowed", g_0."transform:insertSql", g_0."transform:insertSqlDefault", g_0."transform:outputLocked", g_0."transform:selectSql", g_0."transform:updateAllowed", g_0."transform:updateSql", g_0."transform:updateSqlDefault" FROM "transform:withSql" AS g_0 WHERE UpperCase(g_0."transform:selectSql") LIKE '%ORDER_EPPO_PUBKEY%'" is not well-formed: Expecting a constraint, but found 'UpperCase' at line 1, column 467
at org.modeshape.jdbc.JcrStatement.execute(JcrStatement.java:433)
at org.modeshape.jdbc.JcrStatement.executeQuery(JcrStatement.java:479)
at org.jboss.jca.adapters.jdbc.WrappedStatement.executeQuery(WrappedStatement.java:344)
at org.teiid.translator.jdbc.JDBCQueryExecution.execute(JDBCQueryExecution.java:80)
... 12 more
Caused by: javax.jcr.query.InvalidQueryException: The JCR-SQL2 query "SELECT g_0."jcr:name", g_0."jcr:path", g_0."jcr:score", g_0."mode:depth", g_0."mode:localName", g_0."transform:deleteAllowed", g_0."transform:deleteSql", g_0."transform:deleteSqlDefault", g_0."transform:insertAllowed", g_0."transform:insertSql", g_0."transform:insertSqlDefault", g_0."transform:outputLocked", g_0."transform:selectSql", g_0."transform:updateAllowed", g_0."transform:updateSql", g_0."transform:updateSqlDefault" FROM "transform:withSql" AS g_0 WHERE UpperCase(g_0."transform:selectSql") LIKE '%ORDER_EPPO_PUBKEY%'" is not well-formed: Expecting a constraint, but found 'UpperCase' at line 1, column 467
at org.modeshape.jcr.JcrQueryManager.createQuery(JcrQueryManager.java:146)
at org.modeshape.jcr.JcrQueryManager.createQuery(JcrQueryManager.java:101)
at org.modeshape.jdbc.delegate.LocalRepositoryDelegate.execute(LocalRepositoryDelegate.java:139)
at org.modeshape.jdbc.JcrStatement.execute(JcrStatement.java:429)
... 15 more
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 7 months
[JBoss JIRA] (TEIID-2998) problems with DDL returned for dynamic vdb with google spreadsheet source
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-2998?page=com.atlassian.jira.plugin... ]
Steven Hawkins commented on TEIID-2998:
---------------------------------------
More than likely this is a change in the Google api version due to chrome. So the metadata logic will need to account for this if possible.
> problems with DDL returned for dynamic vdb with google spreadsheet source
> -------------------------------------------------------------------------
>
> Key: TEIID-2998
> URL: https://issues.jboss.org/browse/TEIID-2998
> Project: Teiid
> Issue Type: Bug
> Components: AdminApi
> Affects Versions: 8.7
> Reporter: Mark Drilling
> Assignee: Steven Hawkins
> Attachments: ChromeSheet.png, FirefoxSheet.png, GoogleSpreadsheetJIRA.txt
>
>
> I am seeing inconsistent DDL returned for dynamic VDB with a google spreadsheet source. In the same google account, I created two spreadsheets. One was created in firefox browser, one was created in chrome browser (don't know why that matters)
> See the attached document showing a comparison of the dynamic VDBs and the DDL that I got back. The only difference is that the source was pointing to a different spreadsheet.
> Notice that the DDL for the "ChromeSheet" returns the concatenated datavalues for the column name. But it includes a NIS OPTION for the column name.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 7 months