[JBoss JIRA] (TEIID-3793) Push Teiid function LOCATE() to SQL Server
by Jean-Pierre Matsumoto (JIRA)
Jean-Pierre Matsumoto created TEIID-3793:
--------------------------------------------
Summary: Push Teiid function LOCATE() to SQL Server
Key: TEIID-3793
URL: https://issues.jboss.org/browse/TEIID-3793
Project: Teiid
Issue Type: Enhancement
Components: JDBC Connector
Affects Versions: 8.7.1.6_2
Environment: JBOSS DV 6.2
Microsoft SQL Server 10.50.1600.1
Reporter: Jean-Pierre Matsumoto
Assignee: Steven Hawkins
We have some Teiid views with query similar to:
SELECT col1
FROM tableA
WHERE SUBSTRING(col1, 1, LOCATE(' ', col1)) = 'PREFIX'
SQL Server receives a full scan of col1 table without WHERE:
SELECT col1
FROM tableA
Because Teiid LOCATE() function is not translated to CHARINDEX() SQL Server function (SUBSTRING is translated).
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 2 months
[JBoss JIRA] (TEIID-3792) Add support for searching in array types
by Steven Hawkins (JIRA)
Steven Hawkins created TEIID-3792:
-------------------------------------
Summary: Add support for searching in array types
Key: TEIID-3792
URL: https://issues.jboss.org/browse/TEIID-3792
Project: Teiid
Issue Type: Feature Request
Components: Query Engine
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 8.12.x
We should support a simple syntax for searching within an array, such as the quantified comparison and/or a function to get the index of a value in an array.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 2 months
[JBoss JIRA] (TEIID-2754) DatabaseMetaData reports views as tables
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-2754?page=com.atlassian.jira.plugin... ]
Steven Hawkins resolved TEIID-2754.
-----------------------------------
Resolution: Done
Updated the release notes and confluence for the change in the 9.0 default behavior.
> DatabaseMetaData reports views as tables
> ----------------------------------------
>
> Key: TEIID-2754
> URL: https://issues.jboss.org/browse/TEIID-2754
> Project: Teiid
> Issue Type: Bug
> Components: JDBC Driver, Query Engine
> Affects Versions: 8.4
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Fix For: 9.0, 8.6
>
>
> The client already has a check for isVirtual & system table type to report a "system view".
> We have a "View" type in our metadata, but we generally do not use it in our metadata code.
> So we either could set the view type on the server (although this seems like a broad change) or add another DatabaseMetaData check for isVirtual & table.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 2 months