[teiid-issues] [JBoss JIRA] (TEIID-3039) Add support for odata expand

Ramesh Reddy (JIRA) issues at jboss.org
Wed May 6 15:29:46 EDT 2015


    [ https://issues.jboss.org/browse/TEIID-3039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13066002#comment-13066002 ] 

Ramesh Reddy edited comment on TEIID-3039 at 5/6/15 3:29 PM:
-------------------------------------------------------------

{code}
http://host/service/Customers?$expand=Orders($filter=$it/Address/City eq ShipTo/City)
{code}

becomes

{code}
customers left outer join orders on (customers.pkey = orders.fkey 
and (select city from address where address.fkey = customers.pkey) = (select city from shipTo where shipTo.pkey = address.fkey))
{code}


was (Author: rareddy):
{code}
http://host/service/Customers?$expand=Orders($filter=$it/Address/City eq ShipTo/City)
{code}

becomes

{code}
customers left outer join orders on (customers.pkey = orders.fkey and (select city from address where address.fkey = customers.pkey) = (select city from shipTo where shipTo.pkey = address.fkey))
{code}

> Add support for odata expand
> ----------------------------
>
>                 Key: TEIID-3039
>                 URL: https://issues.jboss.org/browse/TEIID-3039
>             Project: Teiid
>          Issue Type: Enhancement
>          Components: OData
>            Reporter: Steven Hawkins
>             Fix For: 8.12
>
>
> We should add support for odata expand.  This can be done with logic similar to the xml document model.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the teiid-issues mailing list