[JBoss JIRA] (TEIID-1773) Ingres as source - Query with LOCATE causing stackoverflow error
by Van Halbert (Moved) (JIRA)
[ https://issues.jboss.org/browse/TEIID-1773?page=com.atlassian.jira.plugin... ]
Van Halbert moved SOA-3455 to TEIID-1773:
-----------------------------------------
Project: Teiid (was: JBoss Enterprise SOA Platform)
Key: TEIID-1773 (was: SOA-3455)
Affects Version/s: 7.4.1
(was: 5.2.0.ER4)
Component/s: Misc. Connectors
(was: EDS)
Security: (was: Public)
> Ingres as source - Query with LOCATE causing stackoverflow error
> ----------------------------------------------------------------
>
> Key: TEIID-1773
> URL: https://issues.jboss.org/browse/TEIID-1773
> Project: Teiid
> Issue Type: Bug
> Components: Misc. Connectors
> Affects Versions: 7.4.1
> Reporter: Warren Gibson
> Assignee: Van Halbert
>
> EDS Query Testing is getting unexpected results on 16 queries involving LOCATE. A couple examples queries are given below:
> SELECT INTKEY, LOCATE(1, STRINGNUM) FROM BQT1.SmallA ORDER BY intkey (Expected 50 records but received only 0)
> Remote org.teiid.core.TeiidProcessingException: Source: null
> see stackoverflow.log attached
> SELECT INTKEY FROM BQT1.SmallA WHERE LOCATE(1, INTKEY) = 1 ORDER BY INTKEY
> Remote org.teiid.core.TeiidProcessingException: Source: null
> Is also a stackoverflow error.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months
[JBoss JIRA] Resolved: (TEIID-1766) EDS ODBC query on a namespace ending in 'e' fails
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-1766?page=com.atlassian.jira.plugin... ]
Steven Hawkins resolved TEIID-1766.
-----------------------------------
Resolution: Out of Date
This was resolved in Teiid 7.4 by adding direct parsing support for pg escaped literals. In 7.1 the issue is caused in ODBCServerRemoteImpl by line 354:
modified = modified.replaceAll("E'", "'"); //$NON-NLS-1$ //$NON-NLS-2$
Which is far too generic. ODBCServerRemoteImpl version 3045 contained a fix and related fixes. The specific change would be:
modified = modified.replaceAll("E('[^']*')+", "$1"); //$NON-NLS-1$ //$NON-NLS-2$
> EDS ODBC query on a namespace ending in 'e' fails
> -------------------------------------------------
>
> Key: TEIID-1766
> URL: https://issues.jboss.org/browse/TEIID-1766
> Project: Teiid
> Issue Type: Bug
> Components: ODBC
> Affects Versions: 7.1.1
> Reporter: Debbie Steigner
> Assignee: Steven Hawkins
> Attachments: Testing.vdb
>
>
> The attached testing vdb contains the following namespaces:
> LOOKHERE TestPG LOOKAGAIN
> If you run the following query via ODBC (JDBC works ):
> select nspname from pg_catalog.pg_namespace where nspname = 'LOOKHERE'
> It returns zero rows, but if you run the same query with 'LOOKAGAIN' in your criteria you get the one row, It seems that any namespace ending in an E doesn't match via ODBC.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months
[JBoss JIRA] Resolved: (TEIID-1763) EDS inner join returns no data, left join does
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-1763?page=com.atlassian.jira.plugin... ]
Steven Hawkins resolved TEIID-1763.
-----------------------------------
Resolution: Out of Date
Already resolved. This placeholder JIRA is not needed by GSS.
> EDS inner join returns no data, left join does
> -----------------------------------------------
>
> Key: TEIID-1763
> URL: https://issues.jboss.org/browse/TEIID-1763
> Project: Teiid
> Issue Type: Bug
> Components: Query Engine
> Affects Versions: 7.1.1
> Reporter: Debbie Steigner
> Assignee: Steven Hawkins
> Priority: Blocker
> Fix For: 7.1.1
>
>
> We've encountered a rather concerning case of the wrong data (no data) being returned on a federated query. We're pretty sure it should return data, and when we change an inner join to a left join it does return the data we expect (complete data, with a value for the column being left joined rather than a null).
> This issue has been tested on 5.2 ER3 and is fixed, but the customer needs a CP for the 5.1 release.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months
[JBoss JIRA] Created: (TEIID-1767) Hibernate Month Date Extraction
by Johnathon Lee (JIRA)
Hibernate Month Date Extraction
-------------------------------
Key: TEIID-1767
URL: https://issues.jboss.org/browse/TEIID-1767
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 7.1.1
Reporter: Johnathon Lee
Assignee: Steven Hawkins
Fix For: 7.4.1, 7.6
When using teiid-hibernate-dialect-7.1.1.GA, the TeiidDialect does not include a function to get the month value of a date object. It includes functions to get other date attributes (year, dayofmonth etc). Without a defined function, attempting to get a month value falls back on the hibernate-core function which attempts to utilize an extract method which is not supported in 7.1.1.
Example Query: select d from Data d where month(d.date)='09'
HQL Generated:
select
data0_.Id as Id25_,
data0_.DataAmt as DataAmt25_,
data0_.Data as Data25_,
from
Data data0_
where
extract(month
from
data0_.date)='09'
Being able to obtain a month value from a date is a critical requirement.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months