[JBoss JIRA] (TEIID-2850) Add options to support sql server variant type
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-2850?page=com.atlassian.jira.plugin... ]
Steven Hawkins closed TEIID-2850.
---------------------------------
> Add options to support sql server variant type
> ----------------------------------------------
>
> Key: TEIID-2850
> URL: https://issues.jboss.org/browse/TEIID-2850
> Project: Teiid
> Issue Type: Feature Request
> Components: Misc. Connectors, Query Engine
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Fix For: 8.10
>
>
> Due to a SQL Server driver issue, a variant column cannot be directly retrieved (it needs to be confirmed if this works with JTDS). A valid workaround is a native-query extension with an appropriate cast.
> Beyond that we could:
> - add an option for the translator to automatically convert to a string value
> - allow for converts from object to be pushed down.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 2 months
[JBoss JIRA] (TEIID-2821) Getting invalid Query against Postgres DB
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-2821?page=com.atlassian.jira.plugin... ]
Steven Hawkins closed TEIID-2821.
---------------------------------
> Getting invalid Query against Postgres DB
> -----------------------------------------
>
> Key: TEIID-2821
> URL: https://issues.jboss.org/browse/TEIID-2821
> Project: Teiid
> Issue Type: Enhancement
> Components: Query Engine
> Affects Versions: 7.7
> Reporter: Van Halbert
> Assignee: Steven Hawkins
> Priority: Minor
> Fix For: 8.10
>
>
> Issuing the following query when postgres datasource is the target:
> SELECT SUM(TBALANCE) FROM TELLERS JOIN BRANCHES ON BRANCHES.BID=TELLERS.BID GROUP BY TELLERS.BID ORDER BY TELLERS.BID
> (which works when run directly against postgres)
> And getting the following exception from Teiid:
> Caused by: org.teiid.core.TeiidProcessingException: TEIID30088 Remote org.teiid.api.exception.query.QueryResolverException: TEIID30088 Unrelated order by column TELLERS.BID cannot be used in a SET query, with SELECT DISTINCT, or GROUP BY
> at org.teiid.query.resolver.util.ResolverUtil.resolveOrderBy(ResolverUtil.java:422)
> at org.teiid.query.resolver.command.SimpleQueryResolver.resolveCommand(SimpleQueryResolver.java:94)
> at org.teiid.query.resolver.QueryResolver.resolveCommand(QueryResolver.java:270)
> at org.teiid.query.resolver.QueryResolver.resolveCommand(QueryResolver.java:124)
> at org.teiid.dqp.internal.process.Request.resolveCommand(Request.java:260)
> at org.teiid.dqp.internal.process.Request.generatePlan(Request.java:370)
> at org.teiid.dqp.internal.process.Request.processRequest(Request.java:436)
> at org.teiid.dqp.internal.process.RequestWorkItem.processNew(RequestWorkItem.java:600)
> at org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:309)
> at org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:51)
> at org.teiid.dqp.internal.process.RequestWorkItem.run(RequestWorkItem.java:248)
> at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:269)
> at org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:119)
> at org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:214)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:722)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 2 months
[JBoss JIRA] (TEIID-2976) Using new database logging extension, getting error that indicates column isn't long enough
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-2976?page=com.atlassian.jira.plugin... ]
Steven Hawkins closed TEIID-2976.
---------------------------------
> Using new database logging extension, getting error that indicates column isn't long enough
> -------------------------------------------------------------------------------------------
>
> Key: TEIID-2976
> URL: https://issues.jboss.org/browse/TEIID-2976
> Project: Teiid
> Issue Type: Bug
> Components: Server
> Reporter: Van Halbert
> Assignee: Ramesh Reddy
> Priority: Critical
> Fix For: 8.7.1
>
>
> Getting the following sporadically:
> 11:57:57,538 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (pool-2-thread-1) Value too long for column "TRANSACTIONID VARCHAR(50)": "'TransactionImple < ac, BasicAction: 0:ffffc0a80102:307704ce:5388aa39:169 status: ActionStatus.RUNNING >' (103)"; SQL statement:
> insert into commandlog (id, applicationname, executionid, modelname, plan, principal, requestid, rowcount, sessionid, sourcecommand, sourcerequestid, sqlcmd, eventtype, logtime, transactionid, translatorname, vdbname, vdbversion) values (null, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [22001-168]
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 2 months