[teiid-issues] [JBoss JIRA] (TEIID-4633) Odata $expand over Oracle tables generates bad query
RH Bugzilla Integration (JIRA)
issues at jboss.org
Wed Nov 1 07:27:00 EDT 2017
[ https://issues.jboss.org/browse/TEIID-4633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13484450#comment-13484450 ]
RH Bugzilla Integration commented on TEIID-4633:
------------------------------------------------
Van Halbert <vhalbert at redhat.com> changed the Status of [bug 1506573|https://bugzilla.redhat.com/show_bug.cgi?id=1506573] from NEW to ON_QA
> Odata $expand over Oracle tables generates bad query
> ----------------------------------------------------
>
> Key: TEIID-4633
> URL: https://issues.jboss.org/browse/TEIID-4633
> Project: Teiid
> Issue Type: Bug
> Components: JDBC Connector, OData
> Affects Versions: 9.1.1
> Reporter: Sergio Samayoa
> Assignee: Steven Hawkins
> Priority: Critical
> Fix For: 9.2, 9.1.3, 8.12.x-6.4
>
>
> Query generated to obtain referenced records ($expand many to one) is generated with parentheses,
> Generated query for Oracle*:
> SELECT g_0."CATEGORY_ID", (g_0."CATEGORY_ID", g_0."NAME", g_0."LAST_UPDATE") FROM "SAKILA"."CATEGORY" g_0
> Generated query for MySQL is:
> SELECT g_0.category_id, g_0.name, g_0.last_update FROM Sakila.category AS g_0
> * Note the parentheses enclosing all columns but PK, this raises "ORA-00907: missing right parenthesis".
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the teiid-issues
mailing list